idx int64 | project string | commit_id string | project_url string | commit_url string | commit_message string | target int64 | func string | func_hash float64 | file_name string | file_hash float64 | cwe list | cve string | cve_desc string | nvd_url string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
516,108 | squidclamav | 80f74451f628264d1d9a1f1c0bbcebc932ba5e00 | https://github.com/darold/squidclamav | https://github.com/darold/squidclamav/commit/80f74451f628264d1d9a1f1c0bbcebc932ba5e00 | Add a workaround for a squidGuard bug that unescape the URL and send it back unescaped. This could conduct in wrong result and ssquidclamav crash especially with URL containing the %0D or %0A character. John Xue | 0 | free_global ()
{
xfree(clamd_local);
xfree(clamd_ip);
xfree(clamd_port);
xfree(clamd_curr_ip);
xfree(redirect_url);
if (patterns != NULL) {
while (pattc > 0) {
pattc--;
regfree(&patterns[pattc].regexv);
xfree(patterns[pattc].pattern);
}
free(patterns);
patterns = NULL;
... | 30,255,975,321,176,902,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2012-3501 | The squidclamav_check_preview_handler function in squidclamav.c in SquidClamav 5.x before 5.8 and 6.x before 6.7 passes an unescaped URL to a system command call, which allows remote attackers to cause a denial of service (daemon crash) via a URL with certain characters, as demonstrated using %0D or %0A. | https://nvd.nist.gov/vuln/detail/CVE-2012-3501 |
516,109 | squidclamav | 80f74451f628264d1d9a1f1c0bbcebc932ba5e00 | https://github.com/darold/squidclamav | https://github.com/darold/squidclamav/commit/80f74451f628264d1d9a1f1c0bbcebc932ba5e00 | Add a workaround for a squidGuard bug that unescape the URL and send it back unescaped. This could conduct in wrong result and ssquidclamav crash especially with URL containing the %0D or %0A character. John Xue | 0 | replace(const char *s, const char *old, const char *new)
{
char *ret;
int i, count = 0;
size_t newlen = strlen(new);
size_t oldlen = strlen(old);
for (i = 0; s[i] != '\0'; i++) {
if (strstr(&s[i], old) == &s[i]) {
count++;
i += oldlen - 1;
}
}
ret = malloc(i + 1 + count * (newlen - oldlen));
if (ret ... | 97,657,621,052,806,130,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2012-3501 | The squidclamav_check_preview_handler function in squidclamav.c in SquidClamav 5.x before 5.8 and 6.x before 6.7 passes an unescaped URL to a system command call, which allows remote attackers to cause a denial of service (daemon crash) via a URL with certain characters, as demonstrated using %0D or %0A. | https://nvd.nist.gov/vuln/detail/CVE-2012-3501 |
516,110 | squidclamav | 80f74451f628264d1d9a1f1c0bbcebc932ba5e00 | https://github.com/darold/squidclamav | https://github.com/darold/squidclamav/commit/80f74451f628264d1d9a1f1c0bbcebc932ba5e00 | Add a workaround for a squidGuard bug that unescape the URL and send it back unescaped. This could conduct in wrong result and ssquidclamav crash especially with URL containing the %0D or %0A character. John Xue | 0 | client_pattern_compare(char *ip, char *name)
{
int i = 0;
/* pass througth all regex pattern */
for (i = 0; i < pattc; i++) {
if (patterns[i].type == TRUSTCLIENT) {
/* Look at client ip pattern matching */
/* return 1 if string matches ip TRUSTCLIENT pattern */
if (regexec(&patterns[i].regexv, ip, 0, 0... | 160,709,008,978,312,430,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2012-3501 | The squidclamav_check_preview_handler function in squidclamav.c in SquidClamav 5.x before 5.8 and 6.x before 6.7 passes an unescaped URL to a system command call, which allows remote attackers to cause a denial of service (daemon crash) via a URL with certain characters, as demonstrated using %0D or %0A. | https://nvd.nist.gov/vuln/detail/CVE-2012-3501 |
516,111 | squidclamav | 80f74451f628264d1d9a1f1c0bbcebc932ba5e00 | https://github.com/darold/squidclamav | https://github.com/darold/squidclamav/commit/80f74451f628264d1d9a1f1c0bbcebc932ba5e00 | Add a workaround for a squidGuard bug that unescape the URL and send it back unescaped. This could conduct in wrong result and ssquidclamav crash especially with URL containing the %0D or %0A character. John Xue | 0 | int squidclamav_end_of_data_handler(ci_request_t * req)
{
av_req_data_t *data = ci_service_data(req);
ci_simple_file_t *body;
char cbuff[MAX_URL_SIZE];
char clbuf[SMALL_BUFF];
ssize_t ret;
int nbread = 0;
int loopw = 60;
uint16_t port;
struct sockaddr_in server;
struct... | 233,523,170,324,280,800,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2012-3501 | The squidclamav_check_preview_handler function in squidclamav.c in SquidClamav 5.x before 5.8 and 6.x before 6.7 passes an unescaped URL to a system command call, which allows remote attackers to cause a denial of service (daemon crash) via a URL with certain characters, as demonstrated using %0D or %0A. | https://nvd.nist.gov/vuln/detail/CVE-2012-3501 |
516,112 | squidclamav | 80f74451f628264d1d9a1f1c0bbcebc932ba5e00 | https://github.com/darold/squidclamav | https://github.com/darold/squidclamav/commit/80f74451f628264d1d9a1f1c0bbcebc932ba5e00 | Add a workaround for a squidGuard bug that unescape the URL and send it back unescaped. This could conduct in wrong result and ssquidclamav crash especially with URL containing the %0D or %0A character. John Xue | 0 | char *http_content_type(ci_request_t * req)
{
ci_headers_list_t *heads;
char *val;
if (!(heads = ci_http_response_headers(req))) {
/* Then maybe is a reqmod request, try to get request headers */
if (!(heads = ci_http_request_headers(req)))
return NULL;
}
if ... | 158,189,005,473,505,860,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2012-3501 | The squidclamav_check_preview_handler function in squidclamav.c in SquidClamav 5.x before 5.8 and 6.x before 6.7 passes an unescaped URL to a system command call, which allows remote attackers to cause a denial of service (daemon crash) via a URL with certain characters, as demonstrated using %0D or %0A. | https://nvd.nist.gov/vuln/detail/CVE-2012-3501 |
516,113 | squidclamav | 80f74451f628264d1d9a1f1c0bbcebc932ba5e00 | https://github.com/darold/squidclamav | https://github.com/darold/squidclamav/commit/80f74451f628264d1d9a1f1c0bbcebc932ba5e00 | Add a workaround for a squidGuard bug that unescape the URL and send it back unescaped. This could conduct in wrong result and ssquidclamav crash especially with URL containing the %0D or %0A character. John Xue | 0 | split( char* str, const char* delim)
{
int size = 0;
char** splitted = NULL;
char *tmp = NULL;
tmp = strtok(str, delim);
while (tmp != NULL) {
splitted = (char**) realloc(splitted, sizeof(char**) * (size+1));
if (splitted != NULL) {
... | 130,290,574,834,769,100,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2012-3501 | The squidclamav_check_preview_handler function in squidclamav.c in SquidClamav 5.x before 5.8 and 6.x before 6.7 passes an unescaped URL to a system command call, which allows remote attackers to cause a denial of service (daemon crash) via a URL with certain characters, as demonstrated using %0D or %0A. | https://nvd.nist.gov/vuln/detail/CVE-2012-3501 |
516,114 | squidclamav | 80f74451f628264d1d9a1f1c0bbcebc932ba5e00 | https://github.com/darold/squidclamav | https://github.com/darold/squidclamav/commit/80f74451f628264d1d9a1f1c0bbcebc932ba5e00 | Add a workaround for a squidGuard bug that unescape the URL and send it back unescaped. This could conduct in wrong result and ssquidclamav crash especially with URL containing the %0D or %0A character. John Xue | 0 | void squidclamav_close_service()
{
ci_debug_printf(1, "DEBUG squidclamav_close_service: clean all memory!\n");
free_global();
free_pipe();
ci_object_pool_unregister(AVREQDATA_POOL);
} | 148,113,778,938,796,350,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2012-3501 | The squidclamav_check_preview_handler function in squidclamav.c in SquidClamav 5.x before 5.8 and 6.x before 6.7 passes an unescaped URL to a system command call, which allows remote attackers to cause a denial of service (daemon crash) via a URL with certain characters, as demonstrated using %0D or %0A. | https://nvd.nist.gov/vuln/detail/CVE-2012-3501 |
516,478 | k4dirstat | 1ad2e96d73fa06cd9be0f3749b337c03575016aa | https://bitbucket.org/jeromerobert/k4dirstat | https://bitbucket.org/jeromerobert/k4dirstat/commits/1ad2e96d73fa06cd9be0f3749b337c03575016aa | Properly escape %p and %n in cleaning actions | 0 | KCleanup::operator= ( const KCleanup &src )
{
copy( src );
return *this;
} | 49,900,595,060,248,340,000,000,000,000,000,000,000 | None | null | [] | CVE-2014-2527 | kcleanup.cpp in KDirStat 2.7.0 does not properly quote strings when deleting a directory, which allows remote attackers to execute arbitrary commands via a " (double quote) character in the directory name, a different vulnerability than CVE-2014-2528. | https://nvd.nist.gov/vuln/detail/CVE-2014-2527 |
516,479 | k4dirstat | 1ad2e96d73fa06cd9be0f3749b337c03575016aa | https://bitbucket.org/jeromerobert/k4dirstat | https://bitbucket.org/jeromerobert/k4dirstat/commits/1ad2e96d73fa06cd9be0f3749b337c03575016aa | Properly escape %p and %n in cleaning actions | 0 | KCleanup::itemDir( const KFileInfo *item ) const
{
QString dir = item->url();
if ( ! item->isDir() && ! item->isDotEntry() )
{
dir.replace ( QRegExp ( "/[^/]*$" ), "" );
}
return dir;
} | 202,938,057,630,963,300,000,000,000,000,000,000,000 | None | null | [] | CVE-2014-2527 | kcleanup.cpp in KDirStat 2.7.0 does not properly quote strings when deleting a directory, which allows remote attackers to execute arbitrary commands via a " (double quote) character in the directory name, a different vulnerability than CVE-2014-2528. | https://nvd.nist.gov/vuln/detail/CVE-2014-2527 |
516,480 | k4dirstat | 1ad2e96d73fa06cd9be0f3749b337c03575016aa | https://bitbucket.org/jeromerobert/k4dirstat | https://bitbucket.org/jeromerobert/k4dirstat/commits/1ad2e96d73fa06cd9be0f3749b337c03575016aa | Properly escape %p and %n in cleaning actions | 0 | KCleanup::executeWithSelection()
{
if ( _selection )
execute( _selection );
} | 294,620,720,811,987,960,000,000,000,000,000,000,000 | None | null | [] | CVE-2014-2527 | kcleanup.cpp in KDirStat 2.7.0 does not properly quote strings when deleting a directory, which allows remote attackers to execute arbitrary commands via a " (double quote) character in the directory name, a different vulnerability than CVE-2014-2528. | https://nvd.nist.gov/vuln/detail/CVE-2014-2527 |
516,481 | k4dirstat | 1ad2e96d73fa06cd9be0f3749b337c03575016aa | https://bitbucket.org/jeromerobert/k4dirstat | https://bitbucket.org/jeromerobert/k4dirstat/commits/1ad2e96d73fa06cd9be0f3749b337c03575016aa | Properly escape %p and %n in cleaning actions | 0 | KCleanup::KCleanup( const KCleanup &src )
: KAction(src.title(), src.parent())
{
copy( src );
} | 38,014,130,022,056,340,000,000,000,000,000,000,000 | None | null | [] | CVE-2014-2527 | kcleanup.cpp in KDirStat 2.7.0 does not properly quote strings when deleting a directory, which allows remote attackers to execute arbitrary commands via a " (double quote) character in the directory name, a different vulnerability than CVE-2014-2528. | https://nvd.nist.gov/vuln/detail/CVE-2014-2527 |
516,482 | k4dirstat | 1ad2e96d73fa06cd9be0f3749b337c03575016aa | https://bitbucket.org/jeromerobert/k4dirstat | https://bitbucket.org/jeromerobert/k4dirstat/commits/1ad2e96d73fa06cd9be0f3749b337c03575016aa | Properly escape %p and %n in cleaning actions | 0 | KCleanup::worksFor( KFileInfo *item ) const
{
if ( ! _enabled || ! item )
return false;
if ( worksLocalOnly() && ! item->tree()->isFileProtocol() )
return false;
if ( item->isDotEntry() ) return worksForDotEntry();
if ( item->isDir() ) return worksForDir();
return worksForFile();
} | 264,292,240,499,795,500,000,000,000,000,000,000,000 | None | null | [] | CVE-2014-2527 | kcleanup.cpp in KDirStat 2.7.0 does not properly quote strings when deleting a directory, which allows remote attackers to execute arbitrary commands via a " (double quote) character in the directory name, a different vulnerability than CVE-2014-2528. | https://nvd.nist.gov/vuln/detail/CVE-2014-2527 |
516,483 | k4dirstat | 1ad2e96d73fa06cd9be0f3749b337c03575016aa | https://bitbucket.org/jeromerobert/k4dirstat | https://bitbucket.org/jeromerobert/k4dirstat/commits/1ad2e96d73fa06cd9be0f3749b337c03575016aa | Properly escape %p and %n in cleaning actions | 0 | KCleanup::execute( KFileInfo *item )
{
if ( worksFor( item ) )
{
if ( _askForConfirmation && ! confirmation( item ) )
return;
KDirTree * tree = item->tree();
executeRecursive( item );
switch ( _refreshPolicy )
{
case noRefresh:
// Do nothing.
break;
case refreshThis:
tree-... | 178,555,014,875,032,300,000,000,000,000,000,000,000 | None | null | [] | CVE-2014-2527 | kcleanup.cpp in KDirStat 2.7.0 does not properly quote strings when deleting a directory, which allows remote attackers to execute arbitrary commands via a " (double quote) character in the directory name, a different vulnerability than CVE-2014-2528. | https://nvd.nist.gov/vuln/detail/CVE-2014-2527 |
516,484 | k4dirstat | 1ad2e96d73fa06cd9be0f3749b337c03575016aa | https://bitbucket.org/jeromerobert/k4dirstat | https://bitbucket.org/jeromerobert/k4dirstat/commits/1ad2e96d73fa06cd9be0f3749b337c03575016aa | Properly escape %p and %n in cleaning actions | 0 | KCleanup::selectionChanged( KFileInfo *selection )
{
bool enabled = false;
_selection = selection;
if ( selection )
{
enabled = worksFor( selection );
if ( ! selection->isFinished() )
{
// This subtree isn't finished reading yet
switch ( _refreshPolicy )
{
// Refresh policies that... | 37,191,336,836,143,040,000,000,000,000,000,000,000 | None | null | [] | CVE-2014-2527 | kcleanup.cpp in KDirStat 2.7.0 does not properly quote strings when deleting a directory, which allows remote attackers to execute arbitrary commands via a " (double quote) character in the directory name, a different vulnerability than CVE-2014-2528. | https://nvd.nist.gov/vuln/detail/CVE-2014-2527 |
516,485 | k4dirstat | 1ad2e96d73fa06cd9be0f3749b337c03575016aa | https://bitbucket.org/jeromerobert/k4dirstat | https://bitbucket.org/jeromerobert/k4dirstat/commits/1ad2e96d73fa06cd9be0f3749b337c03575016aa | Properly escape %p and %n in cleaning actions | 0 | KCleanup::cleanTitle() const
{
// Use the cleanup action's title, if possible.
QString title = _title;
if ( title.isEmpty() )
{
title = _id;
}
// Get rid of any "&" characters in the text that denote keyboard
// shortcuts in menus.
title.replace( QRegExp( "&" ), "" );
return ... | 176,798,377,677,288,720,000,000,000,000,000,000,000 | None | null | [] | CVE-2014-2527 | kcleanup.cpp in KDirStat 2.7.0 does not properly quote strings when deleting a directory, which allows remote attackers to execute arbitrary commands via a " (double quote) character in the directory name, a different vulnerability than CVE-2014-2528. | https://nvd.nist.gov/vuln/detail/CVE-2014-2527 |
516,486 | k4dirstat | 1ad2e96d73fa06cd9be0f3749b337c03575016aa | https://bitbucket.org/jeromerobert/k4dirstat | https://bitbucket.org/jeromerobert/k4dirstat/commits/1ad2e96d73fa06cd9be0f3749b337c03575016aa | Properly escape %p and %n in cleaning actions | 0 | KCleanup::saveConfig() const
{
KConfigGroup config = KGlobal::config()->group(_id);
config.writeEntry( "valid", true );
config.writeEntry( "command", _command );
config.writeEntry( "title", _title );
config.writeEntry( "enabled", _enabled );
config.writeEntry( "worksForDir", _worksFo... | 168,189,334,943,821,900,000,000,000,000,000,000,000 | None | null | [] | CVE-2014-2527 | kcleanup.cpp in KDirStat 2.7.0 does not properly quote strings when deleting a directory, which allows remote attackers to execute arbitrary commands via a " (double quote) character in the directory name, a different vulnerability than CVE-2014-2528. | https://nvd.nist.gov/vuln/detail/CVE-2014-2527 |
516,487 | k4dirstat | 1ad2e96d73fa06cd9be0f3749b337c03575016aa | https://bitbucket.org/jeromerobert/k4dirstat | https://bitbucket.org/jeromerobert/k4dirstat/commits/1ad2e96d73fa06cd9be0f3749b337c03575016aa | Properly escape %p and %n in cleaning actions | 0 | KCleanup::confirmation( KFileInfo * item )
{
QString msg;
if ( item->isDir() || item->isDotEntry() )
{
msg = i18n( "%1\nin directory %2" ).arg( cleanTitle() ).arg( item->url() );
}
else
{
msg = i18n( "%1\nfor file %2" ).arg( cleanTitle() ).arg( item->url() );
}
if ( KMessageBox::warn... | 115,747,972,525,486,840,000,000,000,000,000,000,000 | None | null | [] | CVE-2014-2527 | kcleanup.cpp in KDirStat 2.7.0 does not properly quote strings when deleting a directory, which allows remote attackers to execute arbitrary commands via a " (double quote) character in the directory name, a different vulnerability than CVE-2014-2528. | https://nvd.nist.gov/vuln/detail/CVE-2014-2527 |
516,488 | k4dirstat | 1ad2e96d73fa06cd9be0f3749b337c03575016aa | https://bitbucket.org/jeromerobert/k4dirstat | https://bitbucket.org/jeromerobert/k4dirstat/commits/1ad2e96d73fa06cd9be0f3749b337c03575016aa | Properly escape %p and %n in cleaning actions | 0 | KCleanup::runCommand ( const KFileInfo * item,
const QString & command ) const
{
K3Process proc;
KDirSaver dir( itemDir( item ) );
QString cmd( expandVariables( item, command ));
#if VERBOSE_RUN_COMMAND
printf( "\ncd " );
fflush( stdout );
system( "pwd" );
QTextCodec * codec = QTe... | 137,657,241,790,780,940,000,000,000,000,000,000,000 | None | null | [] | CVE-2014-2527 | kcleanup.cpp in KDirStat 2.7.0 does not properly quote strings when deleting a directory, which allows remote attackers to execute arbitrary commands via a " (double quote) character in the directory name, a different vulnerability than CVE-2014-2528. | https://nvd.nist.gov/vuln/detail/CVE-2014-2527 |
516,489 | k4dirstat | 1ad2e96d73fa06cd9be0f3749b337c03575016aa | https://bitbucket.org/jeromerobert/k4dirstat | https://bitbucket.org/jeromerobert/k4dirstat/commits/1ad2e96d73fa06cd9be0f3749b337c03575016aa | Properly escape %p and %n in cleaning actions | 0 | KCleanup::setTitle( const QString &title )
{
_title = title;
KAction::setText( _title );
} | 293,876,927,618,253,140,000,000,000,000,000,000,000 | None | null | [] | CVE-2014-2527 | kcleanup.cpp in KDirStat 2.7.0 does not properly quote strings when deleting a directory, which allows remote attackers to execute arbitrary commands via a " (double quote) character in the directory name, a different vulnerability than CVE-2014-2528. | https://nvd.nist.gov/vuln/detail/CVE-2014-2527 |
516,490 | k4dirstat | 1ad2e96d73fa06cd9be0f3749b337c03575016aa | https://bitbucket.org/jeromerobert/k4dirstat | https://bitbucket.org/jeromerobert/k4dirstat/commits/1ad2e96d73fa06cd9be0f3749b337c03575016aa | Properly escape %p and %n in cleaning actions | 0 | KCleanup::executeRecursive( KFileInfo *item )
{
if ( worksFor( item ) )
{
if ( _recurse )
{
// Recurse into all subdirectories.
KFileInfo * subdir = item->firstChild();
while ( subdir )
{
if ( subdir->isDir() )
{
/**
* Recursively execute in this subdirectory, but only i... | 319,948,950,987,253,940,000,000,000,000,000,000,000 | None | null | [] | CVE-2014-2527 | kcleanup.cpp in KDirStat 2.7.0 does not properly quote strings when deleting a directory, which allows remote attackers to execute arbitrary commands via a " (double quote) character in the directory name, a different vulnerability than CVE-2014-2528. | https://nvd.nist.gov/vuln/detail/CVE-2014-2527 |
516,491 | k4dirstat | 1ad2e96d73fa06cd9be0f3749b337c03575016aa | https://bitbucket.org/jeromerobert/k4dirstat | https://bitbucket.org/jeromerobert/k4dirstat/commits/1ad2e96d73fa06cd9be0f3749b337c03575016aa | Properly escape %p and %n in cleaning actions | 0 | KCleanup::copy( const KCleanup &src )
{
setTitle( src.title() );
_selection = src.selection();
_id = src.id();
_command = src.command();
_enabled = src.enabled();
_worksForDir = src.worksForDir();
_worksForFile = src.worksForFile();
_worksForDotEntry = src.worksForDotEntry();
_w... | 208,093,125,068,603,400,000,000,000,000,000,000,000 | None | null | [] | CVE-2014-2527 | kcleanup.cpp in KDirStat 2.7.0 does not properly quote strings when deleting a directory, which allows remote attackers to execute arbitrary commands via a " (double quote) character in the directory name, a different vulnerability than CVE-2014-2528. | https://nvd.nist.gov/vuln/detail/CVE-2014-2527 |
516,492 | k4dirstat | 1ad2e96d73fa06cd9be0f3749b337c03575016aa | https://bitbucket.org/jeromerobert/k4dirstat | https://bitbucket.org/jeromerobert/k4dirstat/commits/1ad2e96d73fa06cd9be0f3749b337c03575016aa | Properly escape %p and %n in cleaning actions | 0 | KCleanup::readConfig()
{
KConfigGroup config = KGlobal::config()->group(_id);
bool valid = config.readEntry( "valid", false );
// If the config section requested exists, it should contain a
// "valid" field with a true value. If not, there is no such
// section within the config file. In this case... | 16,012,903,596,355,590,000,000,000,000,000,000,000 | None | null | [] | CVE-2014-2527 | kcleanup.cpp in KDirStat 2.7.0 does not properly quote strings when deleting a directory, which allows remote attackers to execute arbitrary commands via a " (double quote) character in the directory name, a different vulnerability than CVE-2014-2528. | https://nvd.nist.gov/vuln/detail/CVE-2014-2527 |
516,493 | k4dirstat | 1ad2e96d73fa06cd9be0f3749b337c03575016aa | https://bitbucket.org/jeromerobert/k4dirstat | https://bitbucket.org/jeromerobert/k4dirstat/commits/1ad2e96d73fa06cd9be0f3749b337c03575016aa | Properly escape %p and %n in cleaning actions | 0 | KCleanup::KCleanup( QString id,
QString command,
QString title,
KActionCollection * parent )
: KAction( title,
parent)
, _id ( id )
, _command ( command )
, _title ( title )
{
_selection = 0;
_enabled = true;
_worksForDir = true;
_worksForFile... | 1,008,010,690,341,897,500,000,000,000,000,000,000 | None | null | [] | CVE-2014-2527 | kcleanup.cpp in KDirStat 2.7.0 does not properly quote strings when deleting a directory, which allows remote attackers to execute arbitrary commands via a " (double quote) character in the directory name, a different vulnerability than CVE-2014-2528. | https://nvd.nist.gov/vuln/detail/CVE-2014-2527 |
516,494 | k4dirstat | 1ad2e96d73fa06cd9be0f3749b337c03575016aa | https://bitbucket.org/jeromerobert/k4dirstat | https://bitbucket.org/jeromerobert/k4dirstat/commits/1ad2e96d73fa06cd9be0f3749b337c03575016aa | Properly escape %p and %n in cleaning actions | 0 | KCleanup::expandVariables( const KFileInfo * item,
const QString & unexpanded ) const
{
QString expanded = unexpanded;
QString url = QString::fromLocal8Bit( item->url() ).replace("'", "'\\''");
expanded.replace( QRegExp( "%p" ), "'" + url + "'" );
QString name = QString::fromLocal8Bit( item->name(... | 201,412,490,976,305,860,000,000,000,000,000,000,000 | None | null | [] | CVE-2014-2527 | kcleanup.cpp in KDirStat 2.7.0 does not properly quote strings when deleting a directory, which allows remote attackers to execute arbitrary commands via a " (double quote) character in the directory name, a different vulnerability than CVE-2014-2528. | https://nvd.nist.gov/vuln/detail/CVE-2014-2527 |
516,834 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | std::string lazy_entry::list_string_value_at(int i) const
{
lazy_entry const* e = list_at(i);
if (e == 0 || e->type() != lazy_entry::string_t) return std::string();
return e->string_value();
} | 315,628,584,992,262,250,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,835 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | boost::system::error_category& get_bdecode_category()
{
static bdecode_error_category bdecode_category;
return bdecode_category;
} | 134,844,670,587,539,480,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,836 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | void lazy_entry::pop()
{
if (m_size > 0) --m_size;
} | 250,361,834,058,352,630,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,837 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | char const* parse_int(char const* start, char const* end, char delimiter
, boost::int64_t& val, bdecode_errors::error_code_enum& ec)
{
while (start < end && *start != delimiter)
{
if (!numeric(*start))
{
ec = bdecode_errors::expected_string;
return start;
}
if (val > INT64_MAX / 10)
{
... | 131,349,500,522,156,250,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,838 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | int fail(int* error_pos
, std::vector<lazy_entry*>& stack
, char const* start
, char const* orig_start)
{
while (!stack.empty()) {
lazy_entry* top = stack.back();
if (top->type() == lazy_entry::dict_t || top->type() == lazy_entry::list_t)
{
top->pop();
break;
}
stack.pop_ba... | 38,412,105,147,993,754,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,839 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | boost::int64_t lazy_entry::list_int_value_at(int i, boost::int64_t default_val) const
{
lazy_entry const* e = list_at(i);
if (e == 0 || e->type() != lazy_entry::int_t) return default_val;
return e->int_value();
} | 200,595,721,450,334,930,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,840 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | lazy_entry const* lazy_entry::dict_find_list(char const* name) const
{
lazy_entry const* e = dict_find(name);
if (e == 0 || e->type() != lazy_entry::list_t) return 0;
return e;
} | 133,556,448,401,215,380,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,841 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | lazy_entry const* lazy_entry::dict_find_dict(std::string const& name) const
{
lazy_entry const* e = dict_find(name);
if (e == 0 || e->type() != lazy_entry::dict_t) return 0;
return e;
} | 307,806,888,790,112,550,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,842 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | std::string print_entry(lazy_entry const& e, bool single_line, int indent)
{
char indent_str[200];
memset(indent_str, ' ', 200);
indent_str[0] = ',';
indent_str[1] = '\n';
indent_str[199] = 0;
if (indent < 197 && indent >= 0) indent_str[indent+2] = 0;
std::string ret;
switch (e.type())
{
case laz... | 194,375,749,083,115,200,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,843 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | char const* find_char(char const* start, char const* end, char delimiter)
{
while (start < end && *start != delimiter) ++start;
return start;
} | 323,667,857,262,837,830,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,844 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | boost::int64_t lazy_entry::int_value() const
{
TORRENT_ASSERT(m_type == int_t);
boost::int64_t val = 0;
bool negative = false;
if (*m_data.start == '-') negative = true;
bdecode_errors::error_code_enum ec = bdecode_errors::no_error;
parse_int(m_data.start + negative
, m_data.start + m_size, 'e', val, e... | 316,673,407,644,617,600,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,845 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | std::string lazy_entry::dict_find_string_value(char const* name) const
{
lazy_entry const* e = dict_find(name);
if (e == 0 || e->type() != lazy_entry::string_t) return std::string();
return e->string_value();
} | 88,503,922,610,015,210,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,846 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | int line_longer_than(lazy_entry const& e, int limit)
{
int line_len = 0;
switch (e.type())
{
case lazy_entry::list_t:
line_len += 4;
if (line_len > limit) return -1;
for (int i = 0; i < e.list_size(); ++i)
{
int ret = line_longer_than(*e.list_at(i), limit - line_len);
if (ret == -1) return... | 45,206,118,009,673,530,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,847 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | lazy_entry* lazy_entry::list_append()
{
TORRENT_ASSERT(m_type == list_t);
TORRENT_ASSERT(m_size <= m_capacity);
if (m_capacity == 0)
{
int capacity = lazy_entry_list_init;
m_data.list = new (std::nothrow) lazy_entry[capacity];
if (m_data.list == 0) return 0;
m_capacity = capacity;
}
else if (m... | 330,705,300,739,413,560,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,849 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | lazy_entry* lazy_entry::dict_find(std::string const& name)
{
TORRENT_ASSERT(m_type == dict_t);
for (int i = 0; i < int(m_size); ++i)
{
lazy_dict_entry& e = m_data.dict[i];
if (name.size() != e.val.m_begin - e.name) continue;
if (std::equal(name.begin(), name.end(), e.name))
return &e.val;
}
ret... | 330,841,451,518,750,530,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,850 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | std::pair<char const*, int> lazy_entry::data_section() const
{
typedef std::pair<char const*, int> return_t;
return return_t(m_begin, m_len);
} | 43,571,454,940,257,610,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,851 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | lazy_entry const* lazy_entry::dict_find_int(char const* name) const
{
lazy_entry const* e = dict_find(name);
if (e == 0 || e->type() != lazy_entry::int_t) return 0;
return e;
} | 164,272,306,962,174,900,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,852 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | lazy_entry const* lazy_entry::dict_find_string(char const* name) const
{
lazy_entry const* e = dict_find(name);
if (e == 0 || e->type() != lazy_entry::string_t) return 0;
return e;
} | 176,571,666,969,310,470,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,853 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | boost::system::error_code make_error_code(error_code_enum e)
{
return boost::system::error_code(e, get_bdecode_category());
} | 71,365,591,288,746,570,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,854 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | void lazy_entry::construct_string(char const* start, int length)
{
TORRENT_ASSERT(m_type == none_t);
m_type = string_t;
m_data.start = start;
m_size = length;
m_begin = start - 1 - num_digits(length);
m_len = start - m_begin + length;
} | 63,333,212,677,348,950,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,855 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | pascal_string lazy_entry::dict_find_pstr(char const* name) const
{
lazy_entry const* e = dict_find(name);
if (e == 0 || e->type() != lazy_entry::string_t) return pascal_string(0, 0);
return e->string_pstr();
} | 648,260,153,563,029,850,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,856 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | std::pair<std::string, lazy_entry const*> lazy_entry::dict_at(int i) const
{
TORRENT_ASSERT(m_type == dict_t);
TORRENT_ASSERT(i < int(m_size));
lazy_dict_entry const& e = m_data.dict[i];
return std::make_pair(std::string(e.name, e.val.m_begin - e.name), &e.val);
} | 32,120,531,816,951,270,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,857 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | boost::int64_t lazy_entry::dict_find_int_value(char const* name, boost::int64_t default_val) const
{
lazy_entry const* e = dict_find(name);
if (e == 0 || e->type() != lazy_entry::int_t) return default_val;
return e->int_value();
} | 105,992,925,062,270,900,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,858 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | namespace { bool numeric(char c) { return c >= '0' && c <= '9'; } } | 274,666,239,197,287,500,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,859 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | pascal_string lazy_entry::list_pstr_at(int i) const
{
lazy_entry const* e = list_at(i);
if (e == 0 || e->type() != lazy_entry::string_t) return pascal_string(0, 0);
return e->string_pstr();
} | 276,953,112,021,555,220,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,860 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | lazy_entry* lazy_entry::dict_append(char const* name)
{
TORRENT_ASSERT(m_type == dict_t);
TORRENT_ASSERT(m_size <= m_capacity);
if (m_capacity == 0)
{
int capacity = lazy_entry_dict_init;
m_data.dict = new (std::nothrow) lazy_dict_entry[capacity];
if (m_data.dict == 0) return 0;
m_capacity = capac... | 315,364,326,481,380,140,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,861 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | int num_digits(int val)
{
int ret = 1;
while (val >= 10)
{
++ret;
val /= 10;
}
return ret;
} | 115,334,748,522,577,000,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,862 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | std::string bdecode_error_category::message(int ev) const BOOST_SYSTEM_NOEXCEPT
{
static char const* msgs[] =
{
"no error",
"expected string in bencoded string",
"expected colon in bencoded string",
"unexpected end of file in bencoded string",
"expected value (list, dict, int or string) in bencoded... | 32,852,578,560,319,503,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,863 | bootstrap-dht | bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | https://github.com/bittorrent/bootstrap-dht | https://github.com/bittorrent/bootstrap-dht/commit/bbc0b7191e3f48461ca6e5b1b34bdf4b3f1e79a9 | update version of lazy_bdecode from libtorrent | 0 | void lazy_entry::clear()
{
switch (m_type)
{
case list_t: delete[] m_data.list; break;
case dict_t: delete[] m_data.dict; break;
default: break;
}
m_data.start = 0;
m_size = 0;
m_capacity = 0;
m_type = none_t;
} | 252,149,977,978,717,700,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-8509 | The lazy_bdecode function in BitTorrent bootstrap-dht (aka Bootstrap) allows remote attackers to execute arbitrary code via a crafted packet, which triggers an out-of-bounds read, related to "Improper Indexing." | https://nvd.nist.gov/vuln/detail/CVE-2014-8509 |
516,865 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | open_module(pam_handle_t *pamh, char *module_so)
{
struct stat64 stb;
char *errmsg;
void *lfd;
fd_list *module_fds = 0;
fd_list *trail = 0;
fd_list *traverse = 0;
/* Check the ownership and file modes */
if (stat64(module_so, &stb) < 0) {
__pam_log(LOG_AUTH | LOG_ERR,
"open_module[%d:%s]: stat(%s)... | 228,077,545,334,461,440,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,866 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | __pam_log(int priority, const char *format, ...)
{
va_list args;
int savemask = setlogmask(LOG_MASK(priority & LOG_PRIMASK));
va_start(args, format);
(void) vsyslog(priority, format, args);
va_end(args);
(void) setlogmask(savemask);
} | 273,228,116,987,821,850,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,867 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_trace(int flag, char *format, ...)
{
va_list args;
char message[1024];
int savemask;
if ((pam_debug & flag) == 0)
return;
savemask = setlogmask(LOG_MASK(log_priority & LOG_PRIMASK));
(void) snprintf(message, sizeof (message), "PAM[%ld]: %s",
(long)getpid(), format);
va_start(args, format);
(void) v... | 211,594,341,319,661,000,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,868 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | free_resp(int num_msg, struct pam_response *resp)
{
int i;
struct pam_response *r;
if (resp) {
r = resp;
for (i = 0; i < num_msg; i++, r++) {
if (r->resp) {
/* clear before freeing -- may be a password */
bzero(r->resp, strlen(r->resp));
free(r->resp);
r->resp = NULL;
}
}
free(resp);... | 293,439,511,958,327,500,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,869 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_end(pam_handle_t *pamh, int pam_status)
{
struct pam_module_data *psd, *p;
fd_list *expired;
fd_list *traverse;
env_list *env_expired;
env_list *env_traverse;
pam_trace(PAM_DEBUG_DEFAULT,
"pam_end(%p): status = %s", (void *)pamh,
pam_strerror(pamh, pam_status));
if (pamh == NULL)
return (PAM_SY... | 39,694,268,139,748,450,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,870 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_trace_iname(int item_type, char *iname_buf)
{
char *name;
if (item_type <= 0 ||
item_type >= PAM_MAX_ITEMS ||
(name = pam_inames[item_type]) == NULL) {
(void) sprintf(iname_buf, "%d", item_type);
return (iname_buf);
}
return (name);
} | 48,461,021,871,745,770,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,871 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_putenv(pam_handle_t *pamh, const char *name_value)
{
int error = PAM_SYSTEM_ERR;
char *equal_sign = 0;
char *name = NULL, *value = NULL, *tmp_value = NULL;
env_list *traverse, *trail;
pam_trace(PAM_DEBUG_DEFAULT,
"pam_putenv(%p, %s)", (void *)pamh,
name_value ? name_value : "NULL");
if (pamh ==... | 164,578,817,466,886,980,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,872 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | read_next_token(char **cpp)
{
register char *cp = *cpp;
char *start;
if (cp == (char *)0) {
*cpp = (char *)0;
return ((char *)0);
}
while (*cp == ' ' || *cp == '\t')
cp++;
if (*cp == '\0') {
*cpp = (char *)0;
return ((char *)0);
}
start = cp;
while (*cp && *cp != ' ' && *cp != '\t')
cp++;
if (*cp... | 328,868,513,939,469,250,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,873 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_trace_cname(pam_handle_t *pamh)
{
if (pamh->pam_conf_name[pamh->include_depth] == NULL)
return ("NULL");
return (pamh->pam_conf_name[pamh->include_depth]);
} | 310,075,443,221,990,800,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,874 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_open_session(pam_handle_t *pamh, int flags)
{
int retval;
retval = run_stack(pamh, flags, PAM_SESSION_MODULE, PAM_SESSION_ERR,
PAM_OPEN_SESSION, "pam_open_session");
if (retval != PAM_SUCCESS)
(void) pam_set_item(pamh, PAM_AUTHTOK, NULL);
return (retval);
} | 55,194,476,985,570,945,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,875 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | nextline(struct pam_fh *pam_fh, pam_handle_t *pamh, int *err)
{
char *ll;
int find_a_line = 0;
char *data = pam_fh->data;
char *bufferp = pam_fh->bufferp;
char *bufferendp = &data[pam_fh->bufsize];
size_t input_len;
/*
* Skip the blank line, comment line
*/
while (!find_a_line) {
/* if we are at the end ... | 127,290,243,958,339,290,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,876 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | sm_name(int ind)
{
switch (ind) {
case PAM_AUTHENTICATE:
return (PAM_SM_AUTHENTICATE);
case PAM_SETCRED:
return (PAM_SM_SETCRED);
case PAM_ACCT_MGMT:
return (PAM_SM_ACCT_MGMT);
case PAM_OPEN_SESSION:
return (PAM_SM_OPEN_SESSION);
case PAM_CLOSE_SESSION:
return (PAM_SM_CLOSE_SESSION);
case PAM_CHAUTHTOK... | 241,161,469,185,951,840,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,877 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_setcred(pam_handle_t *pamh, int flags)
{
int retval;
retval = run_stack(pamh, flags, PAM_AUTH_MODULE, PAM_CRED_ERR,
PAM_SETCRED, "pam_setcred");
if (retval != PAM_SUCCESS)
(void) pam_set_item(pamh, PAM_AUTHTOK, NULL);
return (retval);
} | 205,166,033,229,745,100,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,878 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_authenticate(pam_handle_t *pamh, int flags)
{
int retval;
retval = run_stack(pamh, flags, PAM_AUTH_MODULE, PAM_AUTH_ERR,
PAM_AUTHENTICATE, "pam_authenticate");
if (retval != PAM_SUCCESS)
(void) pam_set_item(pamh, PAM_AUTHTOK, NULL);
return (retval);
} | 13,673,817,871,613,777,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,879 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_get_item(const pam_handle_t *pamh, int item_type, void **item)
{
struct pam_item *pip;
char iname_buf[PAM_MAX_MSG_SIZE];
if (((pam_debug & PAM_DEBUG_ITEM) == 0) || (pamh == NULL)) {
pam_trace(PAM_DEBUG_ITEM, "pam_get_item(%p:%s)",
(void *)pamh, pam_trace_iname(item_type, iname_buf));
}
if (pamh == NU... | 4,153,278,512,346,602,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,880 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | free_pam_conf_info(pam_handle_t *pamh)
{
pamtab_t *pamentp;
pamtab_t *pament_trail;
int i = pamh->include_depth;
int j;
for (j = 0; j < PAM_NUM_MODULE_TYPES; j++) {
pamentp = pamh->pam_conf_info[i][j];
pamh->pam_conf_info[i][j] = NULL;
pament_trail = pamentp;
while (pamentp) {
pamentp = pamentp->next;
... | 194,369,952,654,655,930,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,881 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_trace_fname(int flag)
{
if (flag & PAM_BINDING)
return (PAM_BINDING_NAME);
if (flag & PAM_INCLUDE)
return (PAM_INCLUDE_NAME);
if (flag & PAM_OPTIONAL)
return (PAM_OPTIONAL_NAME);
if (flag & PAM_REQUIRED)
return (PAM_REQUIRED_NAME);
if (flag & PAM_REQUISITE)
return (PAM_REQUISITE_NAME);
if (flag & PA... | 174,335,985,620,165,220,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,882 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | close_pam_conf(struct pam_fh *pam_fh)
{
(void) munmap(pam_fh->data, pam_fh->bufsize);
(void) close(pam_fh->fconfig);
free(pam_fh);
} | 219,376,092,891,691,000,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,883 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | clean_up(pam_handle_t *pamh)
{
int i;
pam_repository_t *auth_rep;
if (pamh) {
while (pamh->include_depth >= 0) {
free_pam_conf_info(pamh);
pamh->include_depth--;
}
/* Cleanup PAM_REPOSITORY structure */
auth_rep = pamh->ps_item[PAM_REPOSITORY].pi_addr;
if (auth_rep != NULL) {
if (auth_rep->type ... | 13,195,818,936,557,100,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,884 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_set_data(pam_handle_t *pamh, const char *module_data_name, void *data,
void (*cleanup)(pam_handle_t *pamh, void *data, int pam_end_status))
{
struct pam_module_data *psd;
pam_trace(PAM_DEBUG_DATA,
"pam_set_data(%p:%s:%d)=%p", (void *)pamh,
(module_data_name != NULL) ? module_data_name : "NULL",
... | 101,184,348,412,279,550,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,885 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | load_function(void *lfd, char *name, int (**func)())
{
char *errmsg = NULL;
if (lfd == NULL)
return (PAM_SYMBOL_ERR);
*func = (int (*)())dlsym(lfd, name);
if (*func == NULL) {
errmsg = dlerror();
__pam_log(LOG_AUTH | LOG_ERR, "dlsym failed %s: error %s",
name, errmsg != NULL ? errmsg : "Unknown error"... | 40,718,267,038,332,745,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,886 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | open_pam_conf(struct pam_fh **pam_fh, pam_handle_t *pamh, char *config)
{
struct stat64 stb;
int fd;
if ((fd = open(config, O_RDONLY)) == -1) {
__pam_log(LOG_AUTH | LOG_ALERT,
"open_pam_conf[%d:%s]: open(%s) failed: %s",
pamh->include_depth, pam_trace_cname(pamh), config,
strerror(errno));
re... | 124,229,575,604,264,050,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,887 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_getenv(pam_handle_t *pamh, const char *name)
{
int error = PAM_SYSTEM_ERR;
env_list *traverse;
pam_trace(PAM_DEBUG_DEFAULT,
"pam_getenv(%p, %p)", (void *)pamh, (void *)name);
if (pamh == NULL || name == NULL)
goto out;
/* check to see if we already have this variable in the PAM handle */
traverse =... | 150,356,143,940,620,130,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,888 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_getenvlist(pam_handle_t *pamh)
{
int error = PAM_SYSTEM_ERR;
char **list = 0;
int length = 0;
env_list *traverse;
char *tenv;
size_t tenv_size;
pam_trace(PAM_DEBUG_DEFAULT,
"pam_getenvlist(%p)", (void *)pamh);
if (pamh == NULL)
goto out;
/* find out how many environment variables we have */
... | 267,204,793,650,285,140,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,889 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | free_pamconf(pamtab_t *cp)
{
int i;
if (cp) {
if (cp->pam_service)
free(cp->pam_service);
if (cp->module_path)
free(cp->module_path);
for (i = 0; i < cp->module_argc; i++) {
if (cp->module_argv[i])
free(cp->module_argv[i]);
}
if (cp->module_argc > 0)
free(cp->module_argv);
if (cp->functio... | 91,704,473,373,707,030,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,890 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | get_pam_conf_entry(struct pam_fh *pam_fh, pam_handle_t *pamh, pamtab_t **pam)
{
char *cp, *arg;
int argc;
char *tmp, *tmp_free;
int i;
char *current_line = NULL;
int error = PAM_SYSTEM_ERR; /* preset to error */
int err;
/* get the next line from pam.conf */
if ((cp = nextline(pam_fh, pamh, &err)) == N... | 264,214,098,018,139,370,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,891 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | do_conv(pam_handle_t *pamh, int msg_style, int num_msg,
char messages[PAM_MAX_NUM_MSG][PAM_MAX_MSG_SIZE], void *conv_apdp,
struct pam_response *ret_respp[])
{
struct pam_message *msg;
struct pam_message *m;
int i;
int k;
int retcode;
struct pam_conv *pam_convp;
if ((retcode = pam_get_item(pamh, P... | 50,603,642,653,940,105,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,892 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | __pam_get_authtok(pam_handle_t *pamh, int source, int type, char *prompt,
char **authtok)
{
int error = PAM_SYSTEM_ERR;
char *new_password = NULL;
struct pam_response *ret_resp = NULL;
char messages[PAM_MAX_NUM_MSG][PAM_MAX_MSG_SIZE];
if ((*authtok = calloc(PASS_MAX+1, sizeof (char))) == NULL)
return (PAM_B... | 336,463,471,860,723,900,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,893 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_strerror(pam_handle_t *pamh, int errnum)
{
switch (errnum) {
case PAM_SUCCESS:
return (dgettext(TEXT_DOMAIN, "Success"));
case PAM_OPEN_ERR:
return (dgettext(TEXT_DOMAIN, "Dlopen failure"));
case PAM_SYMBOL_ERR:
return (dgettext(TEXT_DOMAIN, "Symbol not found"));
case PAM_SERVICE_ERR:
return (dgettext(... | 222,919,229,528,940,680,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,894 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_conf_strnchr(char *sp, int c, intptr_t count)
{
while (count) {
if (*sp == (char)c)
return ((char *)sp);
else {
sp++;
count--;
}
};
return (NULL);
} | 104,376,918,553,740,440,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,895 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | free_env(env_list *pam_env)
{
if (pam_env) {
if (pam_env->name)
free(pam_env->name);
if (pam_env->value)
free(pam_env->value);
free(pam_env);
}
} | 11,417,700,341,798,514,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,896 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | __pam_display_msg(pam_handle_t *pamh, int msg_style, int num_msg,
char messages[PAM_MAX_NUM_MSG][PAM_MAX_MSG_SIZE], void *conv_apdp)
{
struct pam_response *ret_respp = NULL;
int ret;
ret = do_conv(pamh, msg_style, num_msg, messages,
conv_apdp, &ret_respp);
if (ret_respp != NULL)
free_resp(num_msg, ret_... | 267,148,069,276,725,230,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,897 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_get_data(const pam_handle_t *pamh, const char *module_data_name,
const void **data)
{
struct pam_module_data *psd;
if (pamh == NULL || (pamh->pam_inmodule != WO_OK) ||
module_data_name == NULL) {
pam_trace(PAM_DEBUG_DATA,
"pam_get_data(%p:%s:%d)=%p", (void *)pamh,
module_data_name ? module... | 307,905,748,469,687,640,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,898 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | read_pam_conf(pam_handle_t *pamh, char *config)
{
struct pam_fh *pam_fh;
pamtab_t *pamentp;
pamtab_t *tpament;
char *service;
int error;
int i = pamh->include_depth; /* include depth */
/*
* service types:
* error (-1), "auth" (0), "account" (1), "session" (2), "password" (3)
*/
int service_found[PAM_N... | 239,307,912,442,783,120,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,899 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_start(const char *service, const char *user,
const struct pam_conv *pam_conv, pam_handle_t **pamh)
{
int err;
*pamh = calloc(1, sizeof (struct pam_handle));
pam_settrace();
pam_trace(PAM_DEBUG_DEFAULT,
"pam_start(%s,%s,%p:%p) - debug = %x",
service ? service : "NULL", user ? user : "NULL", (void... | 257,886,041,987,948,770,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,900 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_settrace()
{
void *defp;
if ((defp = defopen_r(PAM_DEBUG)) != NULL) {
char *arg;
int code;
int facility = LOG_AUTH;
pam_debug = PAM_DEBUG_DEFAULT;
log_priority = LOG_DEBUG;
(void) defcntl_r(DC_SETFLAGS, DC_CASE, defp);
if ((arg = defread_r(LOG_PRIORITY, defp)) != NULL) {
code = (int)strtol(arg... | 37,686,138,040,234,530,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,901 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | (*func(pamtab_t *modulep, int ind))()
{
void *funcp;
if ((funcp = modulep->function_ptr) == NULL)
return (NULL);
switch (ind) {
case PAM_AUTHENTICATE:
return (((struct auth_module *)funcp)->pam_sm_authenticate);
case PAM_SETCRED:
return (((struct auth_module *)funcp)->pam_sm_setcred);
case PAM_ACCT_MGMT:
... | 71,503,622,716,418,300,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,902 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | parse_user_name(char *user_input, char **ret_username)
{
register char *ptr;
register int index = 0;
char username[PAM_MAX_RESP_SIZE];
/* Set the default value for *ret_username */
*ret_username = NULL;
/*
* Set the initial value for username - this is a buffer holds
* the user name.
*/
bzero((void *)use... | 73,177,564,007,800,570,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,903 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_acct_mgmt(pam_handle_t *pamh, int flags)
{
int retval;
retval = run_stack(pamh, flags, PAM_ACCOUNT_MODULE, PAM_ACCT_EXPIRED,
PAM_ACCT_MGMT, "pam_acct_mgmt");
if (retval != PAM_SUCCESS &&
retval != PAM_NEW_AUTHTOK_REQD) {
(void) pam_set_item(pamh, PAM_AUTHTOK, NULL);
}
return (retval);
} | 208,287,319,494,700,940,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,904 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | verify_pam_conf(pamtab_t *pam, char *service)
{
return ((pam->pam_service == (char *)NULL) ||
((strcasecmp(pam->pam_service, service) == 0) &&
((pam->pam_type == -1) ||
(pam->pam_flag == 0) ||
(pam->pam_err != PAM_SUCCESS) ||
(pam->module_path == (char *)NULL))));
} | 39,562,391,997,845,177,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,905 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | load_modules(pam_handle_t *pamh, int type, char *function_name,
pamtab_t *pam_entry)
{
void *mh;
struct auth_module *authp;
struct account_module *accountp;
struct session_module *sessionp;
struct password_module *passwdp;
int loading_functions = 0; /* are we currently loading functions? */
pam_trace(PAM_DE... | 334,532,786,909,419,950,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,906 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_chauthtok(pam_handle_t *pamh, int flags)
{
int retval;
/* do not let apps use PAM_PRELIM_CHECK or PAM_UPDATE_AUTHTOK */
if (flags & (PAM_PRELIM_CHECK | PAM_UPDATE_AUTHTOK)) {
pam_trace(PAM_DEBUG_DEFAULT,
"pam_chauthtok(%p, %x): %s", (void *)pamh, flags,
pam_strerror(pamh, PAM_SYMBOL_ERR));
retur... | 101,759,687,205,066,940,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,907 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_get_user(pam_handle_t *pamh, char **user, const char *prompt_override)
{
int status;
char *prompt = NULL;
char *real_username;
struct pam_response *ret_resp = NULL;
char messages[PAM_MAX_NUM_MSG][PAM_MAX_MSG_SIZE];
pam_trace(PAM_DEBUG_DEFAULT,
"pam_get_user(%p, %p, %s)", (void *)pamh, (void *)*user,
... | 76,795,508,553,334,070,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,908 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_close_session(pam_handle_t *pamh, int flags)
{
int retval;
retval = run_stack(pamh, flags, PAM_SESSION_MODULE, PAM_SESSION_ERR,
PAM_CLOSE_SESSION, "pam_close_session");
if (retval != PAM_SUCCESS)
(void) pam_set_item(pamh, PAM_AUTHTOK, NULL);
return (retval);
} | 288,977,454,101,469,070,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,909 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | pam_set_item(pam_handle_t *pamh, int item_type, const void *item)
{
struct pam_item *pip;
int size;
char iname_buf[PAM_MAX_MSG_SIZE];
if (((pam_debug & PAM_DEBUG_ITEM) == 0) || (pamh == NULL)) {
pam_trace(PAM_DEBUG_DEFAULT,
"pam_set_item(%p:%s)", (void *)pamh,
pam_trace_iname(item_type, iname_buf));
... | 134,027,455,008,993,470,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,910 | illumos-gate | 1d276e0b382cf066dae93640746d8b4c54d15452 | https://github.com/illumos/illumos-gate | https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452 | 13242 parse_user_name in PAM is sloppy
Reviewed by: Alex Wilson <alex@cooperi.net>
Approved by: Gordon Ross <gordon.w.ross@gmail.com> | 0 | run_stack(pam_handle_t *pamh, int flags, int type, int def_err, int ind,
char *function_name)
{
int err = PAM_SYSTEM_ERR; /* preset */
int optional_error = 0;
int required_error = 0;
int success = 0;
pamtab_t *modulep;
int (*sm_func)();
if (pamh == NULL)
return (PAM_SYSTEM_ERR);
/* read initial entries... | 238,843,739,919,255,520,000,000,000,000,000,000,000 | None | null | [
"CWE-120"
] | CVE-2020-27678 | An issue was discovered in illumos before 2020-10-22, as used in OmniOS before r151030by, r151032ay, and r151034y and SmartOS before 20201022. There is a buffer overflow in parse_user_name in lib/libpam/pam_framework.c. | https://nvd.nist.gov/vuln/detail/CVE-2020-27678 |
516,914 | xdelta-devel | ef93ff74203e030073b898c05e8b4860b5d09ef2 | https://github.com/jmacd/xdelta-devel | https://github.com/jmacd/xdelta-devel/commit/ef93ff74203e030073b898c05e8b4860b5d09ef2 | Add appheader tests; fix buffer overflow in main_get_appheader | 0 | test_iopt_flush_instructions (xd3_stream *stream, int ignore)
{
int ret, i;
usize_t tpos = 0;
usize_t delta_size, recon_size;
xd3_config config;
uint8_t target[TESTBUFSIZE];
uint8_t delta[TESTBUFSIZE];
uint8_t recon[TESTBUFSIZE];
xd3_free_stream (stream);
xd3_init_config (& config, 0);
config.smat... | 155,125,896,011,316,070,000,000,000,000,000,000,000 | None | null | [
"CWE-119"
] | CVE-2014-9765 | Buffer overflow in the main_get_appheader function in xdelta3-main.h in xdelta3 before 3.0.9 allows remote attackers to execute arbitrary code via a crafted input file. | https://nvd.nist.gov/vuln/detail/CVE-2014-9765 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.