prior_version
stringlengths
69
33.8k
after_version
stringlengths
27
34.8k
vuln_id
stringlengths
13
19
cwe_id
stringclasses
137 values
score
float64
0
10
chain
stringlengths
78
111
dataset
stringclasses
2 values
summary
stringlengths
44
6.88k
published_date
stringdate
2009-05-11 00:00:00
2022-08-11 00:00:00
chain_len
int64
1
1
project
stringlengths
26
59
commit_href
stringlengths
74
107
commit_sha
stringlengths
40
40
patch
stringclasses
1 value
chain_ord
stringlengths
44
44
before_first_fix_commit
stringlengths
44
88
last_fix_commit
stringlengths
40
40
chain_ord_pos
int64
1
1
commit_datetime
stringlengths
20
20
message
stringlengths
2
8.66k
author
stringlengths
2
44
comments
stringclasses
155 values
stats
stringclasses
474 values
files
listlengths
1
1
file_extension
stringclasses
14 values
cwe
stringclasses
25 values
file_paths
listlengths
1
1
file_paths_str
stringlengths
4
162
num_files
int64
1
1
void dump_isom_sdp(GF_ISOFile *file, char *inName, Bool is_final_name) } //get the movie SDP gf_isom_sdp_get(file, &sdp, &size); fprintf(dump, "%s", sdp); fprintf(dump, "\r\n"); //then tracks
void dump_isom_sdp(GF_ISOFile *file, char *inName, Bool is_final_name) } //get the movie SDP gf_isom_sdp_get(file, &sdp, &size); if (sdp && size) fprintf(dump, "%s", sdp); fprintf(dump, "\r\n"); //then tracks
CVE-2020-23932
{'CWE-476'}
2.9
{'https://github.com/gpac/gpac/commit/ce01bd15f711d4575b7424b54b3a395ec64c1784'}
nvd
An issue was discovered in gpac before 1.0.1. A NULL pointer dereference exists in the function dump_isom_sdp located in filedump.c. It allows an attacker to cause Denial of Service.
2021-04-21
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/ce01bd15f711d4575b7424b54b3a395ec64c1784
ce01bd15f711d4575b7424b54b3a395ec64c1784
SINGLE
['ce01bd15f711d4575b7424b54b3a395ec64c1784']
{'9eeac00b38348c664dfeae2525bba0cf1bc32349'}
ce01bd15f711d4575b7424b54b3a395ec64c1784
1
09/01/2020, 15:05:02
fixed #1566
jeanlf
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -1624,7 +1624,8 @@ void dump_isom_sdp(GF_ISOFile *file, char *inName, Bool is_final_name)\n \t}\n \t//get the movie SDP\n \tgf_isom_sdp_get(file, &sdp, &size);\n-\tfprintf(dump, \"%s\", sdp);\n+\tif (sdp && size)\n+\t\tfprintf(dump, \"%s\"...
c
CWE-476
[ "applications/mp4box/filedump.c" ]
applications/mp4box/filedump.c
1
int main( int argc, char* argv[] ) for( i = 0; i < MAX_LBRR_DELAY; i++ ) { totBytes += nBytesPerPacket[ i + 1 ]; } SKP_memmove( payload, &payload[ nBytesPerPacket[ 0 ] ], totBytes * sizeof( SKP_uint8 ) ); payloadEnd -= nBytesPerPacket[ 0 ]; SKP_memmove( nBytesPerPack...
int main( int argc, char* argv[] ) for( i = 0; i < MAX_LBRR_DELAY; i++ ) { totBytes += nBytesPerPacket[ i + 1 ]; } /* Check if the received totBytes is valid */ if (totBytes < 0 || totBytes > sizeof(payload)) { fprintf( stderr, "\rPackets decoded: ...
CVE-2020-24074
{'CWE-20', 'CWE-119'}
6.4
{'https://github.com/kn007/silk-v3-decoder/commit/d216599502662db01c07cc0dfd95ff1f1eaaea02'}
nvd
The decode program in silk-v3-decoder Version:20160922 Build By kn007 does not strictly check data, resulting in a buffer overflow.
2020-09-09
1
https://github.com/kn007/silk-v3-decoder
https://github.com/kn007/silk-v3-decoder/commit/d216599502662db01c07cc0dfd95ff1f1eaaea02
d216599502662db01c07cc0dfd95ff1f1eaaea02
SINGLE
['d216599502662db01c07cc0dfd95ff1f1eaaea02']
{'42b5315b7c4b64f1839eb62fd9ba9e182034e9c9', '21feb28669f992b16a9c3407c55bebd35db630da'}
d216599502662db01c07cc0dfd95ff1f1eaaea02
1
06/22/2020, 14:29:15
Merge pull request #64 from WinMin/master add "totBytes check, fix #62
Karl Chen
null
{'additions': 15, 'deletions': 0, 'total': 15}
[ { "additions": 15, "changes": 15, "deletions": 0, "patch": "@@ -361,6 +361,12 @@ int main( int argc, char* argv[] )\n for( i = 0; i < MAX_LBRR_DELAY; i++ ) {\n totBytes += nBytesPerPacket[ i + 1 ];\n }\n+ /* Check if the received totBytes is valid */\n+ if (...
c
CWE-20
[ "silk/test/Decoder.c" ]
silk/test/Decoder.c
1
int main( int argc, char* argv[] ) for( i = 0; i < MAX_LBRR_DELAY; i++ ) { totBytes += nBytesPerPacket[ i + 1 ]; } SKP_memmove( payload, &payload[ nBytesPerPacket[ 0 ] ], totBytes * sizeof( SKP_uint8 ) ); payloadEnd -= nBytesPerPacket[ 0 ]; SKP_memmove( nBytesPerPack...
int main( int argc, char* argv[] ) for( i = 0; i < MAX_LBRR_DELAY; i++ ) { totBytes += nBytesPerPacket[ i + 1 ]; } /* Check if the received totBytes is valid */ if (totBytes < 0 || totBytes > sizeof(payload)) { fprintf( stderr, "\rPackets decoded: ...
CVE-2020-24074
{'CWE-20', 'CWE-119'}
6.4
{'https://github.com/kn007/silk-v3-decoder/commit/d216599502662db01c07cc0dfd95ff1f1eaaea02'}
nvd
The decode program in silk-v3-decoder Version:20160922 Build By kn007 does not strictly check data, resulting in a buffer overflow.
2020-09-09
1
https://github.com/kn007/silk-v3-decoder
https://github.com/kn007/silk-v3-decoder/commit/d216599502662db01c07cc0dfd95ff1f1eaaea02
d216599502662db01c07cc0dfd95ff1f1eaaea02
SINGLE
['d216599502662db01c07cc0dfd95ff1f1eaaea02']
{'42b5315b7c4b64f1839eb62fd9ba9e182034e9c9', '21feb28669f992b16a9c3407c55bebd35db630da'}
d216599502662db01c07cc0dfd95ff1f1eaaea02
1
06/22/2020, 14:29:15
Merge pull request #64 from WinMin/master add "totBytes check, fix #62
Karl Chen
null
{'additions': 15, 'deletions': 0, 'total': 15}
[ { "additions": 15, "changes": 15, "deletions": 0, "patch": "@@ -361,6 +361,12 @@ int main( int argc, char* argv[] )\n for( i = 0; i < MAX_LBRR_DELAY; i++ ) {\n totBytes += nBytesPerPacket[ i + 1 ];\n }\n+ /* Check if the received totBytes is valid */\n+ if (...
c
CWE-119
[ "silk/test/Decoder.c" ]
silk/test/Decoder.c
1
class UserSettingsController extends AppController public function beforeFilter() { parent::beforeFilter(); $this->Security->unlockedActions = array_merge($this->Security->unlockedActions, array('setHomePage')); } public function index() public function delete($id = false) public ...
class UserSettingsController extends AppController public function beforeFilter() { parent::beforeFilter(); } public function index() public function delete($id = false) public function setHomePage() { if ($this->request->is('post')) { if (isset($this->request->dat...
CVE-2020-24085
{'CWE-79'}
2.9
{'https://github.com/MISP/MISP/commit/b3550b48f30ad9fef86c5b5c664487aaf6f52787'}
nvd
A cross-site scripting (XSS) vulnerability exists in MISP v2.4.128 in app/Controller/UserSettingsController.php at SetHomePage() function. Due to a lack of controller validation in "path" parameter, an attacker can execute malicious JavaScript code.
2021-01-26
1
https://github.com/MISP/MISP
https://github.com/MISP/MISP/commit/b3550b48f30ad9fef86c5b5c664487aaf6f52787
b3550b48f30ad9fef86c5b5c664487aaf6f52787
SINGLE
['b3550b48f30ad9fef86c5b5c664487aaf6f52787']
{'ded8ed50a5c8ceb757111d720faa062d3762e6e5'}
b3550b48f30ad9fef86c5b5c664487aaf6f52787
1
07/14/2020, 12:26:11
fix: [security] xss fix missing part of solution - the previous fix to the xss in the homepage setter was lacking the controller changes due to a partial commit (#bf4610c947c7dc372c4078f363d2dff6ae0703a8) - as originally discovered by Mislav Božičević <mislav.bozicevic@nn.cz> - persistence of the vulnerability af...
iglocska
null
{'additions': 21, 'deletions': 18, 'total': 39}
[ { "additions": 21, "changes": 39, "deletions": 18, "patch": "@@ -28,7 +28,6 @@ class UserSettingsController extends AppController\n public function beforeFilter()\n {\n parent::beforeFilter();\n- $this->Security->unlockedActions = array_merge($this->Security->unlockedActions, ...
php
CWE-79
[ "app/Controller/UserSettingsController.php" ]
app/Controller/UserSettingsController.php
1
void luaD_call (lua_State *L, StkId func, int nresults) { /* ** Similar to 'luaD_call', but does not allow yields during the call. ** If there is a stack overflow, freeing all CI structures will ** force the subsequent call to invoke 'luaE_extendCI', which then ** will raise any errors. */ void luaD_callnoyield (lua_...
void luaD_call (lua_State *L, StkId func, int nresults) { /* ** Similar to 'luaD_call', but does not allow yields during the call. */ void luaD_callnoyield (lua_State *L, StkId func, int nResults) { incXCcalls(L); if (getCcalls(L) <= CSTACKERR) { /* possible C stack overflow? */ luaE_exitCcall(L); /* to com...
CVE-2020-24342
{'CWE-119'}
6.4
{'https://github.com/lua/lua/commit/34affe7a63fc5d842580a9f23616d057e17dfe27'}
nvd
Lua through 5.4.0 allows a stack redzone cross in luaO_pushvfstring because a protection mechanism wrongly calls luaD_callnoyield twice in a row.
2020-08-13
1
https://github.com/lua/lua
https://github.com/lua/lua/commit/34affe7a63fc5d842580a9f23616d057e17dfe27
34affe7a63fc5d842580a9f23616d057e17dfe27
SINGLE
['34affe7a63fc5d842580a9f23616d057e17dfe27']
{'a2195644d89812e5b157ce7bac35543e06db05e3'}
34affe7a63fc5d842580a9f23616d057e17dfe27
1
07/17/2020, 17:54:26
Fixed bug: 'luaD_callnoyield' called twice in a row In luaD_callnoyield, when there is a possible stack overflow, it zeros the number of CallInfos to force a check when calling the function. However, if the "function" is not a function, the code will raise an error before checking the stack. Then, the error handling c...
Roberto Ierusalimschy
null
{'additions': 4, 'deletions': 5, 'total': 9}
[ { "additions": 4, "changes": 9, "deletions": 5, "patch": "@@ -515,14 +515,13 @@ void luaD_call (lua_State *L, StkId func, int nresults) {\n \n /*\n ** Similar to 'luaD_call', but does not allow yields during the call.\n-** If there is a stack overflow, freeing all CI structures will\n-** force the s...
c
CWE-119
[ "ldo.c" ]
ldo.c
1
function stripAccents($str, $charset='utf-8'){ function logging($module,$command,$user=false){ global $database_eonweb; global $dateformat; if($user) sqlrequest($database_eonweb,"insert into logs values ('','".time()."','$user','$module','$command','".$_SERVER["REMOTE_ADDR"]."');"); elseif(isset($_COOKIE['user_n...
function stripAccents($str, $charset='utf-8'){ function logging($module,$command,$user=false){ global $database_eonweb; global $dateformat; if($user){ $user = htmlspecialchars($user); sqlrequest($database_eonweb,"insert into logs values ('','".time()."','$user','$module','$command','".$_SERVER["REMOTE_ADDR"]."'...
CVE-2020-24390
{'CWE-79'}
2.9
{'https://github.com/EyesOfNetworkCommunity/eonweb/commit/c416b52d3b500d96ab40875f95b7c7939628854b'}
nvd
eonweb in EyesOfNetwork before 5.3-7 does not properly escape the username on the /module/admin_logs page, which might allow pre-authentication stored XSS during login/logout logs recording.
2020-08-27
1
https://github.com/EyesOfNetworkCommunity/eonweb
https://github.com/EyesOfNetworkCommunity/eonweb/commit/c416b52d3b500d96ab40875f95b7c7939628854b
c416b52d3b500d96ab40875f95b7c7939628854b
SINGLE
['c416b52d3b500d96ab40875f95b7c7939628854b']
{'dddab9fecea42f373907c093b87218fa0f2d4c42'}
c416b52d3b500d96ab40875f95b7c7939628854b
1
06/16/2020, 14:24:27
FIX 2.4 protect login/logout logs recording
root
null
{'additions': 6, 'deletions': 3, 'total': 9}
[ { "additions": 6, "changes": 9, "deletions": 3, "patch": "@@ -370,10 +370,13 @@ function stripAccents($str, $charset='utf-8'){\n function logging($module,$command,$user=false){\n \tglobal $database_eonweb;\n \tglobal $dateformat;\n-\tif($user)\n+\tif($user){\n+\t\t$user = htmlspecialchars($user);\n ...
php
CWE-79
[ "include/function.php" ]
include/function.php
1
static int cbor2json (OSCTXT* pCborCtxt, OSCTXT* pJsonCtxt) case OSRTCBOR_UTF8STR: { OSUTF8CHAR* utf8str; ret = rtCborDecDynUTF8Str (pCborCtxt, ub, (char**)&utf8str); ret = rtJsonEncStringValue (pJsonCtxt, utf8str); rtxMemFreePtr (pCborCtxt, utf8str);
static int cbor2json (OSCTXT* pCborCtxt, OSCTXT* pJsonCtxt) case OSRTCBOR_UTF8STR: { OSUTF8CHAR* utf8str; ret = rtCborDecDynUTF8Str (pCborCtxt, ub, (char**)&utf8str); if (0 != ret) return LOG_RTERR (pCborCtxt, ret); ret = rtJsonEncStringValue (pJsonCtxt, utf8str); rtxMemFreePtr (pCbor...
CVE-2020-24753
{'CWE-755', 'CWE-787', 'CWE-908'}
6.4
{'https://github.com/objsys/oocborrt/commit/539851c66778f68a244633985f6f8d0df94ea3b3'}
nvd
A memory corruption vulnerability in Objective Open CBOR Run-time (oocborrt) in versions before 2020-08-12 could allow an attacker to execute code via crafted Concise Binary Object Representation (CBOR) input to the cbor2json decoder. An uncaught error while decoding CBOR Major Type 3 text strings leads to the use of a...
2020-09-17
1
https://github.com/objsys/oocborrt
https://github.com/objsys/oocborrt/commit/539851c66778f68a244633985f6f8d0df94ea3b3
539851c66778f68a244633985f6f8d0df94ea3b3
SINGLE
['539851c66778f68a244633985f6f8d0df94ea3b3']
{'de254ab4193f6b9d865213a35482b65b7be01dee'}
539851c66778f68a244633985f6f8d0df94ea3b3
1
08/12/2020, 19:26:00
fixed missing return status test error
objsys
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -112,6 +112,7 @@ static int cbor2json (OSCTXT* pCborCtxt, OSCTXT* pJsonCtxt)\n case OSRTCBOR_UTF8STR: {\r\n OSUTF8CHAR* utf8str;\r\n ret = rtCborDecDynUTF8Str (pCborCtxt, ub, (char**)&utf8str);\r\n+ if (0 != ret) return...
c
CWE-787
[ "util/cbor2json.c" ]
util/cbor2json.c
1
void LibRaw::identify_process_dng_fields() if (calidx[colidx] == sidx) { for (int i = 0; i < colors; i++) FORCC cc[i][c] = tiff_ifd[sidx].dng_color[colidx].calibration[i][c]; } if (abidx == sidx) for (int i = 0; i < colors; i++) FORCC cc[i][c] *= tiff_ifd...
void LibRaw::identify_process_dng_fields() if (calidx[colidx] == sidx) { for (int i = 0; i < colors && i < 4; i++) FORCC cc[i][c] = tiff_ifd[sidx].dng_color[colidx].calibration[i][c]; } if (abidx == sidx) for (int i = 0; i < colors && i < 4; i++) FORCC cc...
CVE-2020-24870
{'CWE-787'}
6.4
{'https://github.com/LibRaw/LibRaw/commit/4feaed4dea636cee4fee010f615881ccf76a096d'}
nvd
Libraw before 0.20.1 has a stack buffer overflow via LibRaw::identify_process_dng_fields in identify.cpp.
2021-06-02
1
https://github.com/LibRaw/LibRaw
https://github.com/LibRaw/LibRaw/commit/4feaed4dea636cee4fee010f615881ccf76a096d
4feaed4dea636cee4fee010f615881ccf76a096d
SINGLE
['4feaed4dea636cee4fee010f615881ccf76a096d']
{'5368d7abe6240fb967e1144748d8124d4054d4dd'}
4feaed4dea636cee4fee010f615881ccf76a096d
1
08/19/2020, 18:59:37
limit loops to MIN(colors,4) in dng fields parser
Alex Tutubalin
null
{'additions': 7, 'deletions': 7, 'total': 14}
[ { "additions": 7, "changes": 14, "deletions": 7, "patch": "@@ -1299,19 +1299,19 @@ void LibRaw::identify_process_dng_fields()\n \n \t\t\t\t\t\tif (calidx[colidx] == sidx)\n \t\t\t\t\t\t{\n-\t\t\t\t\t\t\tfor (int i = 0; i < colors; i++)\n+\t\t\t\t\t\t\tfor (int i = 0; i < colors && i < 4; i++)\n \t\t...
cpp
CWE-787
[ "src/metadata/identify.cpp" ]
src/metadata/identify.cpp
1
function cfdef_input_textbox( array $p_field_def, $p_custom_field_value, $p_requ if( substr( $t_cf_regex, -1 ) != '$' ) { $t_cf_regex .= '.*'; } echo ' pattern="' . $t_cf_regex . '"'; } echo ' value="' . string_attribute( $p_custom_field_value ) .'" />'; }
function cfdef_input_textbox( array $p_field_def, $p_custom_field_value, $p_requ if( substr( $t_cf_regex, -1 ) != '$' ) { $t_cf_regex .= '.*'; } echo ' pattern="' . string_attribute( $t_cf_regex ) . '"'; } echo ' value="' . string_attribute( $p_custom_field_value ) .'" />'; }
CVE-2020-25288
{'CWE-79'}
2.9
{'http://github.com/mantisbt/mantisbt/commit/221cf323f16a9738a5b27aaba94758f11281d85c'}
nvd
An issue was discovered in MantisBT before 2.24.3. When editing an Issue in a Project where a Custom Field with a crafted Regular Expression property is used, improper escaping of the corresponding form input's pattern attribute allows HTML injection and, if CSP settings permit, execution of arbitrary JavaScript.
2020-09-30
1
http://github.com/mantisbt/mantisbt
http://github.com/mantisbt/mantisbt/commit/221cf323f16a9738a5b27aaba94758f11281d85c
221cf323f16a9738a5b27aaba94758f11281d85c
SINGLE
['221cf323f16a9738a5b27aaba94758f11281d85c']
{'7799118023ab2a8f0cdac16bf9c0b88d1c4b6388'}
221cf323f16a9738a5b27aaba94758f11281d85c
1
09/12/2020, 10:20:49
Fix XSS in Custom Field regex pattern validation Improper escaping of the custom field definition's Regular Expression allowed an attacker to inject HTML into the page (CVE-2020-25288). Credits to d3vpoo1 (https://gitlab.com/jrckmcsb) for the finding. Fixes #27275
Damien Regad
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -467,7 +467,7 @@ function cfdef_input_textbox( array $p_field_def, $p_custom_field_value, $p_requ\n \t\tif( substr( $t_cf_regex, -1 ) != '$' ) {\n \t\t\t$t_cf_regex .= '.*';\n \t\t}\n-\t\techo ' pattern=\"' . $t_cf_regex . '\"';\n+\t\techo...
php
CWE-79
[ "core/cfdefs/cfdef_standard.php" ]
core/cfdefs/cfdef_standard.php
1
GF_Err gf_isom_box_parse_ex(GF_Box **outBox, GF_BitStream *bs, u32 parent_type, newBox->size = size - hdr_size; if (newBox->size) { e = gf_isom_full_box_read(newBox, bs); if (!e) e = gf_isom_box_read(newBox, bs); newBox->size = size; end = gf_bs_get_position(bs); } else { newBox->size = size; //empty ...
GF_Err gf_isom_box_parse_ex(GF_Box **outBox, GF_BitStream *bs, u32 parent_type, newBox->size = size - hdr_size; //parse even if size is 0 - this makes sure that we perform box parsing (usually in box->read) e = gf_isom_full_box_read(newBox, bs); if (!e) e = gf_isom_box_read(newBox, bs); newBox->size = size; en...
CVE-2020-25427
{'CWE-476'}
2.9
{'https://github.com/gpac/gpac/commit/8e585e623b1d666b4ef736ed609264639cb27701'}
nvd
A Null pointer dereference vulnerability exits in MP4Box - GPAC version 0.8.0-rev177-g51a8ef874-master via the gf_isom_get_track_id function, which causes a denial of service.
2022-01-10
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/8e585e623b1d666b4ef736ed609264639cb27701
8e585e623b1d666b4ef736ed609264639cb27701
SINGLE
['8e585e623b1d666b4ef736ed609264639cb27701']
{'e90526f3d2ec0dee4cddc5244eb115668f10341f'}
8e585e623b1d666b4ef736ed609264639cb27701
1
06/11/2020, 17:28:51
fixed potential crash - cf #1406
jeanlf
null
{'additions': 5, 'deletions': 11, 'total': 16}
[ { "additions": 5, "changes": 16, "deletions": 11, "patch": "@@ -205,17 +205,11 @@ GF_Err gf_isom_box_parse_ex(GF_Box **outBox, GF_BitStream *bs, u32 parent_type,\n \n \tnewBox->size = size - hdr_size;\n \n-\tif (newBox->size) {\n-\t\te = gf_isom_full_box_read(newBox, bs);\n-\t\tif (!e) e = gf_isom_b...
c
CWE-476
[ "src/isomedia/box_funcs.c" ]
src/isomedia/box_funcs.c
1
static irqreturn_t sunkbd_interrupt(struct serio *serio, switch (data) { case SUNKBD_RET_RESET: schedule_work(&sunkbd->tq); sunkbd->reset = -1; break; static int sunkbd_initialize(struct sunkbd *sunkbd) } /* * sunkbd_reinit() sets leds and beeps to a state the computer remembers they * were in. */ stati...
static irqreturn_t sunkbd_interrupt(struct serio *serio, switch (data) { case SUNKBD_RET_RESET: if (sunkbd->enabled) schedule_work(&sunkbd->tq); sunkbd->reset = -1; break; static int sunkbd_initialize(struct sunkbd *sunkbd) } /* * sunkbd_set_leds_beeps() sets leds and beeps to a state the computer remem...
CVE-2020-25669
{'CWE-416'}
10
{'https://github.com/torvalds/linux/commit/77e70d351db7de07a46ac49b87a6c3c7a60fca7e'}
nvd
A vulnerability was found in the Linux Kernel where the function sunkbd_reinit having been scheduled by sunkbd_interrupt before sunkbd being freed. Though the dangling pointer is set to NULL in sunkbd_disconnect, there is still an alias in sunkbd_reinit causing Use After Free.
2021-05-26
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/77e70d351db7de07a46ac49b87a6c3c7a60fca7e
77e70d351db7de07a46ac49b87a6c3c7a60fca7e
SINGLE
['77e70d351db7de07a46ac49b87a6c3c7a60fca7e']
{'b1884583fcd17d6a1b1bba94bbb5826e6b5c6e17'}
77e70d351db7de07a46ac49b87a6c3c7a60fca7e
1
10/26/2020, 20:36:17
Input: sunkbd - avoid use-after-free in teardown paths We need to make sure we cancel the reinit work before we tear down the driver structures. Reported-by: Bodong Zhao <nopitydays@gmail.com> Tested-by: Bodong Zhao <nopitydays@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmai...
Dmitry Torokhov
null
{'additions': 33, 'deletions': 8, 'total': 41}
[ { "additions": 33, "changes": 41, "deletions": 8, "patch": "@@ -99,7 +99,8 @@ static irqreturn_t sunkbd_interrupt(struct serio *serio,\n \tswitch (data) {\n \n \tcase SUNKBD_RET_RESET:\n-\t\tschedule_work(&sunkbd->tq);\n+\t\tif (sunkbd->enabled)\n+\t\t\tschedule_work(&sunkbd->tq);\n \t\tsunkbd->rese...
c
CWE-416
[ "drivers/input/keyboard/sunkbd.c" ]
drivers/input/keyboard/sunkbd.c
1
<?php eT("First name:"); ?> </label> <div class=""> <input class='form-control' type='text' size='30' id='firstname' name='firstname' value="<?php if (isset($firstname)) {echo $firstname; } ?>" /> </div> </div> <div...
<?php eT("First name:"); ?> </label> <div class=""> <?=TbHtml::textField('firstname', $firstname, [ 'class' => 'form-control', 'size' => '30', ]);?> </div> ...
CVE-2020-25797
{'CWE-79'}
2.9
{'https://github.com/LimeSurvey/LimeSurvey/commit/0a7bdfa1c166f734d11a1528c8d9a7d61b670ad7'}
nvd
LimeSurvey 3.21.1 is affected by cross-site scripting (XSS) in the Add Participants Function (First and last name parameters). When the survey participant being edited, e.g. by an administrative user, the JavaScript code will be executed in the browser.
2020-12-31
1
https://github.com/LimeSurvey/LimeSurvey
https://github.com/LimeSurvey/LimeSurvey/commit/0a7bdfa1c166f734d11a1528c8d9a7d61b670ad7
0a7bdfa1c166f734d11a1528c8d9a7d61b670ad7
SINGLE
['0a7bdfa1c166f734d11a1528c8d9a7d61b670ad7']
{'6d15b9000a29644c87469af3aca94194bc29575e'}
0a7bdfa1c166f734d11a1528c8d9a7d61b670ad7
1
12/19/2019, 15:15:41
Fixed issue #15680: LimeSurvey 3.21.1 Cross Site Scripting Stored
lacrioque
{'com_1': {'author': 'guramj', 'datetime': '03/01/2020, 21:53:31', 'body': 'Hi, \r\nSince this issue is already resolved, could you please assign CVE for this vulnerability?\r\nThanks!'}, 'com_2': {'author': 'guramj', 'datetime': '03/01/2020, 21:58:08', 'body': 'And also, would it be possible to disclose this vulnerabi...
{'additions': 19, 'deletions': 4, 'total': 23}
[ { "additions": 19, "changes": 23, "deletions": 4, "patch": "@@ -147,15 +147,21 @@\n <?php eT(\"First name:\"); ?>\n </label>\n <div class=\"\">\n- <input class='form-control' type='text' size='30' id='firstname' name='firstname' value=\"...
php
CWE-79
[ "application/views/admin/token/tokenform.php" ]
application/views/admin/token/tokenform.php
1
foreach($model->getAttributesValues($model->attribute_id) as $attribute_value){ echo "<div class='control-group'>"; echo "<div class='dropDownContainer col-xs-8 col-offset-xs-2'>"; echo "<input class='form-control' name='ParticipantAttributeNa...
foreach($model->getAttributesValues($model->attribute_id) as $attribute_value){ echo "<div class='control-group'>"; echo "<div class='dropDownContainer col-xs-8 col-offset-xs-2'>"; echo TbHtml::textField('ParticipantAttributeNamesDropdown[]', ...
CVE-2020-25798
{'CWE-79'}
2.9
{'https://github.com/LimeSurvey/LimeSurvey/commit/38e1ab069b538de7cb5f3a04939aba8e835640cb'}
nvd
A stored cross-site scripting (XSS) vulnerability in LimeSurvey before and including 3.21.1 allows authenticated users with correct permissions to inject arbitrary web script or HTML via parameter ParticipantAttributeNamesDropdown of the Attributes on the central participant database page. When the survey attribute bei...
2020-11-17
1
https://github.com/LimeSurvey/LimeSurvey
https://github.com/LimeSurvey/LimeSurvey/commit/38e1ab069b538de7cb5f3a04939aba8e835640cb
38e1ab069b538de7cb5f3a04939aba8e835640cb
SINGLE
['38e1ab069b538de7cb5f3a04939aba8e835640cb']
{'0a7bdfa1c166f734d11a1528c8d9a7d61b670ad7'}
38e1ab069b538de7cb5f3a04939aba8e835640cb
1
12/19/2019, 15:23:08
Fixed issue #15672: LimeSurvey 3.21.1 Cross Site Scripting
lacrioque
{'com_1': {'author': 'guramj', 'datetime': '03/01/2020, 21:56:13', 'body': 'Hi, \r\nSince this issue is already resolved, could you please assign CVE for this vulnerability? Also, would it be possible to disclose this vulnerability to public? https://bugs.limesurvey.org/view.php?id=15672 \r\n\r\nThanks!'}, 'com_2': {'...
{'additions': 5, 'deletions': 1, 'total': 6}
[ { "additions": 5, "changes": 6, "deletions": 1, "patch": "@@ -59,7 +59,11 @@\n foreach($model->getAttributesValues($model->attribute_id) as $attribute_value){\n echo \"<div class='control-group'>\";\n echo \"<div class='dropDownContainer col-xs...
php
CWE-79
[ "application/views/admin/participants/modal_subviews/_editAttribute.php" ]
application/views/admin/participants/modal_subviews/_editAttribute.php
1
break; case 'CUSTOM' : $t_custom_field_def = custom_field_get_definition( $t_custom_field_id ); $t_question_title = sprintf( lang_get( 'actiongroup_menu_update_field' ), lang_get_defaulted( $t_custom_field_def['name'] ) ); $t_button_title = $t_question_title; $t_form = 'custom_field_' . $t_custom_field_id; ...
break; case 'CUSTOM' : $t_custom_field_def = custom_field_get_definition( $t_custom_field_id ); $t_question_title = sprintf( lang_get( 'actiongroup_menu_update_field' ), string_attribute( lang_get_defaulted( $t_custom_field_def['name'] ) ) ); $t_button_title = $t_question_title; $t_form = 'custom_field...
CVE-2020-25830
{'CWE-79'}
2.9
{'http://github.com/mantisbt/mantisbt/commit/8c6f4d8859785b67fb80ac65100ac5259ed9237d'}
nvd
An issue was discovered in MantisBT before 2.24.3. Improper escaping of a custom field's name allows an attacker to inject HTML and, if CSP settings permit, achieve execution of arbitrary JavaScript when attempting to update said custom field via bug_actiongroup_page.php.
2020-09-30
1
http://github.com/mantisbt/mantisbt
http://github.com/mantisbt/mantisbt/commit/8c6f4d8859785b67fb80ac65100ac5259ed9237d
8c6f4d8859785b67fb80ac65100ac5259ed9237d
SINGLE
['8c6f4d8859785b67fb80ac65100ac5259ed9237d']
{'26bbae76424c27ccf57ca8818e219cb8096f03fd'}
8c6f4d8859785b67fb80ac65100ac5259ed9237d
1
09/23/2020, 16:36:32
Fix XSS in bug_actiongroup_page.php Improper escaping of the custom field's name allowed an attacker to inject HTML into the page. Credits to d3vpoo1 (https://gitlab.com/jrckmcsb) for the finding. Fixes #27304
Damien Regad
null
{'additions': 3, 'deletions': 1, 'total': 4}
[ { "additions": 3, "changes": 4, "deletions": 1, "patch": "@@ -225,7 +225,9 @@\n \t\tbreak;\n \tcase 'CUSTOM' :\n \t\t$t_custom_field_def = custom_field_get_definition( $t_custom_field_id );\n-\t\t$t_question_title = sprintf( lang_get( 'actiongroup_menu_update_field' ), lang_get_defaulted( $t_custom_...
php
CWE-79
[ "bug_actiongroup_page.php" ]
bug_actiongroup_page.php
1
int ReadJpegSections (FILE * infile, ReadMode_t ReadMode) Sections[SectionsRead].Size = itemlen; Data = (uchar *)malloc(itemlen); if (Data == NULL){ ErrFatal("Could not allocate memory"); } int ReplaceThumbnail(const char * ThumbFileName) return FALSE; ...
int ReadJpegSections (FILE * infile, ReadMode_t ReadMode) Sections[SectionsRead].Size = itemlen; // Allocate an extra 20 bytes more than needed, because sometimes when reading structures, // if the section erroneously ends before short structures that should be there, that can trip //...
CVE-2020-26208
{'CWE-787'}
4.9
{'https://github.com/F-ZhaoYang/jhead/commit/5186ddcf9e35a7aa0ff0539489a930434a1325f4'}
nvd
JHEAD is a simple command line tool for displaying and some manipulation of EXIF header data embedded in Jpeg images from digital cameras. In affected versions there is a heap-buffer-overflow on jhead-3.04/jpgfile.c:285 ReadJpegSections. Crafted jpeg images can be provided to the user resulting in a program crash or po...
2022-02-02
1
https://github.com/F-ZhaoYang/jhead
https://github.com/F-ZhaoYang/jhead/commit/5186ddcf9e35a7aa0ff0539489a930434a1325f4
5186ddcf9e35a7aa0ff0539489a930434a1325f4
SINGLE
['5186ddcf9e35a7aa0ff0539489a930434a1325f4']
{'de444f57702d624ab80e57cbecf94b17a4cfaba5'}
5186ddcf9e35a7aa0ff0539489a930434a1325f4
1
10/23/2020, 13:17:20
Just allocate 20 bytes extra at the end of a section. Otherwise, we end up with a whole lot of little checks for structures that the file says are there but are unexpectedly cut off in fuzz tests
Matthias
null
{'additions': 5, 'deletions': 2, 'total': 7}
[ { "additions": 5, "changes": 7, "deletions": 2, "patch": "@@ -169,7 +169,10 @@ int ReadJpegSections (FILE * infile, ReadMode_t ReadMode)\n \r\n Sections[SectionsRead].Size = itemlen;\r\n \r\n- Data = (uchar *)malloc(itemlen);\r\n+ // Allocate an extra 20 bytes more than needed,...
c
CWE-787
[ "jpgfile.c" ]
jpgfile.c
1
export default async function ({ addon, console }) { let element = await addon.tab.waitForElement(".project-description", { markAsSeen: true }); // Need to convert #[numbers] to solve conflict between tags and external Scratch player links. document.querySelectorAll(".project-description ...
export default async function ({ addon, console }) { let element = await addon.tab.waitForElement(".project-description", { markAsSeen: true }); // Need to convert #[numbers] to solve conflict between tags and external Scratch player links. document.querySelectorAll(".project-description ...
CVE-2020-26239
{'CWE-79'}
2.9
{'https://github.com/ScratchAddons/ScratchAddons/commit/b9a52d6532c8514254c7cc1d8e18710dbedc41ff'}
nvd
Scratch Addons is a WebExtension that supports both Chrome and Firefox. Scratch Addons before version 1.3.2 is vulnerable to DOM-based XSS. If the victim visited a specific website, the More Links addon of the Scratch Addons extension used incorrect regular expression which caused the HTML-escaped values to be unescape...
2020-11-23
1
https://github.com/ScratchAddons/ScratchAddons
https://github.com/ScratchAddons/ScratchAddons/commit/b9a52d6532c8514254c7cc1d8e18710dbedc41ff
b9a52d6532c8514254c7cc1d8e18710dbedc41ff
SINGLE
['b9a52d6532c8514254c7cc1d8e18710dbedc41ff']
{'7afa25ee920701fc73a8e167bb752a15adb5d6d2'}
b9a52d6532c8514254c7cc1d8e18710dbedc41ff
1
11/23/2020, 14:56:17
SECURITY: Fix DOM XSS in More Links addon
apple502j
null
{'additions': 4, 'deletions': 1, 'total': 5}
[ { "additions": 4, "changes": 5, "deletions": 1, "patch": "@@ -15,7 +15,10 @@ export default async function ({ addon, console }) {\n let element = await addon.tab.waitForElement(\".project-description\", { markAsSeen: true });\n // Need to convert #[numbers] to solve conflict betw...
js
CWE-79
[ "addons/more-links/userscript.js" ]
addons/more-links/userscript.js
1
class Mage_Core_Model_Layout extends Varien_Simplexml_Config */ protected $_directOutput = false; /** * Class constructor * protected function _generateAction($node, $parent) } } $this->_translateLayoutNode($node, $args); call_user_func_array...
class Mage_Core_Model_Layout extends Varien_Simplexml_Config */ protected $_directOutput = false; protected $invalidActions = [ // explicitly not using class constant here Mage_Page_Block_Html_Topmenu_Renderer::class // if the class does not exists it breaks. [...
CVE-2020-26252
{'CWE-22', 'CWE-434'}
6.4
{'https://github.com/OpenMage/magento-lts/commit/0786aa48bc7b618cfe37b59f45e1da3714c533c3'}
nvd
OpenMage is a community-driven alternative to Magento CE. In OpenMage before versions 19.4.10 and 20.0.6, there is a vulnerability which enables remote code execution. In affected versions an administrator with permission to update product data to be able to store an executable file on the server and load it via layout...
2021-01-20
1
https://github.com/OpenMage/magento-lts
https://github.com/OpenMage/magento-lts/commit/0786aa48bc7b618cfe37b59f45e1da3714c533c3
0786aa48bc7b618cfe37b59f45e1da3714c533c3
SINGLE
['0786aa48bc7b618cfe37b59f45e1da3714c533c3']
{'5580c3499b7bdcbc967834eaf7ef17ce596c7ab3', '33ac0d84b8aae2ac640751897c11fd1d97c88903'}
0786aa48bc7b618cfe37b59f45e1da3714c533c3
1
01/19/2021, 15:17:49
Merge pull request from GHSA-99m6-r53j-4hh2 Fix for Layout XML RCE Vulnerability
Mark Lewis
null
{'additions': 28, 'deletions': 0, 'total': 28}
[ { "additions": 28, "changes": 28, "deletions": 0, "patch": "@@ -74,6 +74,14 @@ class Mage_Core_Model_Layout extends Varien_Simplexml_Config\n */\n protected $_directOutput = false;\n \n+ protected $invalidActions\n+ = [\n+ // explicitly not using class constant here Mag...
php
CWE-434
[ "app/code/core/Mage/Core/Model/Layout.php" ]
app/code/core/Mage/Core/Model/Layout.php
1
class Mage_Core_Model_Layout extends Varien_Simplexml_Config */ protected $_directOutput = false; /** * Class constructor * protected function _generateAction($node, $parent) } } $this->_translateLayoutNode($node, $args); call_user_func_array...
class Mage_Core_Model_Layout extends Varien_Simplexml_Config */ protected $_directOutput = false; protected $invalidActions = [ // explicitly not using class constant here Mage_Page_Block_Html_Topmenu_Renderer::class // if the class does not exists it breaks. [...
CVE-2020-26252
{'CWE-22', 'CWE-434'}
6.4
{'https://github.com/OpenMage/magento-lts/commit/0786aa48bc7b618cfe37b59f45e1da3714c533c3'}
nvd
OpenMage is a community-driven alternative to Magento CE. In OpenMage before versions 19.4.10 and 20.0.6, there is a vulnerability which enables remote code execution. In affected versions an administrator with permission to update product data to be able to store an executable file on the server and load it via layout...
2021-01-20
1
https://github.com/OpenMage/magento-lts
https://github.com/OpenMage/magento-lts/commit/0786aa48bc7b618cfe37b59f45e1da3714c533c3
0786aa48bc7b618cfe37b59f45e1da3714c533c3
SINGLE
['0786aa48bc7b618cfe37b59f45e1da3714c533c3']
{'5580c3499b7bdcbc967834eaf7ef17ce596c7ab3', '33ac0d84b8aae2ac640751897c11fd1d97c88903'}
0786aa48bc7b618cfe37b59f45e1da3714c533c3
1
01/19/2021, 15:17:49
Merge pull request from GHSA-99m6-r53j-4hh2 Fix for Layout XML RCE Vulnerability
Mark Lewis
null
{'additions': 28, 'deletions': 0, 'total': 28}
[ { "additions": 28, "changes": 28, "deletions": 0, "patch": "@@ -74,6 +74,14 @@ class Mage_Core_Model_Layout extends Varien_Simplexml_Config\n */\n protected $_directOutput = false;\n \n+ protected $invalidActions\n+ = [\n+ // explicitly not using class constant here Mag...
php
CWE-22
[ "app/code/core/Mage/Core/Model/Layout.php" ]
app/code/core/Mage/Core/Model/Layout.php
1
public function getWidgetSupportedTemplatesByBlock($blockReference) */ public function generateLayoutUpdateXml($blockReference, $templatePath = '') { $templateFilename = Mage::getSingleton('core/design_package')->getTemplateFilename($templatePath, array( '_area' => $this->getArea(),...
public function getWidgetSupportedTemplatesByBlock($blockReference) */ public function generateLayoutUpdateXml($blockReference, $templatePath = '') { if ($templatePath !== htmlspecialchars($templatePath, ENT_QUOTES | ENT_HTML5) || $blockReference !== htmlspecialchars($blockReference, ENT_QUO...
CVE-2020-26285
{'CWE-22', 'CWE-434'}
6.4
{'https://github.com/OpenMage/magento-lts/commit/4132668f5009f17456fe644742026f56d2297586'}
nvd
OpenMage is a community-driven alternative to Magento CE. In OpenMage before versions 19.4.10 and 20.0.5, there is a vulnerability which enables remote code execution. In affected versions an administrator with permission to import/export data and to create widget instances was able to inject an executable file on the ...
2021-01-21
1
https://github.com/OpenMage/magento-lts
https://github.com/OpenMage/magento-lts/commit/4132668f5009f17456fe644742026f56d2297586
4132668f5009f17456fe644742026f56d2297586
SINGLE
['4132668f5009f17456fe644742026f56d2297586']
{'32940abba6297f95f89f9247770549af8ce3af78', '0786aa48bc7b618cfe37b59f45e1da3714c533c3'}
4132668f5009f17456fe644742026f56d2297586
1
01/19/2021, 15:19:01
Merge pull request from GHSA-hj6w-xrv3-wjj9 Security fix for GHSA-hj6w-xrv3-wjj9
Mark Lewis
null
{'additions': 5, 'deletions': 0, 'total': 5}
[ { "additions": 5, "changes": 5, "deletions": 0, "patch": "@@ -495,6 +495,11 @@ public function getWidgetSupportedTemplatesByBlock($blockReference)\n */\n public function generateLayoutUpdateXml($blockReference, $templatePath = '')\n {\n+ if ($templatePath !== htmlspecialchars($temp...
php
CWE-434
[ "app/code/core/Mage/Widget/Model/Widget/Instance.php" ]
app/code/core/Mage/Widget/Model/Widget/Instance.php
1
public function getWidgetSupportedTemplatesByBlock($blockReference) */ public function generateLayoutUpdateXml($blockReference, $templatePath = '') { $templateFilename = Mage::getSingleton('core/design_package')->getTemplateFilename($templatePath, array( '_area' => $this->getArea(),...
public function getWidgetSupportedTemplatesByBlock($blockReference) */ public function generateLayoutUpdateXml($blockReference, $templatePath = '') { if ($templatePath !== htmlspecialchars($templatePath, ENT_QUOTES | ENT_HTML5) || $blockReference !== htmlspecialchars($blockReference, ENT_QUO...
CVE-2020-26285
{'CWE-22', 'CWE-434'}
6.4
{'https://github.com/OpenMage/magento-lts/commit/4132668f5009f17456fe644742026f56d2297586'}
nvd
OpenMage is a community-driven alternative to Magento CE. In OpenMage before versions 19.4.10 and 20.0.5, there is a vulnerability which enables remote code execution. In affected versions an administrator with permission to import/export data and to create widget instances was able to inject an executable file on the ...
2021-01-21
1
https://github.com/OpenMage/magento-lts
https://github.com/OpenMage/magento-lts/commit/4132668f5009f17456fe644742026f56d2297586
4132668f5009f17456fe644742026f56d2297586
SINGLE
['4132668f5009f17456fe644742026f56d2297586']
{'32940abba6297f95f89f9247770549af8ce3af78', '0786aa48bc7b618cfe37b59f45e1da3714c533c3'}
4132668f5009f17456fe644742026f56d2297586
1
01/19/2021, 15:19:01
Merge pull request from GHSA-hj6w-xrv3-wjj9 Security fix for GHSA-hj6w-xrv3-wjj9
Mark Lewis
null
{'additions': 5, 'deletions': 0, 'total': 5}
[ { "additions": 5, "changes": 5, "deletions": 0, "patch": "@@ -495,6 +495,11 @@ public function getWidgetSupportedTemplatesByBlock($blockReference)\n */\n public function generateLayoutUpdateXml($blockReference, $templatePath = '')\n {\n+ if ($templatePath !== htmlspecialchars($temp...
php
CWE-22
[ "app/code/core/Mage/Widget/Model/Widget/Instance.php" ]
app/code/core/Mage/Widget/Model/Widget/Instance.php
1
export function finishView (view) { window.mermaid.mermaidAPI.parse($value.text()) $ele.addClass('mermaid') $ele.html($value.text()) window.mermaid.init(undefined, $ele) } catch (err) { var errormessage = err
export function finishView (view) { window.mermaid.mermaidAPI.parse($value.text()) $ele.addClass('mermaid') $ele.text($value.text()) window.mermaid.init(undefined, $ele) } catch (err) { var errormessage = err
CVE-2020-26287
{'CWE-79'}
2.9
{'https://github.com/hedgedoc/hedgedoc/commit/58276ebbf4504a682454a3686dcaff88bc1069d4'}
nvd
HedgeDoc is a collaborative platform for writing and sharing markdown. In HedgeDoc before version 1.7.1 an attacker can inject arbitrary `script` tags in HedgeDoc notes using mermaid diagrams. Our content security policy prevents loading scripts from most locations, but `www.google-analytics.com` is allowed. Using Goog...
2020-12-29
1
https://github.com/hedgedoc/hedgedoc
https://github.com/hedgedoc/hedgedoc/commit/58276ebbf4504a682454a3686dcaff88bc1069d4
58276ebbf4504a682454a3686dcaff88bc1069d4
SINGLE
['58276ebbf4504a682454a3686dcaff88bc1069d4']
{'b23035c9a864eaa5efaa0423f1bab323ee0f8022', 'c32b1cf42b8ec96571815efc4a22a2207519807d'}
58276ebbf4504a682454a3686dcaff88bc1069d4
1
12/27/2020, 18:49:57
Merge pull request from GHSA-g6w6-7xf9-m95p Don't store mermaid diagrams in innerHTML
David Mehren
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -386,7 +386,7 @@ export function finishView (view) {\n \n window.mermaid.mermaidAPI.parse($value.text())\n $ele.addClass('mermaid')\n- $ele.html($value.text())\n+ $ele.text($value.text())\n window.mermaid.init(u...
js
CWE-79
[ "public/js/extra.js" ]
public/js/extra.js
1
sc_oberthur_read_file(struct sc_pkcs15_card *p15card, const char *in_path, rv = sc_read_binary(card, 0, *out, sz, 0); } else { int rec; int offs = 0; int rec_len = file->record_length; for (rec = 1; ; rec++) { rv = sc_read_record(card, rec, *out + offs + 2, rec_len, SC_RECORD_BY_REC_NR); if (rv ==...
sc_oberthur_read_file(struct sc_pkcs15_card *p15card, const char *in_path, rv = sc_read_binary(card, 0, *out, sz, 0); } else { size_t rec; size_t offs = 0; size_t rec_len = file->record_length; for (rec = 1; ; rec++) { if (rec > file->record_count) { rv = 0; break; } rv = sc_read_record...
CVE-2020-26570
{'CWE-787'}
2.9
{'https://github.com/OpenSC/OpenSC/commit/6903aebfddc466d966c7b865fae34572bf3ed23e'}
nvd
The Oberthur smart card software driver in OpenSC before 0.21.0-rc1 has a heap-based buffer overflow in sc_oberthur_read_file.
2020-10-06
1
https://github.com/OpenSC/OpenSC
https://github.com/OpenSC/OpenSC/commit/6903aebfddc466d966c7b865fae34572bf3ed23e
6903aebfddc466d966c7b865fae34572bf3ed23e
SINGLE
['6903aebfddc466d966c7b865fae34572bf3ed23e']
{'9ffb9bae63c8b7fbababb8481a83f1b575e59a18'}
6903aebfddc466d966c7b865fae34572bf3ed23e
1
07/30/2020, 00:21:17
Heap-buffer-overflow WRITE fixes https://oss-fuzz.com/testcase-detail/5088104168554496
Frank Morgner
null
{'additions': 7, 'deletions': 3, 'total': 10}
[ { "additions": 7, "changes": 10, "deletions": 3, "patch": "@@ -271,11 +271,15 @@ sc_oberthur_read_file(struct sc_pkcs15_card *p15card, const char *in_path,\n \t\trv = sc_read_binary(card, 0, *out, sz, 0);\n \t}\n \telse\t{\n-\t\tint rec;\n-\t\tint offs = 0;\n-\t\tint rec_len = file->record_length;\n...
c
CWE-787
[ "src/libopensc/pkcs15-oberthur.c" ]
src/libopensc/pkcs15-oberthur.c
1
<label for="inputUser" class="sr-only">Username</label> <input type="text" name="username" id="inputUser" class="form-control" placeholder="Username" value="<?= isset($_POST['username']) ? $_POST['username'] : '' ?>" required <?= isset($_POST['username']) ? '' : 'autofocus' ?>>...
<label for="inputUser" class="sr-only">Username</label> <input type="text" name="username" id="inputUser" class="form-control" placeholder="Username" value="<?= isset($_POST['username']) ? htmlentities($_POST['username'], defined('ENT_SUBSTITUTE') ? (ENT_QUOTES | ENT_SUBSTITUTE) : ENT_QUO...
CVE-2020-27163
{'CWE-79'}
2.9
{'https://github.com/erikdubbelboer/phpRedisAdmin/commit/eddaa674536d2e76e6d0b4efeb00604e992eab8f'}
nvd
phpRedisAdmin before 1.13.2 allows XSS via the login.php username parameter.
2020-10-16
1
https://github.com/erikdubbelboer/phpRedisAdmin
https://github.com/erikdubbelboer/phpRedisAdmin/commit/eddaa674536d2e76e6d0b4efeb00604e992eab8f
eddaa674536d2e76e6d0b4efeb00604e992eab8f
SINGLE
['eddaa674536d2e76e6d0b4efeb00604e992eab8f']
{'1ee43ae7c2ad415cc99086575d66dfd9df6831fb'}
eddaa674536d2e76e6d0b4efeb00604e992eab8f
1
10/14/2020, 16:03:41
Fix XSS
Erik Dubbelboer
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -25,7 +25,7 @@\n <label for=\"inputUser\" class=\"sr-only\">Username</label>\n <input type=\"text\" name=\"username\" id=\"inputUser\" class=\"form-control\"\n placeholder=\"Username\"\n- value=\"<?= isset($_PO...
php
CWE-79
[ "login.php" ]
login.php
1
input_csi_dispatch_sgr_colon(struct input_ctx *ictx, u_int i) free(copy); return; } } else n++; log_debug("%s: %u = %d", __func__, n - 1, p[n - 1]); } free(copy);
input_csi_dispatch_sgr_colon(struct input_ctx *ictx, u_int i) free(copy); return; } } else { n++; if (n == nitems(p)) { free(copy); return; } } log_debug("%s: %u = %d", __func__, n - 1, p[n - 1]); } free(copy);
CVE-2020-27347
{'CWE-787'}
6.4
{'https://github.com/tmux/tmux/commit/a868bacb46e3c900530bed47a1c6f85b0fbe701c'}
nvd
In tmux before version 3.1c the function input_csi_dispatch_sgr_colon() in file input.c contained a stack-based buffer-overflow that can be exploited by terminal output.
2020-11-06
1
https://github.com/tmux/tmux
https://github.com/tmux/tmux/commit/a868bacb46e3c900530bed47a1c6f85b0fbe701c
a868bacb46e3c900530bed47a1c6f85b0fbe701c
SINGLE
['a868bacb46e3c900530bed47a1c6f85b0fbe701c']
{'b33a302235affc19d8a1d8f7473fe589d1bcd17e'}
a868bacb46e3c900530bed47a1c6f85b0fbe701c
1
10/29/2020, 16:33:01
Do not write after the end of the array and overwrite the stack when colon-separated SGR sequences contain empty arguments. Reported by Sergey Nizovtsev.
nicm
{'com_1': {'author': 'jzmexec', 'datetime': '12/03/2020, 06:17:40', 'body': 'In line 1981. Is the ">=" condition better here? @nicm'}}
{'additions': 6, 'deletions': 1, 'total': 7}
[ { "additions": 6, "changes": 7, "deletions": 1, "patch": "@@ -1976,8 +1976,13 @@ input_csi_dispatch_sgr_colon(struct input_ctx *ictx, u_int i)\n \t\t\t\tfree(copy);\n \t\t\t\treturn;\n \t\t\t}\n-\t\t} else\n+\t\t} else {\n \t\t\tn++;\n+\t\t\tif (n == nitems(p)) {\n+\t\t\t\tfree(copy);\n+\t\t\t\tretu...
c
CWE-787
[ "input.c" ]
input.c
1
class FileManagerController extends Controller{ /** * Display a listing of the resource. public function fileupload(){ if ($this->request->hasFile('up_file')){ foreach($this->request->up_file as $file){ $images[] = $file->store(str_replace("storage/", "", $t...
class FileManagerController extends Controller{ private function validationRegex(){ return '/^.*\.('.implode('|',["php","php5","php7"]).')$/i'; } /** * Display a listing of the resource. public function fileupload(){ if ($this->request->hasFile('up_file')){ fo...
CVE-2020-27387
{'CWE-434'}
6.4
{'https://github.com/ttimot24/HorizontCMS/commit/436b5ab679fd27afa3d99c023dbe103113da4fee'}
nvd
An unrestricted file upload issue in HorizontCMS through 1.0.0-beta allows an authenticated remote attacker (with access to the FileManager) to upload and execute arbitrary PHP code by uploading a PHP payload, and then using the FileManager's rename function to provide the payload (which will receive a random name on t...
2020-11-05
1
https://github.com/ttimot24/HorizontCMS
https://github.com/ttimot24/HorizontCMS/commit/436b5ab679fd27afa3d99c023dbe103113da4fee
436b5ab679fd27afa3d99c023dbe103113da4fee
SINGLE
['436b5ab679fd27afa3d99c023dbe103113da4fee']
{'a056babd651c8e1aba4ec17433196b9859ed4866'}
436b5ab679fd27afa3d99c023dbe103113da4fee
1
10/23/2020, 17:58:00
Security bug fix.
Timot Tarjani
null
{'additions': 11, 'deletions': 2, 'total': 13}
[ { "additions": 11, "changes": 13, "deletions": 2, "patch": "@@ -10,6 +10,10 @@\n class FileManagerController extends Controller{\n \n \n+ private function validationRegex(){\n+ return '/^.*\\.('.implode('|',[\"php\",\"php5\",\"php7\"]).')$/i';\n+ }\n+\n \n /**\n * Display a li...
php
CWE-434
[ "app/Controllers/FileManagerController.php" ]
app/Controllers/FileManagerController.php
1
static Image *OptimizeLayerFrames(const Image *image,const LayerMethod method, if ( disposals[i] == DelDispose ) { size_t time = 0; while ( disposals[i] == DelDispose ) { time += curr->delay*1000/curr->ticks_per_second; curr=GetNextImageInList(curr); i++; } time += c...
static Image *OptimizeLayerFrames(const Image *image,const LayerMethod method, if ( disposals[i] == DelDispose ) { size_t time = 0; while ( disposals[i] == DelDispose ) { time +=(size_t) (curr->delay*1000* PerceptibleReciprocal((double) curr->ticks_per_second)); curr=GetNextIm...
CVE-2020-27560
{'CWE-369'}
2.9
{'https://github.com/ImageMagick/ImageMagick/commit/ef59bd764f88d893f1219fee8ba696a5d3f8c1c4'}
nvd
ImageMagick 7.0.10-34 allows Division by Zero in OptimizeLayerFrames in MagickCore/layer.c, which may cause a denial of service.
2020-10-22
1
https://github.com/ImageMagick/ImageMagick
https://github.com/ImageMagick/ImageMagick/commit/ef59bd764f88d893f1219fee8ba696a5d3f8c1c4
ef59bd764f88d893f1219fee8ba696a5d3f8c1c4
SINGLE
['ef59bd764f88d893f1219fee8ba696a5d3f8c1c4']
{'05cac328e8dc2bd8ce07e013c270c6cc81bb9414'}
ef59bd764f88d893f1219fee8ba696a5d3f8c1c4
1
10/19/2020, 01:18:07
There is a Division by Zero in function OptimizeLayerFrames (#2743) in file MagickCore/layer.c. cur->ticks_per_seconds can be zero with a crafted input argument *image. This is similar to CVE-2019-13454.
bonniegong
null
{'additions': 4, 'deletions': 2, 'total': 6}
[ { "additions": 4, "changes": 6, "deletions": 2, "patch": "@@ -1352,11 +1352,13 @@ static Image *OptimizeLayerFrames(const Image *image,const LayerMethod method,\n if ( disposals[i] == DelDispose ) {\n size_t time = 0;\n while ( disposals[i] == DelDispose ) {\n- time += curr->d...
c
CWE-369
[ "MagickCore/layer.c" ]
MagickCore/layer.c
1
#include <linux/slab.h> #include <linux/irqnr.h> #include <linux/pci.h> #ifdef CONFIG_X86 #include <asm/desc.h> const struct evtchn_ops *evtchn_ops; */ static DEFINE_MUTEX(irq_mapping_update_lock); static LIST_HEAD(xen_irq_list_head); /* IRQ <-> VIRQ mapping. */ static void clear_evtchn_to_irq_row(unsigned row) u...
#include <linux/slab.h> #include <linux/irqnr.h> #include <linux/pci.h> #include <linux/spinlock.h> #ifdef CONFIG_X86 #include <asm/desc.h> const struct evtchn_ops *evtchn_ops; */ static DEFINE_MUTEX(irq_mapping_update_lock); /* * Lock protecting event handling loop against removing event channels. * Adding of ev...
CVE-2020-27675
{'CWE-416', 'CWE-476', 'CWE-362'}
6.9
{'https://github.com/torvalds/linux/commit/073d0552ead5bfc7a3a9c01de590e924f11b5dd2'}
nvd
An issue was discovered in the Linux kernel through 5.9.1, as used with Xen through 4.14.x. drivers/xen/events/events_base.c allows event-channel removal during the event-handling loop (a race condition). This can cause a use-after-free or NULL pointer dereference, as demonstrated by a dom0 crash via events for an in-r...
2020-10-22
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/073d0552ead5bfc7a3a9c01de590e924f11b5dd2
073d0552ead5bfc7a3a9c01de590e924f11b5dd2
SINGLE
['073d0552ead5bfc7a3a9c01de590e924f11b5dd2']
{'32118f97f41d26a2447118fa956715cb4bd1bdac'}
073d0552ead5bfc7a3a9c01de590e924f11b5dd2
1
09/07/2020, 13:47:27
xen/events: avoid removing an event channel while handling it Today it can happen that an event channel is being removed from the system while the event handling loop is active. This can lead to a race resulting in crashes or WARN() splats when trying to access the irq_info structure related to the event channel. Fix...
Juergen Gross
null
{'additions': 36, 'deletions': 5, 'total': 41}
[ { "additions": 36, "changes": 41, "deletions": 5, "patch": "@@ -33,6 +33,7 @@\n #include <linux/slab.h>\n #include <linux/irqnr.h>\n #include <linux/pci.h>\n+#include <linux/spinlock.h>\n \n #ifdef CONFIG_X86\n #include <asm/desc.h>\n@@ -71,6 +72,23 @@ const struct evtchn_ops *evtchn_ops;\n */\n st...
c
CWE-416
[ "drivers/xen/events/events_base.c" ]
drivers/xen/events/events_base.c
1
#include <linux/slab.h> #include <linux/irqnr.h> #include <linux/pci.h> #ifdef CONFIG_X86 #include <asm/desc.h> const struct evtchn_ops *evtchn_ops; */ static DEFINE_MUTEX(irq_mapping_update_lock); static LIST_HEAD(xen_irq_list_head); /* IRQ <-> VIRQ mapping. */ static void clear_evtchn_to_irq_row(unsigned row) u...
#include <linux/slab.h> #include <linux/irqnr.h> #include <linux/pci.h> #include <linux/spinlock.h> #ifdef CONFIG_X86 #include <asm/desc.h> const struct evtchn_ops *evtchn_ops; */ static DEFINE_MUTEX(irq_mapping_update_lock); /* * Lock protecting event handling loop against removing event channels. * Adding of ev...
CVE-2020-27675
{'CWE-416', 'CWE-476', 'CWE-362'}
6.9
{'https://github.com/torvalds/linux/commit/073d0552ead5bfc7a3a9c01de590e924f11b5dd2'}
nvd
An issue was discovered in the Linux kernel through 5.9.1, as used with Xen through 4.14.x. drivers/xen/events/events_base.c allows event-channel removal during the event-handling loop (a race condition). This can cause a use-after-free or NULL pointer dereference, as demonstrated by a dom0 crash via events for an in-r...
2020-10-22
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/073d0552ead5bfc7a3a9c01de590e924f11b5dd2
073d0552ead5bfc7a3a9c01de590e924f11b5dd2
SINGLE
['073d0552ead5bfc7a3a9c01de590e924f11b5dd2']
{'32118f97f41d26a2447118fa956715cb4bd1bdac'}
073d0552ead5bfc7a3a9c01de590e924f11b5dd2
1
09/07/2020, 13:47:27
xen/events: avoid removing an event channel while handling it Today it can happen that an event channel is being removed from the system while the event handling loop is active. This can lead to a race resulting in crashes or WARN() splats when trying to access the irq_info structure related to the event channel. Fix...
Juergen Gross
null
{'additions': 36, 'deletions': 5, 'total': 41}
[ { "additions": 36, "changes": 41, "deletions": 5, "patch": "@@ -33,6 +33,7 @@\n #include <linux/slab.h>\n #include <linux/irqnr.h>\n #include <linux/pci.h>\n+#include <linux/spinlock.h>\n \n #ifdef CONFIG_X86\n #include <asm/desc.h>\n@@ -71,6 +72,23 @@ const struct evtchn_ops *evtchn_ops;\n */\n st...
c
CWE-362
[ "drivers/xen/events/events_base.c" ]
drivers/xen/events/events_base.c
1
#include <linux/slab.h> #include <linux/irqnr.h> #include <linux/pci.h> #ifdef CONFIG_X86 #include <asm/desc.h> const struct evtchn_ops *evtchn_ops; */ static DEFINE_MUTEX(irq_mapping_update_lock); static LIST_HEAD(xen_irq_list_head); /* IRQ <-> VIRQ mapping. */ static void clear_evtchn_to_irq_row(unsigned row) u...
#include <linux/slab.h> #include <linux/irqnr.h> #include <linux/pci.h> #include <linux/spinlock.h> #ifdef CONFIG_X86 #include <asm/desc.h> const struct evtchn_ops *evtchn_ops; */ static DEFINE_MUTEX(irq_mapping_update_lock); /* * Lock protecting event handling loop against removing event channels. * Adding of ev...
CVE-2020-27675
{'CWE-416', 'CWE-476', 'CWE-362'}
6.9
{'https://github.com/torvalds/linux/commit/073d0552ead5bfc7a3a9c01de590e924f11b5dd2'}
nvd
An issue was discovered in the Linux kernel through 5.9.1, as used with Xen through 4.14.x. drivers/xen/events/events_base.c allows event-channel removal during the event-handling loop (a race condition). This can cause a use-after-free or NULL pointer dereference, as demonstrated by a dom0 crash via events for an in-r...
2020-10-22
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/073d0552ead5bfc7a3a9c01de590e924f11b5dd2
073d0552ead5bfc7a3a9c01de590e924f11b5dd2
SINGLE
['073d0552ead5bfc7a3a9c01de590e924f11b5dd2']
{'32118f97f41d26a2447118fa956715cb4bd1bdac'}
073d0552ead5bfc7a3a9c01de590e924f11b5dd2
1
09/07/2020, 13:47:27
xen/events: avoid removing an event channel while handling it Today it can happen that an event channel is being removed from the system while the event handling loop is active. This can lead to a race resulting in crashes or WARN() splats when trying to access the irq_info structure related to the event channel. Fix...
Juergen Gross
null
{'additions': 36, 'deletions': 5, 'total': 41}
[ { "additions": 36, "changes": 41, "deletions": 5, "patch": "@@ -33,6 +33,7 @@\n #include <linux/slab.h>\n #include <linux/irqnr.h>\n #include <linux/pci.h>\n+#include <linux/spinlock.h>\n \n #ifdef CONFIG_X86\n #include <asm/desc.h>\n@@ -71,6 +72,23 @@ const struct evtchn_ops *evtchn_ops;\n */\n st...
c
CWE-476
[ "drivers/xen/events/events_base.c" ]
drivers/xen/events/events_base.c
1
*/ /* * Copyright (c) 2019, Joyent, Inc. */ #include <syslog.h> parse_user_name(char *user_input, char **ret_username) * - we skip leading whitespaces and ignore trailing whitespaces */ while (*ptr != '\0') { if ((*ptr == ' ') || (*ptr == '\t')) break; else { username[index] = *ptr; index++; ...
*/ /* * Copyright 2020, Joyent, Inc. */ #include <syslog.h> parse_user_name(char *user_input, char **ret_username) * - we skip leading whitespaces and ignore trailing whitespaces */ while (*ptr != '\0') { if ((*ptr == ' ') || (*ptr == '\t') || (index >= PAM_MAX_RESP_SIZE)) { break; } else { u...
CVE-2020-27678
{'CWE-120'}
6.4
{'https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452'}
nvd
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.
2020-10-26
1
https://github.com/illumos/illumos-gate
https://github.com/illumos/illumos-gate/commit/1d276e0b382cf066dae93640746d8b4c54d15452
1d276e0b382cf066dae93640746d8b4c54d15452
SINGLE
['1d276e0b382cf066dae93640746d8b4c54d15452']
{'549e0fd315406a4a97f9043f44860eed39a715da'}
1d276e0b382cf066dae93640746d8b4c54d15452
1
10/22/2020, 12:34:07
13242 parse_user_name in PAM is sloppy Reviewed by: Alex Wilson <alex@cooperi.net> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
Dan McDonald
null
{'additions': 6, 'deletions': 5, 'total': 11}
[ { "additions": 6, "changes": 11, "deletions": 5, "patch": "@@ -24,7 +24,7 @@\n */\n \n /*\n- * Copyright (c) 2019, Joyent, Inc.\n+ * Copyright 2020, Joyent, Inc.\n */\n \n #include <syslog.h>\n@@ -656,19 +656,20 @@ parse_user_name(char *user_input, char **ret_username)\n \t * - we skip leading whi...
c
CWE-120
[ "usr/src/lib/libpam/pam_framework.c" ]
usr/src/lib/libpam/pam_framework.c
1
static MagickRealType ApplyEvaluateOperator(RandomInfo *random_info, } case AndEvaluateOperator: { result=(MagickRealType) ((size_t) pixel & (size_t) (value+0.5)); break; } case CosineEvaluateOperator: static MagickRealType ApplyEvaluateOperator(RandomInfo *random_info, } case L...
static MagickRealType ApplyEvaluateOperator(RandomInfo *random_info, } case AndEvaluateOperator: { result=(MagickRealType) ((ssize_t) pixel & (ssize_t) (value+0.5)); break; } case CosineEvaluateOperator: static MagickRealType ApplyEvaluateOperator(RandomInfo *random_info, } case...
CVE-2020-27764
{'CWE-190'}
2.9
{'https://github.com/ImageMagick/ImageMagick6/commit/3e21bc8a58b4ae38d24c7e283837cc279f35b6a5'}
nvd
In /MagickCore/statistic.c, there are several areas in ApplyEvaluateOperator() where a size_t cast should have been a ssize_t cast, which causes out-of-range values under some circumstances when a crafted input file is processed by ImageMagick. Red Hat Product Security marked this as Low severity because although it co...
2020-12-03
1
https://github.com/ImageMagick/ImageMagick6
https://github.com/ImageMagick/ImageMagick6/commit/3e21bc8a58b4ae38d24c7e283837cc279f35b6a5
3e21bc8a58b4ae38d24c7e283837cc279f35b6a5
SINGLE
['3e21bc8a58b4ae38d24c7e283837cc279f35b6a5']
{'6b169173585127299f4724f7880b575879c7f033'}
3e21bc8a58b4ae38d24c7e283837cc279f35b6a5
1
10/09/2019, 22:44:16
https://github.com/ImageMagick/ImageMagick/issues/1735
Cristy
null
{'additions': 5, 'deletions': 5, 'total': 10}
[ { "additions": 5, "changes": 10, "deletions": 5, "patch": "@@ -259,7 +259,7 @@ static MagickRealType ApplyEvaluateOperator(RandomInfo *random_info,\n }\n case AndEvaluateOperator:\n {\n- result=(MagickRealType) ((size_t) pixel & (size_t) (value+0.5));\n+ result=(MagickRealType)...
c
CWE-190
[ "magick/statistic.c" ]
magick/statistic.c
1
virtio_vq_init(struct virtio_base *base, uint32_t pfn) phys = (uint64_t)pfn << VRING_PAGE_BITS; size = vring_size(vq->qsize, VIRTIO_PCI_VRING_ALIGN); vb = paddr_guest2host(base->dev->vmctx, phys, size); /* First page(s) are descriptors... */ vq->desc = (struct vring_desc *)vb; virtio_vq_init(struct virtio_base *...
virtio_vq_init(struct virtio_base *base, uint32_t pfn) phys = (uint64_t)pfn << VRING_PAGE_BITS; size = vring_size(vq->qsize, VIRTIO_PCI_VRING_ALIGN); vb = paddr_guest2host(base->dev->vmctx, phys, size); if (!vb) goto error; /* First page(s) are descriptors... */ vq->desc = (struct vring_desc *)vb; virtio_vq_i...
CVE-2020-28346
{'CWE-476'}
2.9
{'https://github.com/projectacrn/acrn-hypervisor/pull/5453/commits/ae0ab82434509d6e75f4a2f1e1a0dd2ee3dc3681'}
nvd
ACRN through 2.2 has a devicemodel/hw/pci/virtio/virtio.c NULL Pointer Dereference.
2021-03-26
1
https://github.com/projectacrn/acrn-hypervisor
https://github.com/projectacrn/acrn-hypervisor/pull/5453/commits/ae0ab82434509d6e75f4a2f1e1a0dd2ee3dc3681
ae0ab82434509d6e75f4a2f1e1a0dd2ee3dc3681
SINGLE
['ae0ab82434509d6e75f4a2f1e1a0dd2ee3dc3681']
{'73f21a41ad268cfd71cf13fed14e385a3ef22240'}
ae0ab82434509d6e75f4a2f1e1a0dd2ee3dc3681
1
11/01/2020, 19:37:50
dm: virtio: check for paddr_guest2host return value paddr_guest2host can return NULL, but code paths in virtio are not checking the return value. _vq_record() initializes iov_base pointer using paddr_guest2host() but there is nothing in the flow that checks for NULL. Chane _vq_record to return -1 in case the address t...
Tomas Winkler
null
{'additions': 32, 'deletions': 5, 'total': 37}
[ { "additions": 32, "changes": 37, "deletions": 5, "patch": "@@ -296,6 +296,8 @@ virtio_vq_init(struct virtio_base *base, uint32_t pfn)\n \tphys = (uint64_t)pfn << VRING_PAGE_BITS;\n \tsize = vring_size(vq->qsize, VIRTIO_PCI_VRING_ALIGN);\n \tvb = paddr_guest2host(base->dev->vmctx, phys, size);\n+\ti...
c
CWE-476
[ "devicemodel/hw/pci/virtio/virtio.c" ]
devicemodel/hw/pci/virtio/virtio.c
1
public void write(byte[] b, int offset, int length) throws IOException { throw new NullPointerException(); } if (offset < 0 || offset + length > b.length) { throw new ArrayIndexOutOfBoundsException(); }
public void write(byte[] b, int offset, int length) throws IOException { throw new NullPointerException(); } if (offset < 0 || length < 0 || length > b.length || offset > b.length - length) { throw new ArrayIndexOutOfBoundsException(); }
CVE-2020-28371
{'CWE-190', 'CWE-787'}
6.4
{'https://github.com/ReadyTalk/avian/commit/0871979b298add320ca63f65060acb7532c8a0dd'}
nvd
** UNSUPPORTED WHEN ASSIGNED ** An issue was discovered in ReadyTalk Avian 1.2.0 before 2020-10-27. The FileOutputStream.write() method in FileOutputStream.java has a boundary check to prevent out-of-bounds memory read/write operations. However, an integer overflow leads to bypassing this check and achieving the out-of...
2020-11-09
1
https://github.com/ReadyTalk/avian
https://github.com/ReadyTalk/avian/commit/0871979b298add320ca63f65060acb7532c8a0dd
0871979b298add320ca63f65060acb7532c8a0dd
SINGLE
['0871979b298add320ca63f65060acb7532c8a0dd']
{'9bbd495a06bee9198c68b12c47533c4835d220ba'}
0871979b298add320ca63f65060acb7532c8a0dd
1
10/27/2020, 09:13:59
Fix integer overflow leading to out-of-bounds read/write
Pietro Oliva
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -52,7 +52,7 @@ public void write(byte[] b, int offset, int length) throws IOException {\n throw new NullPointerException();\n }\n \n- if (offset < 0 || offset + length > b.length) {\n+ if (offset < 0 || length < 0 || length...
java
CWE-787
[ "classpath/java/io/FileOutputStream.java" ]
classpath/java/io/FileOutputStream.java
1
public void write(byte[] b, int offset, int length) throws IOException { throw new NullPointerException(); } if (offset < 0 || offset + length > b.length) { throw new ArrayIndexOutOfBoundsException(); }
public void write(byte[] b, int offset, int length) throws IOException { throw new NullPointerException(); } if (offset < 0 || length < 0 || length > b.length || offset > b.length - length) { throw new ArrayIndexOutOfBoundsException(); }
CVE-2020-28371
{'CWE-190', 'CWE-787'}
6.4
{'https://github.com/ReadyTalk/avian/commit/0871979b298add320ca63f65060acb7532c8a0dd'}
nvd
** UNSUPPORTED WHEN ASSIGNED ** An issue was discovered in ReadyTalk Avian 1.2.0 before 2020-10-27. The FileOutputStream.write() method in FileOutputStream.java has a boundary check to prevent out-of-bounds memory read/write operations. However, an integer overflow leads to bypassing this check and achieving the out-of...
2020-11-09
1
https://github.com/ReadyTalk/avian
https://github.com/ReadyTalk/avian/commit/0871979b298add320ca63f65060acb7532c8a0dd
0871979b298add320ca63f65060acb7532c8a0dd
SINGLE
['0871979b298add320ca63f65060acb7532c8a0dd']
{'9bbd495a06bee9198c68b12c47533c4835d220ba'}
0871979b298add320ca63f65060acb7532c8a0dd
1
10/27/2020, 09:13:59
Fix integer overflow leading to out-of-bounds read/write
Pietro Oliva
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -52,7 +52,7 @@ public void write(byte[] b, int offset, int length) throws IOException {\n throw new NullPointerException();\n }\n \n- if (offset < 0 || offset + length > b.length) {\n+ if (offset < 0 || length < 0 || length...
java
CWE-190
[ "classpath/java/io/FileOutputStream.java" ]
classpath/java/io/FileOutputStream.java
1
function delete($id = NULL) $inline = $this->fuel->admin->is_inline(); if ( ! empty($_POST['id'])) { $posted = explode('|', $this->input->post('id', TRUE)); // run before_delete hook $this->_run_hook('before_delete', $posted);
function delete($id = NULL) $inline = $this->fuel->admin->is_inline(); if (! empty($_POST['id'])) { if (!empty($id)) { $posted = array($id); } else { $posted = explode('|', $this->input->post('id', TRUE)); } // run before_delete hook $this->_run_hook('before_delete', $posted);
CVE-2020-28705
{'CWE-352'}
2.9
{'https://github.com/daylightstudio/FUEL-CMS/commit/fbf2d59215800f05d4359e8f984d5680d62f0f3b'}
nvd
FUEL CMS 1.4.13 contains a cross-site request forgery (CSRF) vulnerability that can delete a page via a post ID to /pages/delete/3.
2021-03-10
1
https://github.com/daylightstudio/FUEL-CMS
https://github.com/daylightstudio/FUEL-CMS/commit/fbf2d59215800f05d4359e8f984d5680d62f0f3b
fbf2d59215800f05d4359e8f984d5680d62f0f3b
SINGLE
['fbf2d59215800f05d4359e8f984d5680d62f0f3b']
{'a780f5f5649daba0d8ffd7f805c234c4a5eb9bf7'}
fbf2d59215800f05d4359e8f984d5680d62f0f3b
1
11/05/2020, 04:35:31
fix: issue #576 with expanded ability to delete pages
David McReynolds
null
{'additions': 9, 'deletions': 2, 'total': 11}
[ { "additions": 9, "changes": 11, "deletions": 2, "patch": "@@ -1621,9 +1621,16 @@ function delete($id = NULL)\n \n \t\t$inline = $this->fuel->admin->is_inline();\n \n-\t\tif ( ! empty($_POST['id']))\n+\t\tif (! empty($_POST['id']))\n \t\t{\n-\t\t\t$posted = explode('|', $this->input->post('id', TRUE...
php
CWE-352
[ "fuel/modules/fuel/controllers/Module.php" ]
fuel/modules/fuel/controllers/Module.php
1
} } /** The form was submitted */ if ($_POST) { /**
} } /** Fix CVE-2020-28874 */ if (!empty($errorstate)) { unset($user_data); } /** The form was submitted */ if ($_POST) { /**
CVE-2020-28874
{'CWE-404', 'CWE-287'}
2.9
{'https://github.com/projectsend/projectsend/commit/440204734e9a1687cb9887e1c887173d23c5a93e'}
nvd
reset-password.php in ProjectSend before r1295 allows remote attackers to reset a password because of incorrect business logic. Errors are not properly considered (an invalid token parameter).
2021-01-26
1
https://github.com/projectsend/projectsend
https://github.com/projectsend/projectsend/commit/440204734e9a1687cb9887e1c887173d23c5a93e
440204734e9a1687cb9887e1c887173d23c5a93e
SINGLE
['440204734e9a1687cb9887e1c887173d23c5a93e']
{'44e91df1e70531531f8e17c2f3a93de1ddcd34e8'}
440204734e9a1687cb9887e1c887173d23c5a93e
1
11/17/2020, 19:33:59
Fix CVE-2020-28874 by @varandinawer
Ignacio Nelson
null
{'additions': 5, 'deletions': 0, 'total': 5}
[ { "additions": 5, "changes": 5, "deletions": 0, "patch": "@@ -55,6 +55,11 @@\n }\n }\n \n+ /** Fix CVE-2020-28874 */\n+ if (!empty($errorstate)) {\n+ unset($user_data);\n+ }\n+\n /** The form was submitted */\n if ($_POST) {\n /**", "path": "reset-pass...
php
CWE-287
[ "reset-password.php" ]
reset-password.php
1
int imap_open_connection(struct ImapAccountData *adata) else if ((ans = query_quadoption(C_SslStarttls, _("Secure connection with TLS?"))) == MUTT_ABORT) { goto err_close_conn; } if (ans == MUTT_YES) { int imap_open_connection(struct ImapAcco...
int imap_open_connection(struct ImapAccountData *adata) else if ((ans = query_quadoption(C_SslStarttls, _("Secure connection with TLS?"))) == MUTT_ABORT) { goto bail; } if (ans == MUTT_YES) { int imap_open_connection(struct ImapAccountData *a...
CVE-2020-28896
{'CWE-287', 'CWE-755'}
2.9
{'https://github.com/neomutt/neomutt/commit/9c36717a3e2af1f2c1b7242035455ec8112b4b06'}
nvd
Mutt before 2.0.2 and NeoMutt before 2020-11-20 did not ensure that $ssl_force_tls was processed if an IMAP server's initial server response was invalid. The connection was not properly closed, and the code could continue attempting to authenticate. This could result in authentication credentials being exposed on an un...
2020-11-23
1
https://github.com/neomutt/neomutt
https://github.com/neomutt/neomutt/commit/9c36717a3e2af1f2c1b7242035455ec8112b4b06
9c36717a3e2af1f2c1b7242035455ec8112b4b06
SINGLE
['9c36717a3e2af1f2c1b7242035455ec8112b4b06']
{'f8b87cd70762ff3520b03bb0a98eee0ebfca5f7b'}
9c36717a3e2af1f2c1b7242035455ec8112b4b06
1
11/17/2020, 12:29:12
imap: close connection on all failures Thanks to Gabriel Salles-Loustau for spotting the problem. Co-authored-by: Kevin McCarthy <kevin@8t8.us>
Richard Russon
null
{'additions': 5, 'deletions': 8, 'total': 13}
[ { "additions": 5, "changes": 13, "deletions": 8, "patch": "@@ -761,7 +761,7 @@ int imap_open_connection(struct ImapAccountData *adata)\n else if ((ans = query_quadoption(C_SslStarttls,\n _(\"Secure connection with TLS?\"))) == MUTT_ABORT)\n {\n- ...
c
CWE-287
[ "imap/imap.c" ]
imap/imap.c
1
function error($msg,$type='note',$redirect=null,$fatal=false,$backtrace=false) { * * @return The form GET/REQUEST/SESSION/POST variable value or its default */ function get_request($attr,$type='POST',$die=false,$default=null,$preventXSS=false) { switch($type) { case 'GET': $value = isset($_GET[$attr]) ? (is_a...
function error($msg,$type='note',$redirect=null,$fatal=false,$backtrace=false) { * * @return The form GET/REQUEST/SESSION/POST variable value or its default */ function get_request($attr,$type='POST',$die=false,$default=null,$preventXSS=true) { switch($type) { case 'GET': $value = isset($_GET[$attr]) ? (is_ar...
CVE-2020-35132
{'CWE-79'}
2.9
{'https://github.com/leenooks/phpLDAPadmin/commit/c87571f6b7be15d5cd8b26381b6eb31ad03d28e2'}
nvd
An XSS issue has been discovered in phpLDAPadmin before 1.2.6.2 that allows users to store malicious values that may be executed by other users at a later time via get_request in lib/function.php.
2020-12-11
1
https://github.com/leenooks/phpLDAPadmin
https://github.com/leenooks/phpLDAPadmin/commit/c87571f6b7be15d5cd8b26381b6eb31ad03d28e2
c87571f6b7be15d5cd8b26381b6eb31ad03d28e2
SINGLE
['c87571f6b7be15d5cd8b26381b6eb31ad03d28e2']
{'cb9c0cce3e7502968b7c42c684755853b8d2ccbd'}
c87571f6b7be15d5cd8b26381b6eb31ad03d28e2
1
07/31/2019, 15:21:14
Fix error and set by default to preventXSS
Genaro Contreras Gutierrez
{'com_1': {'author': 'setharnold', 'datetime': '12/02/2020, 20:07:52', 'body': 'Has a CVE already been assigned for this change?\r\n\r\nThanks'}, 'com_2': {'author': 'alexmurray', 'datetime': '12/11/2020, 04:53:54', 'body': 'This was assigned CVE-2020-35132 by MITRE.'}}
{'additions': 16, 'deletions': 6, 'total': 22}
[ { "additions": 16, "changes": 22, "deletions": 6, "patch": "@@ -651,7 +651,7 @@ function error($msg,$type='note',$redirect=null,$fatal=false,$backtrace=false) {\n *\n * @return The form GET/REQUEST/SESSION/POST variable value or its default\n */\n-function get_request($attr,$type='POST',$die=fals...
php
CWE-79
[ "lib/functions.php" ]
lib/functions.php
1
static __latent_entropy struct task_struct *copy_process( /* ok, now we should be set up.. */ p->pid = pid_nr(pid); if (clone_flags & CLONE_THREAD) { p->exit_signal = -1; p->group_leader = current->group_leader; p->tgid = current->tgid; } else { if (clone_flags & CLONE_PARENT) p->exit_signal = current->...
static __latent_entropy struct task_struct *copy_process( /* ok, now we should be set up.. */ p->pid = pid_nr(pid); if (clone_flags & CLONE_THREAD) { p->group_leader = current->group_leader; p->tgid = current->tgid; } else { p->group_leader = p; p->tgid = p->pid; } static __latent_entropy struct task_stru...
CVE-2020-35508
{'CWE-665', 'CWE-362'}
6.4
{'https://github.com/torvalds/linux/commit/b4e00444cab4c3f3fec876dc0cccc8cbb0d1a948'}
nvd
A flaw possibility of race condition and incorrect initialization of the process id was found in the Linux kernel child/parent process identification handling while filtering signal handlers. A local attacker is able to abuse this flaw to bypass checks to send any signal to a privileged process.
2021-03-26
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/b4e00444cab4c3f3fec876dc0cccc8cbb0d1a948
b4e00444cab4c3f3fec876dc0cccc8cbb0d1a948
SINGLE
['b4e00444cab4c3f3fec876dc0cccc8cbb0d1a948']
{'9dbc1c03eeb534b82647cccb059aca0685d449a7'}
b4e00444cab4c3f3fec876dc0cccc8cbb0d1a948
1
11/07/2020, 06:47:22
fork: fix copy_process(CLONE_PARENT) race with the exiting ->real_parent current->group_leader->exit_signal may change during copy_process() if current->real_parent exits. Move the assignment inside tasklist_lock to avoid the race. Signed-off-by: Eddy Wu <eddy_wu@trendmicro.com> Acked-by: Oleg Nesterov <oleg@redhat....
Eddy Wu
null
{'additions': 5, 'deletions': 5, 'total': 10}
[ { "additions": 5, "changes": 10, "deletions": 5, "patch": "@@ -2167,14 +2167,9 @@ static __latent_entropy struct task_struct *copy_process(\n \t/* ok, now we should be set up.. */\n \tp->pid = pid_nr(pid);\n \tif (clone_flags & CLONE_THREAD) {\n-\t\tp->exit_signal = -1;\n \t\tp->group_leader = curre...
c
CWE-362
[ "kernel/fork.c" ]
kernel/fork.c
1
/* $OpenBSD: table.c,v 1.48 2019/01/10 07:40:52 eric Exp $ */ /* * Copyright (c) 2013 Eric Faurot <eric@openbsd.org> table_regex_match(const char *string, const char *pattern) { regex_t preg; int cflags = REG_EXTENDED|REG_NOSUB; if (strncmp(pattern, "(?i)", 4) == 0) { cflags |= REG_ICASE; table_regex_match(con...
/* $OpenBSD: table.c,v 1.49 2020/12/23 08:12:14 martijn Exp $ */ /* * Copyright (c) 2013 Eric Faurot <eric@openbsd.org> table_regex_match(const char *string, const char *pattern) { regex_t preg; int cflags = REG_EXTENDED|REG_NOSUB; int ret; if (strncmp(pattern, "(?i)", 4) == 0) { cflags |= REG_ICASE; table_re...
CVE-2020-35679
{'CWE-401'}
2.9
{'https://github.com/openbsd/src/commit/79a034b4aed29e965f45a13409268290c9910043'}
nvd
smtpd/table.c in OpenSMTPD before 6.8.0p1 lacks a certain regfree, which might allow attackers to trigger a "very significant" memory leak via messages to an instance that performs many regex lookups.
2020-12-24
1
https://github.com/openbsd/src
https://github.com/openbsd/src/commit/79a034b4aed29e965f45a13409268290c9910043
79a034b4aed29e965f45a13409268290c9910043
SINGLE
['79a034b4aed29e965f45a13409268290c9910043']
{'ecf4b811021594507f18177663fbe53d05804d40'}
79a034b4aed29e965f45a13409268290c9910043
1
12/23/2020, 08:12:14
Use regfree after we're done with preg. From gilles@
martijn
null
{'additions': 7, 'deletions': 2, 'total': 9}
[ { "additions": 7, "changes": 9, "deletions": 2, "patch": "@@ -1,4 +1,4 @@\n-/*\t$OpenBSD: table.c,v 1.48 2019/01/10 07:40:52 eric Exp $\t*/\n+/*\t$OpenBSD: table.c,v 1.49 2020/12/23 08:12:14 martijn Exp $\t*/\n \n /*\n * Copyright (c) 2013 Eric Faurot <eric@openbsd.org>\n@@ -464,6 +464,7 @@ table_r...
c
CWE-401
[ "usr.sbin/smtpd/table.c" ]
usr.sbin/smtpd/table.c
1
/* $OpenBSD: lka_filter.c,v 1.64 2020/12/20 13:27:46 martijn Exp $ */ /* * Copyright (c) 2018 Gilles Chehade <gilles@poolp.org> filter_session_io(struct io *io, int evt, void *arg) filter_data(fs->id, line); goto nextline; case IO_DISCONNECTED: io_free(fs->io); fs->io = NULL; break; } }
/* $OpenBSD: lka_filter.c,v 1.65 2020/12/23 20:17:49 millert Exp $ */ /* * Copyright (c) 2018 Gilles Chehade <gilles@poolp.org> filter_session_io(struct io *io, int evt, void *arg) filter_data(fs->id, line); goto nextline; } }
CVE-2020-35680
{'CWE-476'}
2.9
{'https://github.com/openbsd/src/commit/6c3220444ed06b5796dedfd53a0f4becd903c0d1'}
nvd
smtpd/lka_filter.c in OpenSMTPD before 6.8.0p1, in certain configurations, allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted pattern of client activity, because the filter state machine does not properly maintain the I/O channel between the SMTP engine and th...
2020-12-24
1
https://github.com/openbsd/src
https://github.com/openbsd/src/commit/6c3220444ed06b5796dedfd53a0f4becd903c0d1
6c3220444ed06b5796dedfd53a0f4becd903c0d1
SINGLE
['6c3220444ed06b5796dedfd53a0f4becd903c0d1']
{'a02f695c6a886c589dba0586557b6a20d78bebb1'}
6c3220444ed06b5796dedfd53a0f4becd903c0d1
1
12/23/2020, 20:17:49
smtpd's filter state machine can prematurely release resources leading to a crash. From gilles@
millert
null
{'additions': 1, 'deletions': 6, 'total': 7}
[ { "additions": 1, "changes": 7, "deletions": 6, "patch": "@@ -1,4 +1,4 @@\n-/*\t$OpenBSD: lka_filter.c,v 1.64 2020/12/20 13:27:46 martijn Exp $\t*/\n+/*\t$OpenBSD: lka_filter.c,v 1.65 2020/12/23 20:17:49 millert Exp $\t*/\n \n /*\n * Copyright (c) 2018 Gilles Chehade <gilles@poolp.org>\n@@ -600,11 ...
c
CWE-476
[ "usr.sbin/smtpd/lka_filter.c" ]
usr.sbin/smtpd/lka_filter.c
1
* @sa http://wiki.multimedia.cx/index.php?title=Vividas_VIV */ #include "libavutil/intreadwrite.h" #include "avio_internal.h" #include "avformat.h" static int track_header(VividasDemuxContext *viv, AVFormatContext *s, uint8_t * if (avio_tell(pb) < off) { int num_data; int xd_size =...
* @sa http://wiki.multimedia.cx/index.php?title=Vividas_VIV */ #include "libavutil/avassert.h" #include "libavutil/intreadwrite.h" #include "avio_internal.h" #include "avformat.h" static int track_header(VividasDemuxContext *viv, AVFormatContext *s, uint8_t * if (avio_tell(pb) < off) { int num...
CVE-2020-35964
{'CWE-787'}
2.9
{'https://github.com/FFmpeg/FFmpeg/commit/27a99e2c7d450fef15594671eef4465c8a166bd7'}
nvd
track_header in libavformat/vividas.c in FFmpeg 4.3.1 has an out-of-bounds write because of incorrect extradata packing.
2021-01-03
1
https://github.com/FFmpeg/FFmpeg
https://github.com/FFmpeg/FFmpeg/commit/27a99e2c7d450fef15594671eef4465c8a166bd7
27a99e2c7d450fef15594671eef4465c8a166bd7
SINGLE
['27a99e2c7d450fef15594671eef4465c8a166bd7']
{'437b7302b09a04e0fbfcd594114b52c5c6d89d32'}
27a99e2c7d450fef15594671eef4465c8a166bd7
1
10/28/2020, 19:11:54
avformat/vividas: improve extradata packing checks in track_header() Fixes: out of array accesses Fixes: 26622/clusterfuzz-testcase-minimized-ffmpeg_dem_VIVIDAS_fuzzer-6581200338288640 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermaye...
Michael Niedermayer
null
{'additions': 6, 'deletions': 6, 'total': 12}
[ { "additions": 6, "changes": 12, "deletions": 6, "patch": "@@ -28,6 +28,7 @@\n * @sa http://wiki.multimedia.cx/index.php?title=Vividas_VIV\n */\n \n+#include \"libavutil/avassert.h\"\n #include \"libavutil/intreadwrite.h\"\n #include \"avio_internal.h\"\n #include \"avformat.h\"\n@@ -379,7 +380,7 ...
c
CWE-787
[ "libavformat/vividas.c" ]
libavformat/vividas.c
1
GF_Err gf_hinter_track_process(GF_RTPHinter *tkHint) } remain -= size; tkHint->rtp_p->sl_header.accessUnitEndFlag = remain ? 0 : 1; e = gf_rtp_builder_process(tkHint->rtp_p, ptr, size, (u8) !remain, samp->dataLength, duration, (u8) (descIndex + GF_RTP_TX3G_SIDX_OFFSET) ); ptr += size; tkHint->r...
GF_Err gf_hinter_track_process(GF_RTPHinter *tkHint) } remain -= size; tkHint->rtp_p->sl_header.accessUnitEndFlag = remain ? 0 : 1; if (!size) { GF_LOG(GF_LOG_WARNING, GF_LOG_RTP, ("[rtp hinter] Broken AVC nalu encapsulation: NALU size is 0, ignoring it\n", size)); } else { e = gf_rtp_bui...
CVE-2020-35979
{'CWE-787'}
6.4
{'https://github.com/gpac/gpac/commit/b15020f54aff24aaeb64b80771472be8e64a7adc'}
nvd
An issue was discovered in GPAC version 0.8.0 and 1.0.1. There is heap-based buffer overflow in the function gp_rtp_builder_do_avc() in ietf/rtp_pck_mpeg4.c.
2021-04-21
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/b15020f54aff24aaeb64b80771472be8e64a7adc
b15020f54aff24aaeb64b80771472be8e64a7adc
SINGLE
['b15020f54aff24aaeb64b80771472be8e64a7adc']
{'5aba27604d957e960d8069d85ccaf868f8a7b07a'}
b15020f54aff24aaeb64b80771472be8e64a7adc
1
01/04/2021, 10:24:26
fixed #1662
jeanlf
null
{'additions': 6, 'deletions': 2, 'total': 8}
[ { "additions": 6, "changes": 8, "deletions": 2, "patch": "@@ -793,8 +793,12 @@ GF_Err gf_hinter_track_process(GF_RTPHinter *tkHint)\n \t\t\t\t}\n \t\t\t\tremain -= size;\n \t\t\t\ttkHint->rtp_p->sl_header.accessUnitEndFlag = remain ? 0 : 1;\n-\t\t\t\te = gf_rtp_builder_process(tkHint->rtp_p, ptr, si...
c
CWE-787
[ "src/media_tools/isom_hinter.c" ]
src/media_tools/isom_hinter.c
1
void CleanWriters(GF_List *writers) { while (gf_list_count(writers)) { TrackWriter *writer = (TrackWriter*)gf_list_get(writers, 0); gf_isom_box_del(writer->stco); gf_isom_box_del((GF_Box *)writer->stsc); gf_free(writer);
void CleanWriters(GF_List *writers) { while (gf_list_count(writers)) { TrackWriter *writer = (TrackWriter*)gf_list_get(writers, 0); //in case we have an error in the middle of file write, remove our created stco and stsc from sample table gf_list_del_item(writer->stbl->child_boxes, writer->stco); gf_list_del_...
CVE-2020-35980
{'CWE-416'}
6.4
{'https://github.com/gpac/gpac/commit/5aba27604d957e960d8069d85ccaf868f8a7b07a'}
nvd
An issue was discovered in GPAC version 0.8.0 and 1.0.1. There is a use-after-free in the function gf_isom_box_del() in isomedia/box_funcs.c.
2021-04-21
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/5aba27604d957e960d8069d85ccaf868f8a7b07a
5aba27604d957e960d8069d85ccaf868f8a7b07a
SINGLE
['5aba27604d957e960d8069d85ccaf868f8a7b07a']
{'a4eb327049132359cae54b59faec9e2f14c5a619'}
5aba27604d957e960d8069d85ccaf868f8a7b07a
1
01/04/2021, 10:18:27
fixed #1661
jeanlf
null
{'additions': 3, 'deletions': 0, 'total': 3}
[ { "additions": 3, "changes": 3, "deletions": 0, "patch": "@@ -102,6 +102,9 @@ void CleanWriters(GF_List *writers)\n {\n \twhile (gf_list_count(writers)) {\n \t\tTrackWriter *writer = (TrackWriter*)gf_list_get(writers, 0);\n+\t\t//in case we have an error in the middle of file write, remove our creat...
c
CWE-416
[ "src/isomedia/isom_store.c" ]
src/isomedia/isom_store.c
1
GF_Err SetupWriters(MovieWriter *mw, GF_List *writers, u8 interleaving) trackCount = gf_list_count(movie->moov->trackList); for (i = 0; i < trackCount; i++) { trak = gf_isom_get_track(movie->moov, i+1); GF_SAFEALLOC(writer, TrackWriter); if (!writer) goto exit; writer->sampleNumber = 1;
GF_Err SetupWriters(MovieWriter *mw, GF_List *writers, u8 interleaving) trackCount = gf_list_count(movie->moov->trackList); for (i = 0; i < trackCount; i++) { GF_SampleTableBox *stbl; trak = gf_isom_get_track(movie->moov, i+1); stbl = (trak->Media && trak->Media->information) ? trak->Media->information->samp...
CVE-2020-35981
{'CWE-476'}
6.4
{'https://github.com/gpac/gpac/commit/dae9900580a8888969481cd72035408091edb11b'}
nvd
An issue was discovered in GPAC version 0.8.0 and 1.0.1. There is an invalid pointer dereference in the function SetupWriters() in isomedia/isom_store.c.
2021-04-21
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/dae9900580a8888969481cd72035408091edb11b
dae9900580a8888969481cd72035408091edb11b
SINGLE
['dae9900580a8888969481cd72035408091edb11b']
{'96170ab9e525ff3db6d28e5ea6c5e6377ed3b9cf'}
dae9900580a8888969481cd72035408091edb11b
1
01/04/2021, 10:06:52
fixed #1659
jeanlf
null
{'additions': 6, 'deletions': 0, 'total': 6}
[ { "additions": 6, "changes": 6, "deletions": 0, "patch": "@@ -150,8 +150,14 @@ GF_Err SetupWriters(MovieWriter *mw, GF_List *writers, u8 interleaving)\n \n \ttrackCount = gf_list_count(movie->moov->trackList);\n \tfor (i = 0; i < trackCount; i++) {\n+\t\tGF_SampleTableBox *stbl;\n \t\ttrak = gf_isom...
c
CWE-476
[ "src/isomedia/isom_store.c" ]
src/isomedia/isom_store.c
1
GF_Err gf_hinter_track_finalize(GF_RTPHinter *tkHint, Bool AddSystemInfo) if (avcc) { sprintf(sdpLine, "a=fmtp:%d profile-level-id=%02X%02X%02X; packetization-mode=1", tkHint->rtp_p->PayloadType, avcc->AVCProfileIndication, avcc->profile_compatibility, avcc->AVCLevelIndication); } else { sprintf(sdpLine, "a=...
GF_Err gf_hinter_track_finalize(GF_RTPHinter *tkHint, Bool AddSystemInfo) if (avcc) { sprintf(sdpLine, "a=fmtp:%d profile-level-id=%02X%02X%02X; packetization-mode=1", tkHint->rtp_p->PayloadType, avcc->AVCProfileIndication, avcc->profile_compatibility, avcc->AVCLevelIndication); } else { if (!svcc) retur...
CVE-2020-35982
{'CWE-476'}
6.4
{'https://github.com/gpac/gpac/commit/a4eb327049132359cae54b59faec9e2f14c5a619'}
nvd
An issue was discovered in GPAC version 0.8.0 and 1.0.1. There is an invalid pointer dereference in the function gf_hinter_track_finalize() in media_tools/isom_hinter.c.
2021-04-21
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/a4eb327049132359cae54b59faec9e2f14c5a619
a4eb327049132359cae54b59faec9e2f14c5a619
SINGLE
['a4eb327049132359cae54b59faec9e2f14c5a619']
{'dae9900580a8888969481cd72035408091edb11b'}
a4eb327049132359cae54b59faec9e2f14c5a619
1
01/04/2021, 10:10:48
fixed #1660
jeanlf
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -967,6 +967,8 @@ GF_Err gf_hinter_track_finalize(GF_RTPHinter *tkHint, Bool AddSystemInfo)\n \t\tif (avcc) {\n \t\t\tsprintf(sdpLine, \"a=fmtp:%d profile-level-id=%02X%02X%02X; packetization-mode=1\", tkHint->rtp_p->PayloadType, avcc->AVCP...
c
CWE-476
[ "src/media_tools/isom_hinter.c" ]
src/media_tools/isom_hinter.c
1
mwifiex_cmd_802_11_ad_hoc_start(struct mwifiex_private *priv, memset(adhoc_start->ssid, 0, IEEE80211_MAX_SSID_LEN); memcpy(adhoc_start->ssid, req_ssid->ssid, req_ssid->ssid_len); mwifiex_dbg(adapter, INFO, "info: ADHOC_S_CMD: SSID = %s\n",
mwifiex_cmd_802_11_ad_hoc_start(struct mwifiex_private *priv, memset(adhoc_start->ssid, 0, IEEE80211_MAX_SSID_LEN); if (req_ssid->ssid_len > IEEE80211_MAX_SSID_LEN) req_ssid->ssid_len = IEEE80211_MAX_SSID_LEN; memcpy(adhoc_start->ssid, req_ssid->ssid, req_ssid->ssid_len); mwifiex_dbg(adapter, INFO, "info: ADH...
CVE-2020-36158
{'CWE-120'}
10
{'https://github.com/torvalds/linux/commit/5c455c5ab332773464d02ba17015acdca198f03d'}
nvd
mwifiex_cmd_802_11_ad_hoc_start in drivers/net/wireless/marvell/mwifiex/join.c in the Linux kernel through 5.10.4 might allow remote attackers to execute arbitrary code via a long SSID value, aka CID-5c455c5ab332.
2021-01-05
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/5c455c5ab332773464d02ba17015acdca198f03d
5c455c5ab332773464d02ba17015acdca198f03d
SINGLE
['5c455c5ab332773464d02ba17015acdca198f03d']
{'871a825c3902247d7fcc06e81eb993194d3bf424'}
5c455c5ab332773464d02ba17015acdca198f03d
1
12/06/2020, 08:48:01
mwifiex: Fix possible buffer overflows in mwifiex_cmd_802_11_ad_hoc_start mwifiex_cmd_802_11_ad_hoc_start() calls memcpy() without checking the destination size may trigger a buffer overflower, which a local user could use to cause denial of service or the execution of arbitrary code. Fix it by putting the length chec...
Zhang Xiaohui
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -877,6 +877,8 @@ mwifiex_cmd_802_11_ad_hoc_start(struct mwifiex_private *priv,\n \n \tmemset(adhoc_start->ssid, 0, IEEE80211_MAX_SSID_LEN);\n \n+\tif (req_ssid->ssid_len > IEEE80211_MAX_SSID_LEN)\n+\t\treq_ssid->ssid_len = IEEE80211_MAX_SS...
c
CWE-120
[ "drivers/net/wireless/marvell/mwifiex/join.c" ]
drivers/net/wireless/marvell/mwifiex/join.c
1
def pref_get(key): return "Authentication required", 401 if key in get_preferences(): return Response(json.dumps({'key': key, 'value': get_preferences()[key]})) else: return Response(json.dumps({'key': key, 'error': 'novalue'})) @app.route("/api/preferences/set/<key>/<value>") def pr...
def pref_get(key): return "Authentication required", 401 if key in get_preferences(): return Response( json.dumps({'key': key, 'value': get_preferences()[key]}), mimetype='application/json' ) else: return Response( json.dumps({'key': key, 'er...
CVE-2020-36324
{'CWE-79'}
2.9
{'https://github.com/wikimedia/analytics-quarry-web/commit/4b7e1d6a3a52ec6cf826a971135a38b0f74785d2'}
nvd
Wikimedia Quarry analytics-quarry-web before 2020-12-15 allows Reflected XSS because app.py does not explicitly set the application/json content type.
2021-04-21
1
https://github.com/wikimedia/analytics-quarry-web
https://github.com/wikimedia/analytics-quarry-web/commit/4b7e1d6a3a52ec6cf826a971135a38b0f74785d2
4b7e1d6a3a52ec6cf826a971135a38b0f74785d2
SINGLE
['4b7e1d6a3a52ec6cf826a971135a38b0f74785d2']
{'085a51b2dee8b58882276d9fe090174252edb85e'}
4b7e1d6a3a52ec6cf826a971135a38b0f74785d2
1
12/15/2020, 16:55:55
SECURITY: Set correct Mime Type on /api/preferences Prevents a Reflected Cross-Site scripting (XSS) vulnerability Bug: T270195 Change-Id: I04bf53d2a939da369e54e91899615a3ffc3e5caf
Reedy
null
{'additions': 12, 'deletions': 3, 'total': 15}
[ { "additions": 12, "changes": 15, "deletions": 3, "patch": "@@ -398,9 +398,15 @@ def pref_get(key):\n return \"Authentication required\", 401\n \n if key in get_preferences():\n- return Response(json.dumps({'key': key, 'value': get_preferences()[key]}))\n+ return Response(\...
py
CWE-79
[ "quarry/web/app.py" ]
quarry/web/app.py
1
public ActionResult ProfileListDetails(int profileId) [Permission(Permissions.Configuration.Import.Create)] public ActionResult Create(ImportProfileModel model) { var importFile = Path.Combine(FileSystemHelper.TempDirTenant(), model.TempFileName.EmptyNull()); if (System...
public ActionResult ProfileListDetails(int profileId) [Permission(Permissions.Configuration.Import.Create)] public ActionResult Create(ImportProfileModel model) { if (PathHelper.HasInvalidFileNameChars(model.TempFileName)) { return new HttpStatusCodeResul...
CVE-2020-36364
{'CWE-22'}
4.9
{'https://github.com/smartstore/SmartStoreNET/commit/5ab1e37dc8d6415d04354e1a116f3d82e9555f5c'}
nvd
An issue was discovered in Smartstore (aka SmartStoreNET) before 4.1.0. Administration/Controllers/ImportController.cs allows path traversal (for copy and delete actions) in the ImportController.Create method via a TempFileName field.
2021-05-19
1
https://github.com/smartstore/SmartStoreNET
https://github.com/smartstore/SmartStoreNET/commit/5ab1e37dc8d6415d04354e1a116f3d82e9555f5c
5ab1e37dc8d6415d04354e1a116f3d82e9555f5c
SINGLE
['5ab1e37dc8d6415d04354e1a116f3d82e9555f5c']
{'f7ed2a5b772826ad47241756af1ba1514189f03c'}
5ab1e37dc8d6415d04354e1a116f3d82e9555f5c
1
10/13/2020, 09:07:10
Resolves #2112 Path traversal vulnerability
Marcus Gesing
null
{'additions': 5, 'deletions': 0, 'total': 5}
[ { "additions": 5, "changes": 5, "deletions": 0, "patch": "@@ -384,6 +384,11 @@ public ActionResult ProfileListDetails(int profileId)\n [Permission(Permissions.Configuration.Import.Create)]\n public ActionResult Create(ImportProfileModel model)\n {\n+ if (PathHelper...
cs
CWE-22
[ "src/Presentation/SmartStore.Web/Administration/Controllers/ImportController.cs" ]
src/Presentation/SmartStore.Web/Administration/Controllers/ImportController.cs
1
static WRITE_JSON_ELEMENT(Quote) { WRITE_JSON_ELEMENT(ObjStart) { /* increase depth, save: before first key-value no comma needed. */ ctx->depth++; ctx->commaNeeded[ctx->depth] = false; return writeChar(ctx, '{'); WRITE_JSON_ELEMENT(ObjEnd) { WRITE_JSON_ELEMENT(ArrStart) { /* increase depth, save...
static WRITE_JSON_ELEMENT(Quote) { WRITE_JSON_ELEMENT(ObjStart) { /* increase depth, save: before first key-value no comma needed. */ if(ctx->depth >= UA_JSON_ENCODING_MAX_RECURSION) return UA_STATUSCODE_BADENCODINGERROR; ctx->depth++; ctx->commaNeeded[ctx->depth] = false; return writeChar...
CVE-2020-36429
{'CWE-787'}
2.9
{'https://github.com/open62541/open62541/commit/c800e2987b10bb3af6ef644b515b5d6392f8861d'}
nvd
Variant_encodeJson in open62541 1.x before 1.0.4 has an out-of-bounds write for a large recursion depth.
2021-07-20
1
https://github.com/open62541/open62541
https://github.com/open62541/open62541/commit/c800e2987b10bb3af6ef644b515b5d6392f8861d
c800e2987b10bb3af6ef644b515b5d6392f8861d
SINGLE
['c800e2987b10bb3af6ef644b515b5d6392f8861d']
{'36c440147e0adbd1c7254d98851c8a856e77cbfe'}
c800e2987b10bb3af6ef644b515b5d6392f8861d
1
05/19/2020, 13:13:20
fix(json): Check max recursion depth in more places
Julius Pfrommer
null
{'additions': 9, 'deletions': 4, 'total': 13}
[ { "additions": 9, "changes": 13, "deletions": 4, "patch": "@@ -108,6 +108,8 @@ static WRITE_JSON_ELEMENT(Quote) {\n \n WRITE_JSON_ELEMENT(ObjStart) {\n /* increase depth, save: before first key-value no comma needed. */\n+ if(ctx->depth >= UA_JSON_ENCODING_MAX_RECURSION)\n+ return UA_S...
c
CWE-787
[ "src/ua_types_encoding_json.c" ]
src/ua_types_encoding_json.c
1
int shadow_server_start(rdpShadowServer* server) char** list = CommandLineParseCommaSeparatedValuesEx(NULL, server->ipcSocket, &count); if (!list || (count <= 1)) { free(list); if (server->ipcSocket == NULL) { if (!open_port(server, NULL)) return -1; } else return -1; } for (x = ...
int shadow_server_start(rdpShadowServer* server) char** list = CommandLineParseCommaSeparatedValuesEx(NULL, server->ipcSocket, &count); if (!list || (count <= 1)) { if (server->ipcSocket == NULL) { if (!open_port(server, NULL)) { free(list); return -1; } } else { free(lis...
CVE-2020-4031
{'CWE-416'}
2.9
{'https://github.com/FreeRDP/FreeRDP/commit/6d86e20e1e7caaab4f0c7f89e36d32914dbccc52'}
nvd
In FreeRDP before version 2.1.2, there is a use-after-free in gdi_SelectObject. All FreeRDP clients using compatibility mode with /relax-order-checks are affected. This is fixed in version 2.1.2.
2020-06-22
1
https://github.com/FreeRDP/FreeRDP
https://github.com/FreeRDP/FreeRDP/commit/6d86e20e1e7caaab4f0c7f89e36d32914dbccc52
6d86e20e1e7caaab4f0c7f89e36d32914dbccc52
SINGLE
['6d86e20e1e7caaab4f0c7f89e36d32914dbccc52']
{'36478d3d0b3d7fa378a875f60170a08e94747226'}
6d86e20e1e7caaab4f0c7f89e36d32914dbccc52
1
05/25/2020, 12:03:12
Fixed double free
akallabeth
null
{'additions': 6, 'deletions': 1, 'total': 7}
[ { "additions": 6, "changes": 7, "deletions": 1, "patch": "@@ -586,14 +586,19 @@ int shadow_server_start(rdpShadowServer* server)\n \t\tchar** list = CommandLineParseCommaSeparatedValuesEx(NULL, server->ipcSocket, &count);\n \t\tif (!list || (count <= 1))\n \t\t{\n-\t\t\tfree(list);\n \t\t\tif (serve...
c
CWE-416
[ "server/shadow/shadow_server.c" ]
server/shadow/shadow_server.c
1
static INLINE BOOL RLEDECOMPRESS(const BYTE* pbSrcBuffer, UINT32 cbSrcBuffer, BY if (code == LITE_SET_FG_FG_RUN || code == MEGA_MEGA_SET_FG_RUN) { SRCREADPIXEL(fgPel, pbSrc); SRCNEXTPIXEL(pbSrc); } static INLINE BOOL RLEDECOMPRESS(const BYTE* pbSrcBuffer, UINT32 cbSrcBuffer, BY case MEGA_MEGA...
static INLINE BOOL RLEDECOMPRESS(const BYTE* pbSrcBuffer, UINT32 cbSrcBuffer, BY if (code == LITE_SET_FG_FG_RUN || code == MEGA_MEGA_SET_FG_RUN) { if (pbSrc >= pbEnd) return FALSE; SRCREADPIXEL(fgPel, pbSrc); SRCNEXTPIXEL(pbSrc); } static INLINE BOOL RLEDECOMPRESS(const BYTE* pbSrcBuf...
CVE-2020-4033
{'CWE-125'}
4.9
{'https://github.com/FreeRDP/FreeRDP/commit/0a98c450c58ec150e44781c89aa6f8e7e0f571f5'}
nvd
In FreeRDP before version 2.1.2, there is an out of bounds read in RLEDECOMPRESS. All FreeRDP based clients with sessions with color depth < 32 are affected. This is fixed in version 2.1.2.
2020-06-22
1
https://github.com/FreeRDP/FreeRDP
https://github.com/FreeRDP/FreeRDP/commit/0a98c450c58ec150e44781c89aa6f8e7e0f571f5
0a98c450c58ec150e44781c89aa6f8e7e0f571f5
SINGLE
['0a98c450c58ec150e44781c89aa6f8e7e0f571f5']
{'e7bffa64ef5ed70bac94f823e2b95262642f5296'}
0a98c450c58ec150e44781c89aa6f8e7e0f571f5
1
06/02/2020, 06:45:09
Fixed out of bound read in RLEDECOMPRESS CVE-2020-4033 thanks to @antonio-morales for finding this.
akallabeth
null
{'additions': 12, 'deletions': 0, 'total': 12}
[ { "additions": 12, "changes": 12, "deletions": 0, "patch": "@@ -201,6 +201,8 @@ static INLINE BOOL RLEDECOMPRESS(const BYTE* pbSrcBuffer, UINT32 cbSrcBuffer, BY\n \n \t\t\t\tif (code == LITE_SET_FG_FG_RUN || code == MEGA_MEGA_SET_FG_RUN)\n \t\t\t\t{\n+\t\t\t\t\tif (pbSrc >= pbEnd)\n+\t\t\t\t\t\tretu...
c
CWE-125
[ "libfreerdp/codec/include/bitmap.c" ]
libfreerdp/codec/include/bitmap.c
1
const uslug = require('uslug') const pageHelper = require('../../../helpers/page') const URL = require('url').URL /* global WIKI */ module.exports = { module.exports = { headers.push(headerSlug) }) // -------------------------------- // Escape mustache expresions // ---------------------------...
const uslug = require('uslug') const pageHelper = require('../../../helpers/page') const URL = require('url').URL const mustacheRegExp = /(\{|&#x7b;?){2}(.+?)(\}|&#x7d;?){2}/i /* global WIKI */ module.exports = { module.exports = { headers.push(headerSlug) }) // -------------------------------- /...
CVE-2020-4052
{'CWE-79'}
2.9
{'https://github.com/Requarks/wiki/commit/9e08718ee904046f8b2294ef6ac79e8a75a451e3'}
nvd
In Wiki.js before 2.4.107, there is a stored cross-site scripting through template injection. This vulnerability exists due to an insecure validation mechanism intended to insert v-pre tags into rendered HTML elements which contain curly-braces. By creating a crafted wiki page, a malicious Wiki.js user may stage a stor...
2020-06-16
1
https://github.com/Requarks/wiki
https://github.com/Requarks/wiki/commit/9e08718ee904046f8b2294ef6ac79e8a75a451e3
9e08718ee904046f8b2294ef6ac79e8a75a451e3
SINGLE
['9e08718ee904046f8b2294ef6ac79e8a75a451e3']
{'4ffd1325bd22890378d2e2901c5f4b25003df25d'}
9e08718ee904046f8b2294ef6ac79e8a75a451e3
1
06/14/2020, 01:43:21
Merge pull request from GHSA-9jgg-4xj2-vjjj
Nicolas Giard
null
{'additions': 13, 'deletions': 1, 'total': 14}
[ { "additions": 13, "changes": 14, "deletions": 1, "patch": "@@ -4,6 +4,8 @@ const uslug = require('uslug')\n const pageHelper = require('../../../helpers/page')\n const URL = require('url').URL\n \n+const mustacheRegExp = /(\\{|&#x7b;?){2}(.+?)(\\}|&#x7d;?){2}/i\n+\n /* global WIKI */\n \n module.ex...
js
CWE-79
[ "server/modules/rendering/html-core/renderer.js" ]
server/modules/rendering/html-core/renderer.js
1
public void parseURL(ApplContext ac, URL url, String title, } catch (Exception e) { Errors er = new Errors(); er.addError(new org.w3c.css.parser.CssError(Messages.escapeString(url.toString()), -1, e)); notifyErrors(er); } finally { if ...
public void parseURL(ApplContext ac, URL url, String title, } catch (Exception e) { Errors er = new Errors(); er.addError(new org.w3c.css.parser.CssError(Messages.escapeString(url.toString()), -1, new Exception(Messages.escapeString(e.getMessage())))); no...
CVE-2020-4070
{'CWE-79'}
2.9
{'https://github.com/w3c/css-validator/commit/e5c09a9119167d3064db786d5f00d730b584a53b'}
nvd
In CSS Validator less than or equal to commit 54d68a1, there is a cross-site scripting vulnerability in handling URIs. A user would have to click on a specifically crafted validator link to trigger it. This has been patched in commit e5c09a9.
2020-06-22
1
https://github.com/w3c/css-validator
https://github.com/w3c/css-validator/commit/e5c09a9119167d3064db786d5f00d730b584a53b
e5c09a9119167d3064db786d5f00d730b584a53b
SINGLE
['e5c09a9119167d3064db786d5f00d730b584a53b']
{'97a40444cbe0a6c209eb14b131afc2b7b76f0bb2'}
e5c09a9119167d3064db786d5f00d730b584a53b
1
06/19/2020, 11:20:13
escape also the throwable message, see #278
Yves Lafon
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -234,7 +234,7 @@ public void parseURL(ApplContext ac, URL url, String title,\n } catch (Exception e) {\n Errors er = new Errors();\n er.addError(new org.w3c.css.parser.CssError(Messages.escapeString(url.toSt...
java
CWE-79
[ "org/w3c/css/css/StyleSheetParser.java" ]
org/w3c/css/css/StyleSheetParser.java
1
function clear($key) { // Reset global to default value $this->hive[$parts[0]]=$this->init[$parts[0]]; else { eval('unset('.$this->compile('@this->hive.'.$key).');'); if ($parts[0]=='SESSION') { session_commit(); function c($val) { * @param $str string **/ function token($str) { $fw=$this->fw; ...
function clear($key) { // Reset global to default value $this->hive[$parts[0]]=$this->init[$parts[0]]; else { // Ensure we have no code injection $key=preg_replace('/(\)\W*\w+.*$)/','',$key); eval('unset('.$this->compile('@this->hive.'.$key).');'); if ($parts[0]=='SESSION') { session_commit(); ...
CVE-2020-5203
{'CWE-20', 'CWE-94'}
6.4
{'https://github.com/bcosca/fatfree-core/commit/dae95a0baf3963a9ef87c17cee52f78f77e21829'}
nvd
In Fat-Free Framework 3.7.1, attackers can achieve arbitrary code execution if developers choose to pass user controlled input (e.g., $_REQUEST, $_GET, or $_POST) to the framework's Clear method.
2020-03-11
1
https://github.com/bcosca/fatfree-core
https://github.com/bcosca/fatfree-core/commit/dae95a0baf3963a9ef87c17cee52f78f77e21829
dae95a0baf3963a9ef87c17cee52f78f77e21829
SINGLE
['dae95a0baf3963a9ef87c17cee52f78f77e21829']
{'df097f2a3756ff6edfb105b09f395b4c6261b87b'}
dae95a0baf3963a9ef87c17cee52f78f77e21829
1
01/04/2020, 14:43:41
ensure misuse of clear() wont open a vulnerability
ikkez
null
{'additions': 4, 'deletions': 4, 'total': 8}
[ { "additions": 4, "changes": 8, "deletions": 4, "patch": "@@ -503,6 +503,8 @@ function clear($key) {\n \t\t\t// Reset global to default value\n \t\t\t$this->hive[$parts[0]]=$this->init[$parts[0]];\n \t\telse {\n+\t\t\t// Ensure we have no code injection\n+\t\t\t$key=preg_replace('/(\\)\\W*\\w+.*$)/'...
php
CWE-20
[ "base.php" ]
base.php
1
function clear($key) { // Reset global to default value $this->hive[$parts[0]]=$this->init[$parts[0]]; else { eval('unset('.$this->compile('@this->hive.'.$key).');'); if ($parts[0]=='SESSION') { session_commit(); function c($val) { * @param $str string **/ function token($str) { $fw=$this->fw; ...
function clear($key) { // Reset global to default value $this->hive[$parts[0]]=$this->init[$parts[0]]; else { // Ensure we have no code injection $key=preg_replace('/(\)\W*\w+.*$)/','',$key); eval('unset('.$this->compile('@this->hive.'.$key).');'); if ($parts[0]=='SESSION') { session_commit(); ...
CVE-2020-5203
{'CWE-20', 'CWE-94'}
6.4
{'https://github.com/bcosca/fatfree-core/commit/dae95a0baf3963a9ef87c17cee52f78f77e21829'}
nvd
In Fat-Free Framework 3.7.1, attackers can achieve arbitrary code execution if developers choose to pass user controlled input (e.g., $_REQUEST, $_GET, or $_POST) to the framework's Clear method.
2020-03-11
1
https://github.com/bcosca/fatfree-core
https://github.com/bcosca/fatfree-core/commit/dae95a0baf3963a9ef87c17cee52f78f77e21829
dae95a0baf3963a9ef87c17cee52f78f77e21829
SINGLE
['dae95a0baf3963a9ef87c17cee52f78f77e21829']
{'df097f2a3756ff6edfb105b09f395b4c6261b87b'}
dae95a0baf3963a9ef87c17cee52f78f77e21829
1
01/04/2020, 14:43:41
ensure misuse of clear() wont open a vulnerability
ikkez
null
{'additions': 4, 'deletions': 4, 'total': 8}
[ { "additions": 4, "changes": 8, "deletions": 4, "patch": "@@ -503,6 +503,8 @@ function clear($key) {\n \t\t\t// Reset global to default value\n \t\t\t$this->hive[$parts[0]]=$this->init[$parts[0]];\n \t\telse {\n+\t\t\t// Ensure we have no code injection\n+\t\t\t$key=preg_replace('/(\\)\\W*\\w+.*$)/'...
php
CWE-94
[ "base.php" ]
base.php
1
int read_fru_area(struct ipmi_intf * intf, struct fru_info *fru, uint8_t id, uint32_t offset, uint32_t length, uint8_t *frubuf) { uint32_t off = offset, tmp, finish; struct ipmi_rs * rsp; struct ipmi_rq req; uint8_t msg_data[4]; read_fru_area(struct ipmi_intf * intf, struct fru_info *fru, uint8_t id, finish =...
int read_fru_area(struct ipmi_intf * intf, struct fru_info *fru, uint8_t id, uint32_t offset, uint32_t length, uint8_t *frubuf) { uint32_t off = offset; uint32_t tmp; uint32_t finish; uint32_t size_left_in_buffer; struct ipmi_rs * rsp; struct ipmi_rq req; uint8_t msg_data[4]; read_fru_area(struct ipmi_intf *...
CVE-2020-5208
{'CWE-120'}
6.4
{'https://github.com/ipmitool/ipmitool/commit/e824c23316ae50beb7f7488f2055ac65e8b341f2'}
nvd
It's been found that multiple functions in ipmitool before 1.8.19 neglect proper checking of the data received from a remote LAN party, which may lead to buffer overflows and potentially to remote code execution on the ipmitool side. This is especially dangerous if ipmitool is run as a privileged user. This problem is ...
2020-02-05
1
https://github.com/ipmitool/ipmitool
https://github.com/ipmitool/ipmitool/commit/e824c23316ae50beb7f7488f2055ac65e8b341f2
e824c23316ae50beb7f7488f2055ac65e8b341f2
SINGLE
['e824c23316ae50beb7f7488f2055ac65e8b341f2']
{'7a66d8725dbe40dfd45b3de0066d8363cc82b184'}
e824c23316ae50beb7f7488f2055ac65e8b341f2
1
11/28/2019, 16:33:59
fru: Fix buffer overflow vulnerabilities Partial fix for CVE-2020-5208, see https://github.com/ipmitool/ipmitool/security/advisories/GHSA-g659-9qxw-p7cp The `read_fru_area_section` function only performs size validation of requested read size, and falsely assumes that the IPMI message will not respond with more than ...
Chrostoper Ertl
null
{'additions': 31, 'deletions': 2, 'total': 33}
[ { "additions": 31, "changes": 33, "deletions": 2, "patch": "@@ -663,7 +663,10 @@ int\n read_fru_area(struct ipmi_intf * intf, struct fru_info *fru, uint8_t id,\n \t\t\tuint32_t offset, uint32_t length, uint8_t *frubuf)\n {\n-\tuint32_t off = offset, tmp, finish;\n+\tuint32_t off = offset;\n+\tuint32...
c
CWE-120
[ "lib/ipmi_fru.c" ]
lib/ipmi_fru.c
1
use PrestaShopBundle\Service\Routing\Router as PrestaShopRouter; use Symfony\Component\HttpFoundation\Request; /** * Admin controller to manage security pages. class SecurityController extends FrameworkBundleAdminController public function compromisedAccessAction(Request $request) { $requestUri = ur...
use PrestaShopBundle\Service\Routing\Router as PrestaShopRouter; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Validator\Constraints as Assert; /** * Admin controller to manage security pages. class SecurityController extends FrameworkBundleAdminController public function compromisedAccess...
CVE-2020-5264
{'CWE-79'}
2.9
{'https://github.com/PrestaShop/PrestaShop/commit/06b7765c91c58e09ab4f8ddafbde02070fcb6f3a'}
nvd
In PrestaShop before version 1.7.6.5, there is a reflected XSS while running the security compromised page. It allows anyone to execute arbitrary action. The problem is patched in the 1.7.6.5.
2020-04-20
1
https://github.com/PrestaShop/PrestaShop
https://github.com/PrestaShop/PrestaShop/commit/06b7765c91c58e09ab4f8ddafbde02070fcb6f3a
06b7765c91c58e09ab4f8ddafbde02070fcb6f3a
SINGLE
['06b7765c91c58e09ab4f8ddafbde02070fcb6f3a']
{'0d649bc9c2cdd1241d4510d67d85a39a87fd91ea', 'fcd799e4848584bd42ee35ec58f9aa77c672efd3'}
06b7765c91c58e09ab4f8ddafbde02070fcb6f3a
1
04/15/2020, 09:06:52
Merge pull request from GHSA-48vj-vvr6-jj4f The url must be tested before used as a button link
GoT
null
{'additions': 12, 'deletions': 3, 'total': 15}
[ { "additions": 12, "changes": 15, "deletions": 3, "patch": "@@ -28,6 +28,7 @@\n \n use PrestaShopBundle\\Service\\Routing\\Router as PrestaShopRouter;\n use Symfony\\Component\\HttpFoundation\\Request;\n+use Symfony\\Component\\Validator\\Constraints as Assert;\n \n /**\n * Admin controller to mana...
php
CWE-79
[ "src/PrestaShopBundle/Controller/Admin/SecurityController.php" ]
src/PrestaShopBundle/Controller/Admin/SecurityController.php
1
public function getDateFormat() return $this->_date_format; } public function setDateFrom($value) { if (!isset($value) || $value == '') { $value = date('Y-m-d', strtotime('-31 days')); } if (!is_string($value)) { throw new PrestaShopException('Date ...
public function getDateFormat() return $this->_date_format; } public function setDateFrom($value = '') { if (empty($value)) { $value = strtotime('-31 days'); } if (!is_string($value)) { throw new PrestaShopException('Date must be a string'); ...
CVE-2020-5271
{'CWE-79'}
2.9
{'https://github.com/PrestaShop/PrestaShop/commit/c464518d2aaf195007a1eb055fce64a9a027e00a'}
nvd
In PrestaShop between versions 1.6.0.0 and 1.7.6.5, there is a reflected XSS with `date_from` and `date_to` parameters in the dashboard page This problem is fixed in 1.7.6.5
2020-04-20
1
https://github.com/PrestaShop/PrestaShop
https://github.com/PrestaShop/PrestaShop/commit/c464518d2aaf195007a1eb055fce64a9a027e00a
c464518d2aaf195007a1eb055fce64a9a027e00a
SINGLE
['c464518d2aaf195007a1eb055fce64a9a027e00a']
{'75bcf5a9bf9d50b5698012afa129901f16d6f5f6', 'b6290a64f841176c9a664a83350be8f3cb38f767'}
c464518d2aaf195007a1eb055fce64a9a027e00a
1
04/15/2020, 09:16:10
Merge pull request from GHSA-m2x6-c2c6-pjrx Make sure date_from and date_to are dates
GoT
null
{'additions': 10, 'deletions': 10, 'total': 20}
[ { "additions": 10, "changes": 20, "deletions": 10, "patch": "@@ -145,49 +145,49 @@ public function getDateFormat()\n return $this->_date_format;\n }\n \n- public function setDateFrom($value)\n+ public function setDateFrom($value = '')\n {\n- if (!isset($value) || $value ...
php
CWE-79
[ "classes/helper/HelperCalendar.php" ]
classes/helper/HelperCalendar.php
1
public function processSave() $this->errors[] = $this->trans('Aliases and results are both required.', array(), 'Admin.Shopparameters.Notification'); } if (!Validate::isValidSearch($search)) { $this->errors[] = $search . ' ' . $this->trans('Is not a valid result', array(), 'Admi...
public function processSave() $this->errors[] = $this->trans('Aliases and results are both required.', array(), 'Admin.Shopparameters.Notification'); } if (!Validate::isValidSearch($search)) { $this->errors[] = Tools::safeOutput($search) . ' ' . $this->trans('Is not a valid resu...
CVE-2020-5272
{'CWE-79'}
2.9
{'https://github.com/PrestaShop/PrestaShop/commit/d3bf027fa37e8105fed3c809d636ebe787e43f46'}
nvd
In PrestaShop between versions 1.5.5.0 and 1.7.6.5, there is a reflected XSS on Search page with `alias` and `search` parameters. The problem is patched in 1.7.6.5
2020-04-20
1
https://github.com/PrestaShop/PrestaShop
https://github.com/PrestaShop/PrestaShop/commit/d3bf027fa37e8105fed3c809d636ebe787e43f46
d3bf027fa37e8105fed3c809d636ebe787e43f46
SINGLE
['d3bf027fa37e8105fed3c809d636ebe787e43f46']
{'c464518d2aaf195007a1eb055fce64a9a027e00a', '9bc07ae6d1702c39cde3c18466d50b73a6ed0a31'}
d3bf027fa37e8105fed3c809d636ebe787e43f46
1
04/15/2020, 09:16:27
Merge pull request from GHSA-rpg3-f23r-jmqv Escape alias and search for safe output
GoT
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -391,11 +391,11 @@ public function processSave()\n $this->errors[] = $this->trans('Aliases and results are both required.', array(), 'Admin.Shopparameters.Notification');\n }\n if (!Validate::isValidSearch($sear...
php
CWE-79
[ "controllers/admin/AdminSearchConfController.php" ]
controllers/admin/AdminSearchConfController.php
1
protected function processBulkDelete() $result = true; foreach ($this->boxes as $id) { /** @var $to_delete ObjectModel */ $to_delete = new $this->className($id); $delete_ok = true; if ($this->deleted) { ...
protected function processBulkDelete() $result = true; foreach ($this->boxes as $id) { /** @var $to_delete ObjectModel */ $to_delete = new $this->className((int) $id); $delete_ok = true; if ($this->deleted) ...
CVE-2020-5276
{'CWE-79'}
2.9
{'https://github.com/PrestaShop/PrestaShop/commit/6838d21850e7227fb8afbf568cb0386b3dedd3ef'}
nvd
In PrestaShop between versions 1.7.1.0 and 1.7.6.5, there is a reflected XSS on AdminCarts page with `cartBox` parameter The problem is fixed in 1.7.6.5
2020-04-20
1
https://github.com/PrestaShop/PrestaShop
https://github.com/PrestaShop/PrestaShop/commit/6838d21850e7227fb8afbf568cb0386b3dedd3ef
6838d21850e7227fb8afbf568cb0386b3dedd3ef
SINGLE
['6838d21850e7227fb8afbf568cb0386b3dedd3ef']
{'d3bf027fa37e8105fed3c809d636ebe787e43f46', 'b918ba8274cc709aaf548d84903564eb124c24b9'}
6838d21850e7227fb8afbf568cb0386b3dedd3ef
1
04/15/2020, 09:17:45
Merge pull request from GHSA-q6pr-42v5-v97q Id must be cast in integer
GoT
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -4081,7 +4081,7 @@ protected function processBulkDelete()\n $result = true;\n foreach ($this->boxes as $id) {\n /** @var $to_delete ObjectModel */\n- $to_delete = new $...
php
CWE-79
[ "classes/controller/AdminController.php" ]
classes/controller/AdminController.php
1
public function checkLinksRewrite($params) $params['errors'][] = Tools::displayError( $this->trans( '"%s" is not a valid url', [$urlNameLang], 'Modules.Facetedsearch.Admin' ) ...
public function checkLinksRewrite($params) $params['errors'][] = Tools::displayError( $this->trans( '"%s" is not a valid url', [Tools::safeOutput($urlNameLang, true)], 'Modules.Facetedsearch.Admin' ...
CVE-2020-5277
{'CWE-79'}
2.9
{'https://github.com/PrestaShop/ps_facetedsearch/commit/c792ddcdd84ec208a6dfa4a30fd66d8bc9863f4a'}
nvd
PrestaShop module ps_facetedsearch versions before 3.5.0 has a reflected XSS with `url_name` parameter. The problem is fixed in 3.5.0
2020-03-25
1
https://github.com/PrestaShop/ps_facetedsearch
https://github.com/PrestaShop/ps_facetedsearch/commit/c792ddcdd84ec208a6dfa4a30fd66d8bc9863f4a
c792ddcdd84ec208a6dfa4a30fd66d8bc9863f4a
SINGLE
['c792ddcdd84ec208a6dfa4a30fd66d8bc9863f4a']
{'03925b4707520e04ebbf5184445a1393def47344', '58e78e6e1feae00893a7cfc84339556266827778'}
c792ddcdd84ec208a6dfa4a30fd66d8bc9863f4a
1
03/24/2020, 16:37:48
Merge pull request from GHSA-mmmv-m5q9-g3cm Escape url_name parameter
GoT
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -1208,7 +1208,7 @@ public function checkLinksRewrite($params)\n $params['errors'][] = Tools::displayError(\n $this->trans(\n '\"%s\" is not a valid url',\n- ...
php
CWE-79
[ "ps_facetedsearch.php" ]
ps_facetedsearch.php
1
protected function getExtendedMessage($html = true) return sprintf( $format, $this->getMessage(), $this->getLine(), ltrim(str_replace(array(_PS_ROOT_DIR_, '\\'), array('', '/'), $this->getFile()), '/') );
protected function getExtendedMessage($html = true) return sprintf( $format, Tools::safeOutput($this->getMessage(), true), $this->getLine(), ltrim(str_replace(array(_PS_ROOT_DIR_, '\\'), array('', '/'), $this->getFile()), '/') );
CVE-2020-5278
{'CWE-79'}
2.9
{'https://github.com/PrestaShop/PrestaShop/commit/ea85210d6e5d81f058b55764bc4608cdb0b36c5d'}
nvd
In PrestaShop between versions 1.5.4.0 and 1.7.6.5, there is a reflected XSS on Exception page The problem is fixed in 1.7.6.5
2020-04-20
1
https://github.com/PrestaShop/PrestaShop
https://github.com/PrestaShop/PrestaShop/commit/ea85210d6e5d81f058b55764bc4608cdb0b36c5d
ea85210d6e5d81f058b55764bc4608cdb0b36c5d
SINGLE
['ea85210d6e5d81f058b55764bc4608cdb0b36c5d']
{'6838d21850e7227fb8afbf568cb0386b3dedd3ef', '664b1de4e47f298df90dd8972861ff76280aebf6'}
ea85210d6e5d81f058b55764bc4608cdb0b36c5d
1
04/15/2020, 09:18:00
Merge pull request from GHSA-mrpj-67mq-3fr5 Escape exception message when rendering PrestaShopException
GoT
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -230,7 +230,7 @@ protected function getExtendedMessage($html = true)\n \n return sprintf(\n $format,\n- $this->getMessage(),\n+ Tools::safeOutput($this->getMessage(), true),\n $this->ge...
php
CWE-79
[ "classes/exception/PrestaShopException.php" ]
classes/exception/PrestaShopException.php
1
def view_directory(request): if request.roottype == 'cvs' and file.rev is not None: row.rev = None if cfg.options.show_logs: row.log_file = file.newest_file row.log_rev = file.rev if request.roottype == 'svn':
def view_directory(request): if request.roottype == 'cvs' and file.rev is not None: row.rev = None if cfg.options.show_logs: row.log_file = request.server.escape(file.newest_file) row.log_rev = file.rev if request.roottype == 'svn':
CVE-2020-5283
{'CWE-79'}
2.9
{'https://github.com/viewvc/viewvc/commit/ad0f966e9a997b17d853a6972ea283d4dcd70fa8'}
nvd
ViewVC before versions 1.1.28 and 1.2.1 has a XSS vulnerability in CVS show_subdir_lastmod support. The impact of this vulnerability is mitigated by the need for an attacker to have commit privileges to a CVS repository exposed by an otherwise trusted ViewVC instance that also has the `show_subdir_lastmod` feature enab...
2020-04-03
1
https://github.com/viewvc/viewvc
https://github.com/viewvc/viewvc/commit/ad0f966e9a997b17d853a6972ea283d4dcd70fa8
ad0f966e9a997b17d853a6972ea283d4dcd70fa8
SINGLE
['ad0f966e9a997b17d853a6972ea283d4dcd70fa8']
{'793889520509e3eaa8252965f1aeec0b64cd25e6'}
ad0f966e9a997b17d853a6972ea283d4dcd70fa8
1
03/26/2020, 18:11:41
issue #211: escape CVS subdir last-modified file name
C. Michael Pilato
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -2412,7 +2412,7 @@ def view_directory(request):\n if request.roottype == 'cvs' and file.rev is not None:\n row.rev = None\n if cfg.options.show_logs:\n- row.log_file = file.newest_file\n+ row.log_fil...
py
CWE-79
[ "lib/viewvc.py" ]
lib/viewvc.py
1
public function getFunctions() return [ new TwigFunction( 'pathWithBackUrl', [$this, 'getPathWithBackUrl'], ['is_safe_callback' => [$this->routingExtension, 'isUrlGenerationSafe']] ), ]; }
public function getFunctions() return [ new TwigFunction( 'pathWithBackUrl', [$this, 'getPathWithBackUrl'] ), ]; }
CVE-2020-5285
{'CWE-79'}
2.9
{'https://github.com/PrestaShop/PrestaShop/commit/b6aea152988d81e1586f1c03f2e72c9ef2fe7df7'}
nvd
In PrestaShop between versions 1.7.6.0 and 1.7.6.5, there is a reflected XSS with `back` parameter. The problem is fixed in 1.7.6.5
2020-04-20
1
https://github.com/PrestaShop/PrestaShop
https://github.com/PrestaShop/PrestaShop/commit/b6aea152988d81e1586f1c03f2e72c9ef2fe7df7
b6aea152988d81e1586f1c03f2e72c9ef2fe7df7
SINGLE
['b6aea152988d81e1586f1c03f2e72c9ef2fe7df7']
{'ea85210d6e5d81f058b55764bc4608cdb0b36c5d', '17cd8e8111c94bd8d39f5bd48566d4009462fc7c'}
b6aea152988d81e1586f1c03f2e72c9ef2fe7df7
1
04/15/2020, 09:19:11
Merge pull request from GHSA-j3r6-33hf-m8wh Do not use useless is_safe_callback option, auto escape the extension's result
GoT
null
{'additions': 1, 'deletions': 2, 'total': 3}
[ { "additions": 1, "changes": 3, "deletions": 2, "patch": "@@ -75,8 +75,7 @@ public function getFunctions()\n return [\n new TwigFunction(\n 'pathWithBackUrl',\n- [$this, 'getPathWithBackUrl'],\n- ['is_safe_callback' => [$this->routing...
php
CWE-79
[ "src/PrestaShopBundle/Twig/Extension/PathWithBackUrlExtension.php" ]
src/PrestaShopBundle/Twig/Extension/PathWithBackUrlExtension.php
1
bool AES_GCM_EncryptContext::Encrypt( void *pEncryptedDataAndTag, uint32 *pcbEncryptedDataAndTag, const void *pAdditionalAuthenticationData, size_t cbAuthenticationData ) { unsigned long long pcbEncryptedDataAndTag_longlong = *pcbEncryptedDataAndTag; crypto_aead_aes256gcm_encrypt_afternm( static_cast<unsi...
bool AES_GCM_EncryptContext::Encrypt( void *pEncryptedDataAndTag, uint32 *pcbEncryptedDataAndTag, const void *pAdditionalAuthenticationData, size_t cbAuthenticationData ) { // Make sure caller's buffer is big enough to hold the result. if ( cbPlaintextData + crypto_aead_aes256gcm_ABYTES > *pcbEncryptedDataAndTag ...
CVE-2020-6018
{'CWE-787'}
6.4
{'https://github.com/ValveSoftware/GameNetworkingSockets/commit/bea84e2844b647532a9b7fbc3a6a8989d66e49e3'}
nvd
Valve's Game Networking Sockets prior to version v1.2.0 improperly handles long encrypted messages in function AES_GCM_DecryptContext::Decrypt() when compiled using libsodium, leading to a Stack-Based Buffer Overflow and resulting in a memory corruption and possibly even a remote code execution.
2020-12-02
1
https://github.com/ValveSoftware/GameNetworkingSockets
https://github.com/ValveSoftware/GameNetworkingSockets/commit/bea84e2844b647532a9b7fbc3a6a8989d66e49e3
bea84e2844b647532a9b7fbc3a6a8989d66e49e3
SINGLE
['bea84e2844b647532a9b7fbc3a6a8989d66e49e3']
{'d885e72b436b0f76d73c8926de7368c1a2fad173'}
bea84e2844b647532a9b7fbc3a6a8989d66e49e3
1
09/03/2020, 22:05:55
Check if output buffer is too small. It really seems like libsodium (whose entire purpose is to make crypto idiot-proof) making me mess with these details is a flaw in the API design. Also, correct Hungarian.
Fletcher Dunn
null
{'additions': 20, 'deletions': 7, 'total': 27}
[ { "additions": 20, "changes": 27, "deletions": 7, "patch": "@@ -50,18 +50,25 @@ bool AES_GCM_EncryptContext::Encrypt(\n \tvoid *pEncryptedDataAndTag, uint32 *pcbEncryptedDataAndTag,\n \tconst void *pAdditionalAuthenticationData, size_t cbAuthenticationData\n ) {\n- unsigned long long pcbEncrypted...
cpp
CWE-787
[ "src/common/crypto_libsodium.cpp" ]
src/common/crypto_libsodium.cpp
1
$ip=$_GET["ip"]; $comm=$_GET["comm"]; $id=$_GET["id"]; $cmd="./nagios_hpeilo_engine -H $ip -C $comm -o $id -J"; $ret = exec($cmd,$output); echo join("\n",$output); ?>
$ip=$_GET["ip"]; $comm=$_GET["comm"]; $id=$_GET["id"]; $cmd=escapeshellcmd("./nagios_hpeilo_engine -H $ip -C $comm -o $id -J"); $ret = exec($cmd,$output); echo join("\n",$output); ?>
CVE-2020-7206
{'CWE-78'}
6.4
{'https://github.com/HewlettPackard/nagios-plugins-hpilo/commit/7617b2736a95c7f354198f092febe37e7005c677'}
nvd
HP nagios plugin for iLO (nagios-plugins-hpilo v1.50 and earlier) has a php code injection vulnerability.
2020-07-17
1
https://github.com/HewlettPackard/nagios-plugins-hpilo
https://github.com/HewlettPackard/nagios-plugins-hpilo/commit/7617b2736a95c7f354198f092febe37e7005c677
7617b2736a95c7f354198f092febe37e7005c677
SINGLE
['7617b2736a95c7f354198f092febe37e7005c677']
{'c2312b9199d2fd130b865263543725a9e680e551', 'ef928654ec59ad6a805b588dd5cf3bcb1b3cfa8a'}
7617b2736a95c7f354198f092febe37e7005c677
1
07/16/2020, 22:25:17
Merge pull request #8 from dchangtw/1.5.0 CVE-2020-7206: Fix php code injection problem
pmschoeller
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -22,7 +22,7 @@\n $ip=$_GET[\"ip\"];\r\n $comm=$_GET[\"comm\"];\r\n $id=$_GET[\"id\"];\r\n- $cmd=\"./nagios_hpeilo_engine -H $ip -C $comm -o $id -J\";\r\n+ $cmd=escapeshellcmd(\"./nagios_hpeilo_engine -...
php
CWE-78
[ "action-url/nagios_hpeilo_service_details.php" ]
action-url/nagios_hpeilo_service_details.php
1
/* $OpenBSD: smtp_session.c,v 1.421 2020/01/08 00:05:38 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> smtp_mailaddr(struct mailaddr *maddr, char *line, int mailfrom, char **args, memmove(maddr->user, p, strlen(p) + 1); } if (!valid_localpart(maddr->user) || !valid_domainpart(mad...
/* $OpenBSD: smtp_session.c,v 1.422 2020/01/28 21:35:00 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> smtp_mailaddr(struct mailaddr *maddr, char *line, int mailfrom, char **args, memmove(maddr->user, p, strlen(p) + 1); } /* accept empty return-path in MAIL FROM, required for bounces ...
CVE-2020-7247
{'CWE-755', 'CWE-78'}
10
{'https://github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45'}
nvd
smtp_mailaddr in smtp_session.c in OpenSMTPD 6.6, as used in OpenBSD 6.6 and other products, allows remote attackers to execute arbitrary commands as root via a crafted SMTP session, as demonstrated by shell metacharacters in a MAIL FROM field. This affects the "uncommented" default configuration. The issue exists beca...
2020-01-29
1
https://github.com/openbsd/src
https://github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45
9dcfda045474d8903224d175907bfc29761dcb45
SINGLE
['9dcfda045474d8903224d175907bfc29761dcb45']
{'23b78d59dd06c749764286c494b6da7648557f69'}
9dcfda045474d8903224d175907bfc29761dcb45
1
01/28/2020, 21:35:00
Fix a security vulnerability discovered by Qualys which can lead to a privileges escalation on mbox deliveries and unprivileged code execution on lmtp deliveries, due to a logic issue causing a sanity check to be missed. ok eric@, millert@
gilles
null
{'additions': 14, 'deletions': 16, 'total': 30}
[ { "additions": 14, "changes": 30, "deletions": 16, "patch": "@@ -1,4 +1,4 @@\n-/*\t$OpenBSD: smtp_session.c,v 1.421 2020/01/08 00:05:38 gilles Exp $\t*/\n+/*\t$OpenBSD: smtp_session.c,v 1.422 2020/01/28 21:35:00 gilles Exp $\t*/\n \n /*\n * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>\n@@ -...
c
CWE-78
[ "usr.sbin/smtpd/smtp_session.c" ]
usr.sbin/smtpd/smtp_session.c
1
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */ struct tok message_type_values[] = { { 0x00, "REQUEST" }, { 0x01, "REQUEST_NO_RETURN" }, { 0x02, "NOTIFICATION" }, struct tok message_type_values[] = { { 0, NULL } }; struct tok return_code_values[] = { { 0x00, "E_OK" }, ...
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */ static const struct tok message_type_values[] = { { 0x00, "REQUEST" }, { 0x01, "REQUEST_NO_RETURN" }, { 0x02, "NOTIFICATION" }, struct tok message_type_values[] = { { 0, NULL } }; static const struct tok return_code_values[] ...
CVE-2020-8036
{'CWE-125'}
2.9
{'https://github.com/the-tcpdump-group/tcpdump/commit/e2256b4f2506102be2c6f7976f84f0d607c53d43'}
nvd
The tok2strbuf() function in tcpdump 4.10.0-PRE-GIT was used by the SOME/IP dissector in an unsafe way.
2020-11-04
1
https://github.com/the-tcpdump-group/tcpdump
https://github.com/the-tcpdump-group/tcpdump/commit/e2256b4f2506102be2c6f7976f84f0d607c53d43
e2256b4f2506102be2c6f7976f84f0d607c53d43
SINGLE
['e2256b4f2506102be2c6f7976f84f0d607c53d43']
{'cd0857c3b1d14425e3df7e322d7a7fe7db200eef'}
e2256b4f2506102be2c6f7976f84f0d607c53d43
1
02/29/2020, 14:52:39
SOME/IP: Fix terminating a "struct tok" array Moreover: Declare static and const the "struct tok" arrays.
Francois-Xavier Le Bail
null
{'additions': 3, 'deletions': 2, 'total': 5}
[ { "additions": 3, "changes": 5, "deletions": 2, "patch": "@@ -42,7 +42,7 @@\n * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n */\n \n-struct tok message_type_values[] = {\n+static const struct tok message_type_values[] = {\n { 0x00, \"REQUEST\" },\n { 0x01, \"REQUE...
c
CWE-125
[ "print-someip.c" ]
print-someip.c
1
static int may_linkat(struct path *link) * may_create_in_sticky - Check whether an O_CREAT open in a sticky directory * should be allowed, or not, on files that already * exist. * @dir: the sticky parent directory * @inode: the inode of the file to open * * Block an O_CREAT open of a FIFO (or a regular ...
static int may_linkat(struct path *link) * may_create_in_sticky - Check whether an O_CREAT open in a sticky directory * should be allowed, or not, on files that already * exist. * @dir_mode: mode bits of directory * @dir_uid: owner of directory * @inode: the inode of the file to open * * Block an O_CRE...
CVE-2020-8428
{'CWE-416'}
4.9
{'https://github.com/torvalds/linux/commit/d0cb50185ae942b03c4327be322055d622dc79f6'}
nvd
fs/namei.c in the Linux kernel before 5.5 has a may_create_in_sticky use-after-free, which allows local users to cause a denial of service (OOPS) or possibly obtain sensitive information from kernel memory, aka CID-d0cb50185ae9. One attack vector may be an open system call for a UNIX domain socket, if the socket is bei...
2020-01-29
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/d0cb50185ae942b03c4327be322055d622dc79f6
d0cb50185ae942b03c4327be322055d622dc79f6
SINGLE
['d0cb50185ae942b03c4327be322055d622dc79f6']
{'508c8772760d4ef9c1a044519b564710c3684fc5'}
d0cb50185ae942b03c4327be322055d622dc79f6
1
01/26/2020, 14:29:34
do_last(): fetch directory ->i_mode and ->i_uid before it's too late may_create_in_sticky() call is done when we already have dropped the reference to dir. Fixes: 30aba6656f61e (namei: allow restricted O_CREAT of FIFOs and regular files) Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro
null
{'additions': 10, 'deletions': 7, 'total': 17}
[ { "additions": 10, "changes": 17, "deletions": 7, "patch": "@@ -1001,7 +1001,8 @@ static int may_linkat(struct path *link)\n * may_create_in_sticky - Check whether an O_CREAT open in a sticky directory\n *\t\t\t should be allowed, or not, on files that already\n *\t\t\t exist.\n- * @dir: the st...
c
CWE-416
[ "fs/namei.c" ]
fs/namei.c
1
protected function standardize_attributes( array $rawattr ) { // Sanitize attributes. $attr = shortcode_atts( $defaults, $rawattr ); $attr['embed_stylesheet'] = $this->shortcode_bool( $attr['embed_stylesheet'] ); $attr['show_line_numbers'] = $this->shortcode_bool( $attr['show_line_numbers'] ); $attr['show_...
protected function standardize_attributes( array $rawattr ) { // Sanitize attributes. $attr = shortcode_atts( $defaults, $rawattr ); $attr['id'] = preg_replace( '/[^a-z0-9]+/i', '', $attr['id'] ); $attr['embed_stylesheet'] = $this->shortcode_bool( $attr['embed_stylesheet'] ); $attr['show_lin...
CVE-2020-8498
{'CWE-79'}
2.9
{'https://github.com/bradyvercher/gistpress/commit/e3f260edb6673227b0471c74b7ab13c094411ef7'}
nvd
XSS exists in the shortcode functionality of the GistPress plugin before 3.0.2 for WordPress via the includes/class-gistpress.php id parameter. This allows an attacker with the WordPress Contributor role to execute arbitrary JavaScript code with the privileges of other users (e.g., ones who have the publish_posts capab...
2020-01-30
1
https://github.com/bradyvercher/gistpress
https://github.com/bradyvercher/gistpress/commit/e3f260edb6673227b0471c74b7ab13c094411ef7
e3f260edb6673227b0471c74b7ab13c094411ef7
SINGLE
['e3f260edb6673227b0471c74b7ab13c094411ef7']
{'768dd3dc9a7c6f04401f25f62dab62d3f2950313'}
e3f260edb6673227b0471c74b7ab13c094411ef7
1
01/16/2020, 19:16:56
Sanitize the shortcode id attribute.
Brady Vercher
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -681,6 +681,7 @@ protected function standardize_attributes( array $rawattr ) {\n \n \t\t// Sanitize attributes.\n \t\t$attr = shortcode_atts( $defaults, $rawattr );\n+\t\t$attr['id'] = preg_replace( '/[^a-z0-9]+/i', '', $att...
php
CWE-79
[ "includes/class-gistpress.php" ]
includes/class-gistpress.php
1
def rreplace(s, old, new, occurrence): p = Process(config_section) PASTES_FOLDER = os.path.join(os.environ['AIL_HOME'], p.config.get("Directories", "pastes")) PASTES_FOLDERS = PASTES_FOLDER + '/' # LOGGING # publisher.info("Feed Script started to receive & publish.") def rreplace(s, old, new, oc...
def rreplace(s, old, new, occurrence): p = Process(config_section) # get and sanityze PASTE DIRECTORY PASTES_FOLDER = os.path.join(os.environ['AIL_HOME'], p.config.get("Directories", "pastes")) PASTES_FOLDERS = PASTES_FOLDER + '/' PASTES_FOLDERS = os.path.join(os.path.realpath(PASTES_FOLDERS), ''...
CVE-2020-8545
{'CWE-22'}
2.9
{'https://github.com/CIRCL/AIL-framework/commit/e808840f957c810b8e3944cba808716dc722581b'}
nvd
Global.py in AIL framework 2.8 allows path traversal.
2020-02-03
1
https://github.com/CIRCL/AIL-framework
https://github.com/CIRCL/AIL-framework/commit/e808840f957c810b8e3944cba808716dc722581b
e808840f957c810b8e3944cba808716dc722581b
SINGLE
['e808840f957c810b8e3944cba808716dc722581b']
{'e19a3b3e630ed8cacd492e5c36ffa59c3cdfac78'}
e808840f957c810b8e3944cba808716dc722581b
1
02/03/2020, 09:32:20
fix: [Global: filename provided by all feeders] avoid path tranversal
Terrtia
null
{'additions': 31, 'deletions': 23, 'total': 54}
[ { "additions": 31, "changes": 54, "deletions": 23, "patch": "@@ -45,8 +45,10 @@ def rreplace(s, old, new, occurrence):\n \n p = Process(config_section)\n \n+ # get and sanityze PASTE DIRECTORY\n PASTES_FOLDER = os.path.join(os.environ['AIL_HOME'], p.config.get(\"Directories\", \"pastes\")...
py
CWE-22
[ "bin/Global.py" ]
bin/Global.py
1
int len; } /* Not so likely to happen. */ if (vallen >= len + sizeof (rhostname)) { dbglog("EAP: trimming really long peer name down"); BCOPY(inp + vallen, rhostname, sizeof (rhostname) - 1); rhostname[sizeof (rhostname) - 1] = '\0'; int len; } /* Not so likely to happen. */ if (vallen >= len + ...
int len; } /* Not so likely to happen. */ if (len - vallen >= sizeof (rhostname)) { dbglog("EAP: trimming really long peer name down"); BCOPY(inp + vallen, rhostname, sizeof (rhostname) - 1); rhostname[sizeof (rhostname) - 1] = '\0'; int len; } /* Not so likely to happen. */ if (len - vallen >= ...
CVE-2020-8597
{'CWE-120'}
6.4
{'https://github.com/paulusmack/ppp/commit/8d7970b8f3db727fe798b65f3377fe6787575426'}
nvd
eap.c in pppd in ppp 2.4.2 through 2.4.8 has an rhostname buffer overflow in the eap_request and eap_response functions.
2020-02-03
1
https://github.com/paulusmack/ppp
https://github.com/paulusmack/ppp/commit/8d7970b8f3db727fe798b65f3377fe6787575426
8d7970b8f3db727fe798b65f3377fe6787575426
SINGLE
['8d7970b8f3db727fe798b65f3377fe6787575426']
{'858976b1fc3107f1261aae337831959b511b83c2'}
8d7970b8f3db727fe798b65f3377fe6787575426
1
02/03/2020, 04:53:28
pppd: Fix bounds check in EAP code Given that we have just checked vallen < len, it can never be the case that vallen >= len + sizeof(rhostname). This fixes the check so we actually avoid overflowing the rhostname array. Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> Signed-off-by: Paul Mackerras <paulus...
Paul Mackerras
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -1420,7 +1420,7 @@ int len;\n \t\t}\n \n \t\t/* Not so likely to happen. */\n-\t\tif (vallen >= len + sizeof (rhostname)) {\n+\t\tif (len - vallen >= sizeof (rhostname)) {\n \t\t\tdbglog(\"EAP: trimming really long peer name down\");\n \t\...
c
CWE-120
[ "pppd/eap.c" ]
pppd/eap.c
1
function: change_parent */ function change_parent($node_id, $parent_id) { $debugMsg='Class:' .__CLASS__ . ' - Method:' . __FUNCTION__ . ' :: '; if( is_array($node_id) ) { $id_list = implode(",",$node_id); $where_clause = " WHERE id IN ($id_list) "; } else { $where_claus...
function: change_parent */ function change_parent($node_id, $parent_id) { $debugMsg = 'Class:' .__CLASS__ . ' - Method:' . __FUNCTION__ . ' :: '; if (is_array($node_id)) { $safeSet = array_map('intval',$node_id); $id_list = implode(",",$safeSet); $where_claus...
CVE-2020-8637
{'CWE-89'}
6.4
{'https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/d99bd8277d384f3417e917ce20bef5d061110343'}
nvd
A SQL injection vulnerability in TestLink 1.9.20 allows attackers to execute arbitrary SQL commands in dragdroptreenodes.php via the node_id parameter.
2020-04-03
1
https://github.com/TestLinkOpenSourceTRMS/testlink-code
https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/d99bd8277d384f3417e917ce20bef5d061110343
d99bd8277d384f3417e917ce20bef5d061110343
SINGLE
['d99bd8277d384f3417e917ce20bef5d061110343']
{'57d81ae350d569c5c95087997fe051c49e14516d'}
d99bd8277d384f3417e917ce20bef5d061110343
1
02/05/2020, 11:41:23
refactoring for security (www.ackcent.com)
Francisco Mancardi
null
{'additions': 18, 'deletions': 10, 'total': 28}
[ { "additions": 18, "changes": 28, "deletions": 10, "patch": "@@ -537,18 +537,26 @@ function: change_parent\n */\n function change_parent($node_id, $parent_id) \n {\n- $debugMsg='Class:' .__CLASS__ . ' - Method:' . __FUNCTION__ . ' :: ';\n- if( is_array($node_id) )\n- {\n- $id_lis...
php
CWE-89
[ "lib/functions/tree.class.php" ]
lib/functions/tree.class.php
1
* * @filesource keywordsImport.php * @package TestLink * @copyright 2005,2015 TestLink community * @link http://www.testlink.org/ * */ $args = init_args($db); $gui = initializeGui($args); if(!$gui->msg && $args->UploadFile) { if(($args->source != 'none') && ($args->source != '')) { if (...
* * @filesource keywordsImport.php * @package TestLink * @copyright 2005,2020 TestLink community * @link http://www.testlink.org/ * */ $args = init_args($db); $gui = initializeGui($args); if (!$gui->msg && $args->UploadFile) { if(($args->source != 'none') && ($args->source != '')) { if (...
CVE-2020-8639
{'CWE-434'}
6.4
{'https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/57d81ae350d569c5c95087997fe051c49e14516d'}
nvd
An unrestricted file upload vulnerability in keywordsImport.php in TestLink 1.9.20 allows remote attackers to execute arbitrary code by uploading a file with an executable extension. This allows an authenticated attacker to upload a malicious file (containing PHP code to execute operating system commands) to a publicly...
2020-04-03
1
https://github.com/TestLinkOpenSourceTRMS/testlink-code
https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/57d81ae350d569c5c95087997fe051c49e14516d
57d81ae350d569c5c95087997fe051c49e14516d
SINGLE
['57d81ae350d569c5c95087997fe051c49e14516d']
{'aba55669da0f3b6e3e582c0500c6f2efe1902f75'}
57d81ae350d569c5c95087997fe051c49e14516d
1
02/05/2020, 11:31:50
refactoring for security (www.ackcent.com)
Francisco Mancardi
null
{'additions': 41, 'deletions': 32, 'total': 73}
[ { "additions": 41, "changes": 73, "deletions": 32, "patch": "@@ -7,7 +7,7 @@\n *\n * @filesource keywordsImport.php\n * @package TestLink\n- * @copyright 2005,2015 TestLink community \n+ * @copyright 2005,2020 TestLink community \n * @link http://www.testlink.org/\n *\n */\n@@ ...
php
CWE-434
[ "lib/keywords/keywordsImport.php" ]
lib/keywords/keywordsImport.php
1
int ecall_take_snapshot(char **output, uint64_t *output_len) { int ecall_restore(const char *input, uint64_t input_len, char **output, uint64_t *output_len) { if (!asylo::primitives::TrustedPrimitives::IsOutsideEnclave(input, input_len))...
int ecall_take_snapshot(char **output, uint64_t *output_len) { int ecall_restore(const char *input, uint64_t input_len, char **output, uint64_t *output_len) { if (!asylo::primitives::TrustedPrimitives::IsOutsideEnclave(input, input_len) ...
CVE-2020-8904
{'CWE-119'}
4.9
{'https://github.com/google/asylo/commit/e582f36ac49ee11a21d23ad6a30c333092e0a94e'}
nvd
An arbitrary memory overwrite vulnerability in the trusted memory of Asylo exists in versions prior to 0.6.0. As the ecall_restore function fails to validate the range of the output_len pointer, an attacker can manipulate the tmp_output_len value and write to an arbitrary location in the trusted (enclave) memory. We re...
2020-08-12
1
https://github.com/google/asylo
https://github.com/google/asylo/commit/e582f36ac49ee11a21d23ad6a30c333092e0a94e
e582f36ac49ee11a21d23ad6a30c333092e0a94e
SINGLE
['e582f36ac49ee11a21d23ad6a30c333092e0a94e']
{'bc3fdb4d7d9ec54cd6915481e98bfdb313c257e9'}
e582f36ac49ee11a21d23ad6a30c333092e0a94e
1
07/22/2020, 00:22:14
Check for output_len range in ecall_restore This may cause vulnerablity if pointing to trusted memory. This issue was reported by Qinkun Bao, Zhaofeng Chen, Mingshen Sun, and Kang Li from Baidu Security. PiperOrigin-RevId: 322476223 Change-Id: I8a6406e9f07a20582d4387bd9a3469dfa9cbcb12
Chong Cai
null
{'additions': 4, 'deletions': 2, 'total': 6}
[ { "additions": 4, "changes": 6, "deletions": 2, "patch": "@@ -62,9 +62,11 @@ int ecall_take_snapshot(char **output, uint64_t *output_len) {\n int ecall_restore(const char *input, uint64_t input_len, char **output,\n uint64_t *output_len) {\n if (!asylo::primitives::TrustedPrimiti...
cc
CWE-119
[ "asylo/platform/primitives/sgx/ecalls.cc" ]
asylo/platform/primitives/sgx/ecalls.cc
1
ssize_t enc_untrusted_recvfrom(int sockfd, void *buf, size_t len, int flags, } auto buffer_received = output.next(); memcpy(buf, buffer_received.data(), len); // If |src_addr| is not NULL, and the underlying protocol provides the source // address, this source address is filled in. When |src_addr| is NULL,...
ssize_t enc_untrusted_recvfrom(int sockfd, void *buf, size_t len, int flags, } auto buffer_received = output.next(); memcpy(buf, buffer_received.data(), std::min(len, buffer_received.size())); // If |src_addr| is not NULL, and the underlying protocol provides the source // address, this source address is f...
CVE-2020-8905
{'CWE-120'}
2.9
{'https://github.com/google/asylo/commit/299f804acbb95a612ab7c504d25ab908aa59ae93'}
nvd
A buffer length validation vulnerability in Asylo versions prior to 0.6.0 allows an attacker to read data they should not have access to. The 'enc_untrusted_recvfrom' function generates a return value which is deserialized by 'MessageReader', and copied into three different 'extents'. The length of the third 'extents' ...
2020-08-12
1
https://github.com/google/asylo
https://github.com/google/asylo/commit/299f804acbb95a612ab7c504d25ab908aa59ae93
299f804acbb95a612ab7c504d25ab908aa59ae93
SINGLE
['299f804acbb95a612ab7c504d25ab908aa59ae93']
{'e582f36ac49ee11a21d23ad6a30c333092e0a94e'}
299f804acbb95a612ab7c504d25ab908aa59ae93
1
07/22/2020, 00:22:45
Fix vulnerability in enc_untrusted_recvfrom Change recvfrom memcpy to check for received_buffer size to avoid copying extra buffer. This issue was reported by Qinkun Bao, Zhaofeng Chen, Mingshen Sun, and Kang Li from Baidu Security. PiperOrigin-RevId: 322476299 Change-Id: I3606ff9ec51ec7cc4312c7555c645a2fc6e09b21
Chong Cai
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -982,7 +982,7 @@ ssize_t enc_untrusted_recvfrom(int sockfd, void *buf, size_t len, int flags,\n }\n \n auto buffer_received = output.next();\n- memcpy(buf, buffer_received.data(), len);\n+ memcpy(buf, buffer_received.data(), std::min...
cc
CWE-120
[ "asylo/platform/host_call/trusted/host_calls.cc" ]
asylo/platform/host_call/trusted/host_calls.cc
1
int main(int argc, char * argv[]) int c; bool ignore_driver_version_mismatch = false; DBusError error; DBusConnection* connection; dbus_error_init(&error); int main(int argc, char * argv[]) if (gRet == ERRORCODE_QUIT) gRet = 0; return gRet; }
int main(int argc, char * argv[]) int c; bool ignore_driver_version_mismatch = false; DBusError error; DBusConnection* connection = NULL; dbus_error_init(&error); int main(int argc, char * argv[]) if (gRet == ERRORCODE_QUIT) gRet = 0; if (connection) { dbus_connection_unref(connection); } dbus_error_f...
CVE-2020-8916
{'CWE-401'}
2.9
{'https://github.com/openthread/wpantund/pull/468/commits/0e5d1601febb869f583e944785e5685c6c747be7'}
nvd
A memory leak in Openthread's wpantund versions up to commit 0e5d1601febb869f583e944785e5685c6c747be7, when used in an environment where wpanctl is directly interfacing with the control driver (eg: debug environments) can allow an attacker to crash the service (DoS). We recommend updating, or to restrict access in your...
2020-07-07
1
https://github.com/openthread/wpantund
https://github.com/openthread/wpantund/pull/468/commits/0e5d1601febb869f583e944785e5685c6c747be7
0e5d1601febb869f583e944785e5685c6c747be7
SINGLE
['0e5d1601febb869f583e944785e5685c6c747be7']
{'441c1685836a7a4def83718d2c71e5aa3d72d9f1'}
0e5d1601febb869f583e944785e5685c6c747be7
1
05/29/2020, 01:13:23
[wpanctl] free dbus connection and error on exit.
Abtin Keshavarzian
null
{'additions': 7, 'deletions': 1, 'total': 8}
[ { "additions": 7, "changes": 8, "deletions": 1, "patch": "@@ -435,7 +435,7 @@ int main(int argc, char * argv[])\n \tint c;\n \tbool ignore_driver_version_mismatch = false;\n \tDBusError error;\n-\tDBusConnection* connection;\n+\tDBusConnection* connection = NULL;\n \n \tdbus_error_init(&error);\n \n...
c
CWE-401
[ "src/wpanctl/wpanctl.c" ]
src/wpanctl/wpanctl.c
1
void *enc_untrusted_realloc(void *ptr, size_t size) { if (!result && size != 0) { errno = FromkLinuxErrorNumber(klinux_errno); } return result; }
void *enc_untrusted_realloc(void *ptr, size_t size) { if (!result && size != 0) { errno = FromkLinuxErrorNumber(klinux_errno); } if (!::asylo::primitives::TrustedPrimitives::IsOutsideEnclave(result, size)) { ::asylo::primitives::TrustedPrimitives::BestEffortAbort( "enc_untrusted_realloc: realloc...
CVE-2020-8935
{'CWE-119', 'CWE-787'}
6.4
{'https://github.com/google/asylo/commit/ed0926bff0e423cd122a18b3d2fc772817f66825'}
nvd
An arbitrary memory overwrite vulnerability in Asylo versions up to 0.6.0 allow an attacker to make an Ecall_restore function call to reallocate untrusted code and overwrite sections of the Enclave memory address. We recommend updating your library.
2020-12-15
1
https://github.com/google/asylo
https://github.com/google/asylo/commit/ed0926bff0e423cd122a18b3d2fc772817f66825
ed0926bff0e423cd122a18b3d2fc772817f66825
SINGLE
['ed0926bff0e423cd122a18b3d2fc772817f66825']
{'fa6485c5d16a7355eab047d4a44345a73bc9131e'}
ed0926bff0e423cd122a18b3d2fc772817f66825
1
09/25/2020, 18:11:32
Check return pointer is outside enclave in realloc PiperOrigin-RevId: 333769459 Change-Id: If53b5f4317080b8abaf5c4f80ce751f150630bcb
Chong Cai
null
{'additions': 6, 'deletions': 0, 'total': 6}
[ { "additions": 6, "changes": 6, "deletions": 0, "patch": "@@ -644,6 +644,12 @@ void *enc_untrusted_realloc(void *ptr, size_t size) {\n if (!result && size != 0) {\n errno = FromkLinuxErrorNumber(klinux_errno);\n }\n+\n+ if (!::asylo::primitives::TrustedPrimitives::IsOutsideEnclave(result, s...
cc
CWE-787
[ "asylo/platform/host_call/trusted/host_calls.cc" ]
asylo/platform/host_call/trusted/host_calls.cc
1
void *enc_untrusted_realloc(void *ptr, size_t size) { if (!result && size != 0) { errno = FromkLinuxErrorNumber(klinux_errno); } return result; }
void *enc_untrusted_realloc(void *ptr, size_t size) { if (!result && size != 0) { errno = FromkLinuxErrorNumber(klinux_errno); } if (!::asylo::primitives::TrustedPrimitives::IsOutsideEnclave(result, size)) { ::asylo::primitives::TrustedPrimitives::BestEffortAbort( "enc_untrusted_realloc: realloc...
CVE-2020-8935
{'CWE-119', 'CWE-787'}
6.4
{'https://github.com/google/asylo/commit/ed0926bff0e423cd122a18b3d2fc772817f66825'}
nvd
An arbitrary memory overwrite vulnerability in Asylo versions up to 0.6.0 allow an attacker to make an Ecall_restore function call to reallocate untrusted code and overwrite sections of the Enclave memory address. We recommend updating your library.
2020-12-15
1
https://github.com/google/asylo
https://github.com/google/asylo/commit/ed0926bff0e423cd122a18b3d2fc772817f66825
ed0926bff0e423cd122a18b3d2fc772817f66825
SINGLE
['ed0926bff0e423cd122a18b3d2fc772817f66825']
{'fa6485c5d16a7355eab047d4a44345a73bc9131e'}
ed0926bff0e423cd122a18b3d2fc772817f66825
1
09/25/2020, 18:11:32
Check return pointer is outside enclave in realloc PiperOrigin-RevId: 333769459 Change-Id: If53b5f4317080b8abaf5c4f80ce751f150630bcb
Chong Cai
null
{'additions': 6, 'deletions': 0, 'total': 6}
[ { "additions": 6, "changes": 6, "deletions": 0, "patch": "@@ -644,6 +644,12 @@ void *enc_untrusted_realloc(void *ptr, size_t size) {\n if (!result && size != 0) {\n errno = FromkLinuxErrorNumber(klinux_errno);\n }\n+\n+ if (!::asylo::primitives::TrustedPrimitives::IsOutsideEnclave(result, s...
cc
CWE-119
[ "asylo/platform/host_call/trusted/host_calls.cc" ]
asylo/platform/host_call/trusted/host_calls.cc
1
PrimitiveStatus TrustedPrimitives::UntrustedCall(uint64_t untrusted_selector, if (sgx_params->input) { untrusted_cache->Free(const_cast<void *>(sgx_params->input)); } if (sgx_params->output) { // For the results obtained in |output_buffer|, copy them to |output| // before freeing the buffer.
PrimitiveStatus TrustedPrimitives::UntrustedCall(uint64_t untrusted_selector, if (sgx_params->input) { untrusted_cache->Free(const_cast<void *>(sgx_params->input)); } if (!TrustedPrimitives::IsOutsideEnclave(sgx_params->output, sgx_params->output_size)) { Truste...
CVE-2020-8936
{'CWE-125'}
2.9
{'https://github.com/google/asylo/commit/83036fd841d33baa7e039f842d131aa7881fdcc2'}
nvd
An arbitrary memory overwrite vulnerability in Asylo versions up to 0.6.0 allows an attacker to make a host call to UntrustedCall. UntrustedCall failed to validate the buffer range within sgx_params and allowed the host to return a pointer that was an address within the enclave memory. This allowed an attacker to read ...
2020-12-15
1
https://github.com/google/asylo
https://github.com/google/asylo/commit/83036fd841d33baa7e039f842d131aa7881fdcc2
83036fd841d33baa7e039f842d131aa7881fdcc2
SINGLE
['83036fd841d33baa7e039f842d131aa7881fdcc2']
{'ed0926bff0e423cd122a18b3d2fc772817f66825'}
83036fd841d33baa7e039f842d131aa7881fdcc2
1
09/25/2020, 19:10:12
Verify UntrustedCall output is outside enclave PiperOrigin-RevId: 333781703 Change-Id: I9df55c04dc8b04f4bf0bda8e68cc32bca81b933a
Chong Cai
null
{'additions': 5, 'deletions': 0, 'total': 5}
[ { "additions": 5, "changes": 5, "deletions": 0, "patch": "@@ -288,6 +288,11 @@ PrimitiveStatus TrustedPrimitives::UntrustedCall(uint64_t untrusted_selector,\n if (sgx_params->input) {\n untrusted_cache->Free(const_cast<void *>(sgx_params->input));\n }\n+ if (!TrustedPrimitives::IsOutsideEnc...
cc
CWE-125
[ "asylo/platform/primitives/sgx/trusted_sgx.cc" ]
asylo/platform/primitives/sgx/trusted_sgx.cc
1
int32_t *enc_untrusted_create_wait_queue() { CheckStatusAndParamCount(status, output, "enc_untrusted_create_wait_queue", 2); int32_t *queue = reinterpret_cast<int32_t *>(output.next<uintptr_t>()); int klinux_errno = output.next<int>(); if (queue == nullptr) { errno = FromkLinuxEr...
int32_t *enc_untrusted_create_wait_queue() { CheckStatusAndParamCount(status, output, "enc_untrusted_create_wait_queue", 2); int32_t *queue = reinterpret_cast<int32_t *>(output.next<uintptr_t>()); if (!TrustedPrimitives::IsOutsideEnclave(queue, sizeof(int32_t))) { TrustedPrimitives...
CVE-2020-8937
{'CWE-787'}
2.9
{'https://github.com/google/asylo/commit/a37fb6a0e7daf30134dbbf357c9a518a1026aa02'}
nvd
An arbitrary memory overwrite vulnerability in Asylo versions up to 0.6.0 allows an attacker to make a host call to enc_untrusted_create_wait_queue that uses a pointer queue that relies on UntrustedLocalMemcpy, which fails to validate where the pointer is located. This allows an attacker to write memory values from wit...
2020-12-15
1
https://github.com/google/asylo
https://github.com/google/asylo/commit/a37fb6a0e7daf30134dbbf357c9a518a1026aa02
a37fb6a0e7daf30134dbbf357c9a518a1026aa02
SINGLE
['a37fb6a0e7daf30134dbbf357c9a518a1026aa02']
{'116b5aba9142558025b48b2c0e648bb765a557f8'}
a37fb6a0e7daf30134dbbf357c9a518a1026aa02
1
09/23/2020, 21:16:30
Check untrusted queue is in outside enclave PiperOrigin-RevId: 333370935 Change-Id: Ic3f15d5db1302d95c7cb199b44172474fecb81ca
Chong Cai
null
{'additions': 4, 'deletions': 0, 'total': 4}
[ { "additions": 4, "changes": 4, "deletions": 0, "patch": "@@ -93,6 +93,10 @@ int32_t *enc_untrusted_create_wait_queue() {\n CheckStatusAndParamCount(status, output, \"enc_untrusted_create_wait_queue\",\n 2);\n int32_t *queue = reinterpret_cast<int32_t *>(output.next<ui...
cc
CWE-787
[ "asylo/platform/host_call/trusted/concurrency.cc" ]
asylo/platform/host_call/trusted/concurrency.cc
1
bool FromkLinuxSockAddr(const struct klinux_sockaddr *input, int16_t klinux_family = input->klinux_sa_family; if (klinux_family == kLinux_AF_UNIX) { struct klinux_sockaddr_un *klinux_sockaddr_un_in = const_cast<struct klinux_sockaddr_un *>( reinterpret_cast<const struct klinux_sockaddr_un ...
bool FromkLinuxSockAddr(const struct klinux_sockaddr *input, int16_t klinux_family = input->klinux_sa_family; if (klinux_family == kLinux_AF_UNIX) { if (input_len < sizeof(struct klinux_sockaddr_un)) { return false; } struct klinux_sockaddr_un *klinux_sockaddr_un_in = const_cast<struct ...
CVE-2020-8938
{'CWE-787'}
2.9
{'https://github.com/google/asylo/commit/bda9772e7872b0d2b9bee32930cf7a4983837b39'}
nvd
An arbitrary memory overwrite vulnerability in Asylo versions up to 0.6.0 allows an attacker to make a host call to FromkLinuxSockAddr with attacker controlled content and size of klinux_addr which allows an attacker to write memory values from within the enclave. We recommend upgrading past commit a37fb6a0e7daf30134db...
2020-12-15
1
https://github.com/google/asylo
https://github.com/google/asylo/commit/bda9772e7872b0d2b9bee32930cf7a4983837b39
bda9772e7872b0d2b9bee32930cf7a4983837b39
SINGLE
['bda9772e7872b0d2b9bee32930cf7a4983837b39']
{'83036fd841d33baa7e039f842d131aa7881fdcc2'}
bda9772e7872b0d2b9bee32930cf7a4983837b39
1
09/25/2020, 19:27:44
Check input length in FromLinuxSockAddr PiperOrigin-RevId: 333785506 Change-Id: I1d68fb8954665eebc1018d80ff995cbe9e7ed6a9
Chong Cai
null
{'additions': 11, 'deletions': 0, 'total': 11}
[ { "additions": 11, "changes": 11, "deletions": 0, "patch": "@@ -429,6 +429,10 @@ bool FromkLinuxSockAddr(const struct klinux_sockaddr *input,\n \n int16_t klinux_family = input->klinux_sa_family;\n if (klinux_family == kLinux_AF_UNIX) {\n+ if (input_len < sizeof(struct klinux_sockaddr_un)) {\...
cc
CWE-787
[ "asylo/platform/system_call/type_conversions/manual_types_functions.cc" ]
asylo/platform/system_call/type_conversions/manual_types_functions.cc
1
const char *enc_untrusted_inet_ntop(int af, const void *src, char *dst, return nullptr; } memcpy(dst, result.data(), std::min(static_cast<size_t>(size), static_cast<size_t>(INET6_ADDRSTRLEN))); return dst; }
const char *enc_untrusted_inet_ntop(int af, const void *src, char *dst, return nullptr; } memcpy( dst, result.data(), std::min({static_cast<size_t>(size), static_cast<size_t>(result.size()), static_cast<size_t>(INET6_ADDRSTRLEN)})); return dst; }
CVE-2020-8939
{'CWE-125'}
2.9
{'https://github.com/google/asylo/commit/6ff3b77ffe110a33a2f93848a6333f33616f02c4'}
nvd
An out of bounds read on the enc_untrusted_inet_ntop function allows an attack to extend the result size that is used by memcpy() to read memory from within the enclave heap. We recommend upgrading past commit 6ff3b77ffe110a33a2f93848a6333f33616f02c4
2020-12-15
1
https://github.com/google/asylo
https://github.com/google/asylo/commit/6ff3b77ffe110a33a2f93848a6333f33616f02c4
6ff3b77ffe110a33a2f93848a6333f33616f02c4
SINGLE
['6ff3b77ffe110a33a2f93848a6333f33616f02c4']
{'bda9772e7872b0d2b9bee32930cf7a4983837b39'}
6ff3b77ffe110a33a2f93848a6333f33616f02c4
1
09/25/2020, 21:53:05
Check for result size in dst in inet_ntop PiperOrigin-RevId: 333814318 Change-Id: Id7766ed598809f5df42d457f224d6f3dea06c224
Chong Cai
null
{'additions': 4, 'deletions': 3, 'total': 7}
[ { "additions": 4, "changes": 7, "deletions": 3, "patch": "@@ -1325,9 +1325,10 @@ const char *enc_untrusted_inet_ntop(int af, const void *src, char *dst,\n return nullptr;\n }\n \n- memcpy(dst, result.data(),\n- std::min(static_cast<size_t>(size),\n- static_cast<size_t...
cc
CWE-125
[ "asylo/platform/host_call/trusted/host_calls.cc" ]
asylo/platform/host_call/trusted/host_calls.cc
1
ssize_t enc_untrusted_recvmsg(int sockfd, struct msghdr *msg, int flags) { return result; } auto msg_name_extent = output.next(); // The returned |msg_namelen| should not exceed the buffer size. if (msg_name_extent.size() <= msg->msg_namelen) {
ssize_t enc_untrusted_recvmsg(int sockfd, struct msghdr *msg, int flags) { return result; } if (result > total_buffer_size) { ::asylo::primitives::TrustedPrimitives::BestEffortAbort( "enc_untrusted_recvmsg: result exceeds requested"); } auto msg_name_extent = output.next(); // The returned ...
CVE-2020-8940
{'CWE-125'}
2.9
{'https://github.com/google/asylo/commit/fa6485c5d16a7355eab047d4a44345a73bc9131e'}
nvd
An arbitrary memory read vulnerability in Asylo versions up to 0.6.0 allows an untrusted attacker to make a call to enc_untrusted_recvmsg using an attacker controlled result parameter. The parameter size is unchecked allowing the attacker to read memory locations outside of the intended buffer size including memory add...
2020-12-15
1
https://github.com/google/asylo
https://github.com/google/asylo/commit/fa6485c5d16a7355eab047d4a44345a73bc9131e
fa6485c5d16a7355eab047d4a44345a73bc9131e
SINGLE
['fa6485c5d16a7355eab047d4a44345a73bc9131e']
{'6e158d558abd3c29a0208e30c97c9a8c5bd4230f'}
fa6485c5d16a7355eab047d4a44345a73bc9131e
1
09/24/2020, 00:57:04
Check return result in recvmsg PiperOrigin-RevId: 333411798 Change-Id: I61986b5a1bffd79c0e1950013aa9de09cf4a5d61
Chong Cai
null
{'additions': 5, 'deletions': 0, 'total': 5}
[ { "additions": 5, "changes": 5, "deletions": 0, "patch": "@@ -822,6 +822,11 @@ ssize_t enc_untrusted_recvmsg(int sockfd, struct msghdr *msg, int flags) {\n return result;\n }\n \n+ if (result > total_buffer_size) {\n+ ::asylo::primitives::TrustedPrimitives::BestEffortAbort(\n+ \"enc...
cc
CWE-125
[ "asylo/platform/host_call/trusted/host_calls.cc" ]
asylo/platform/host_call/trusted/host_calls.cc
1
int enc_untrusted_inet_pton(int af, const char *src, void *dst) { auto klinux_addr_buffer = output.next(); size_t max_size = 0; if (af == AF_INET) { max_size = sizeof(struct in_addr); } else if (af == AF_INET6) { max_size = sizeof(struct in6_addr); } memcpy(dst, klinux_addr_buffer.data(),
int enc_untrusted_inet_pton(int af, const char *src, void *dst) { auto klinux_addr_buffer = output.next(); size_t max_size = 0; if (af == AF_INET) { if (klinux_addr_buffer.size() != sizeof(klinux_in_addr)) { ::asylo::primitives::TrustedPrimitives::BestEffortAbort( "enc_untrusted_inet_pton: un...
CVE-2020-8941
{'CWE-125'}
2.9
{'https://github.com/google/asylo/commit/8fed5e334131abaf9c5e17307642fbf6ce4a57ec'}
nvd
An arbitrary memory read vulnerability in Asylo versions up to 0.6.0 allows an untrusted attacker to make a call to enc_untrusted_inet_pton using an attacker controlled klinux_addr_buffer parameter. The parameter size is unchecked allowing the attacker to read memory locations outside of the intended buffer size includ...
2020-12-15
1
https://github.com/google/asylo
https://github.com/google/asylo/commit/8fed5e334131abaf9c5e17307642fbf6ce4a57ec
8fed5e334131abaf9c5e17307642fbf6ce4a57ec
SINGLE
['8fed5e334131abaf9c5e17307642fbf6ce4a57ec']
{'6ff3b77ffe110a33a2f93848a6333f33616f02c4'}
8fed5e334131abaf9c5e17307642fbf6ce4a57ec
1
09/25/2020, 22:34:34
Check sockaddr size in inet_pton PiperOrigin-RevId: 333821843 Change-Id: Ie0b694f1edd3f7a4a3de6df964d68566961accf6
Chong Cai
null
{'additions': 8, 'deletions': 0, 'total': 8}
[ { "additions": 8, "changes": 8, "deletions": 0, "patch": "@@ -1283,8 +1283,16 @@ int enc_untrusted_inet_pton(int af, const char *src, void *dst) {\n auto klinux_addr_buffer = output.next();\n size_t max_size = 0;\n if (af == AF_INET) {\n+ if (klinux_addr_buffer.size() != sizeof(klinux_in_ad...
cc
CWE-125
[ "asylo/platform/host_call/trusted/host_calls.cc" ]
asylo/platform/host_call/trusted/host_calls.cc
1
int enc_untrusted_rename(const char *oldpath, const char *newpath) { } ssize_t enc_untrusted_read(int fd, void *buf, size_t count) { return static_cast<ssize_t>(EnsureInitializedAndDispatchSyscall( asylo::system_call::kSYS_read, fd, buf, count)); } ssize_t enc_untrusted_write(int fd, const void *buf, size_t ...
int enc_untrusted_rename(const char *oldpath, const char *newpath) { } ssize_t enc_untrusted_read(int fd, void *buf, size_t count) { ssize_t ret = static_cast<ssize_t>(EnsureInitializedAndDispatchSyscall( asylo::system_call::kSYS_read, fd, buf, count)); if (ret != -1 && ret > count) { ::asylo::primitive...
CVE-2020-8942
{'CWE-125'}
2.9
{'https://github.com/google/asylo/commit/b1d120a2c7d7446d2cc58d517e20a1b184b82200'}
nvd
An arbitrary memory read vulnerability in Asylo versions up to 0.6.0 allows an untrusted attacker to make a call to enc_untrusted_read whose return size was not validated against the requrested size. The parameter size is unchecked allowing the attacker to read memory locations outside of the intended buffer size inclu...
2020-12-15
1
https://github.com/google/asylo
https://github.com/google/asylo/commit/b1d120a2c7d7446d2cc58d517e20a1b184b82200
b1d120a2c7d7446d2cc58d517e20a1b184b82200
SINGLE
['b1d120a2c7d7446d2cc58d517e20a1b184b82200']
{'8fed5e334131abaf9c5e17307642fbf6ce4a57ec'}
b1d120a2c7d7446d2cc58d517e20a1b184b82200
1
09/25/2020, 23:09:54
Check for return size in enc_untrusted_read Check return size does not exceed requested. The returned result and content still cannot be trusted, but it's expected behavior when not using a secure file system. PiperOrigin-RevId: 333827386 Change-Id: I0bdec0aec9356ea333dc8c647eba5d2772875f29
Chong Cai
null
{'additions': 6, 'deletions': 1, 'total': 7}
[ { "additions": 6, "changes": 7, "deletions": 1, "patch": "@@ -226,8 +226,13 @@ int enc_untrusted_rename(const char *oldpath, const char *newpath) {\n }\n \n ssize_t enc_untrusted_read(int fd, void *buf, size_t count) {\n- return static_cast<ssize_t>(EnsureInitializedAndDispatchSyscall(\n+ ssize_t ...
cc
CWE-125
[ "asylo/platform/host_call/trusted/host_calls.cc" ]
asylo/platform/host_call/trusted/host_calls.cc
1
ssize_t enc_untrusted_recvfrom(int sockfd, void *buf, size_t len, int flags, return result; } auto buffer_received = output.next(); memcpy(buf, buffer_received.data(), std::min(len, buffer_received.size()));
ssize_t enc_untrusted_recvfrom(int sockfd, void *buf, size_t len, int flags, return result; } if (result > len) { ::asylo::primitives::TrustedPrimitives::BestEffortAbort( "enc_untrusted_recvfrom: result exceeds requested"); } auto buffer_received = output.next(); memcpy(buf, buffer_received...
CVE-2020-8943
{'CWE-125'}
2.9
{'https://github.com/google/asylo/commit/6e158d558abd3c29a0208e30c97c9a8c5bd4230f'}
nvd
An arbitrary memory read vulnerability in Asylo versions up to 0.6.0 allows an untrusted attacker to make a call to enc_untrusted_recvfrom whose return size was not validated against the requested size. The parameter size is unchecked allowing the attacker to read memory locations outside of the intended buffer size in...
2020-12-15
1
https://github.com/google/asylo
https://github.com/google/asylo/commit/6e158d558abd3c29a0208e30c97c9a8c5bd4230f
6e158d558abd3c29a0208e30c97c9a8c5bd4230f
SINGLE
['6e158d558abd3c29a0208e30c97c9a8c5bd4230f']
{'6c407852ce7a71ca48634ecc4d35a7abbbde6b3b'}
6e158d558abd3c29a0208e30c97c9a8c5bd4230f
1
09/23/2020, 23:39:58
Check for result of recvfrom PiperOrigin-RevId: 333399155 Change-Id: I3d79e1e3f45f75d4c4360d42499e511d84b9aff7
Chong Cai
null
{'additions': 5, 'deletions': 0, 'total': 5}
[ { "additions": 5, "changes": 5, "deletions": 0, "patch": "@@ -981,6 +981,11 @@ ssize_t enc_untrusted_recvfrom(int sockfd, void *buf, size_t len, int flags,\n return result;\n }\n \n+ if (result > len) {\n+ ::asylo::primitives::TrustedPrimitives::BestEffortAbort(\n+ \"enc_untrusted_r...
cc
CWE-125
[ "asylo/platform/host_call/trusted/host_calls.cc" ]
asylo/platform/host_call/trusted/host_calls.cc
1
int ecall_restore(const char *input, uint64_t input_len, char **output, if (!asylo::primitives::TrustedPrimitives::IsOutsideEnclave(input, input_len) || !asylo::primitives::TrustedPrimitives::IsOutsideEnclave( output_len, sizeof(uint64_t))...
int ecall_restore(const char *input, uint64_t input_len, char **output, if (!asylo::primitives::TrustedPrimitives::IsOutsideEnclave(input, input_len) || !asylo::primitives::TrustedPrimitives::IsOutsideEnclave( output_len, sizeof(uint64_t))...
CVE-2020-8944
{'CWE-787'}
2.9
{'https://github.com/google/asylo/commit/382da2b8b09cbf928668a2445efb778f76bd9c8a'}
nvd
An arbitrary memory write vulnerability in Asylo versions up to 0.6.0 allows an untrusted attacker to make a call to ecall_restore using the attribute output which fails to check the range of a pointer. An attacker can use this pointer to write to arbitrary memory addresses including those within the secure enclave We ...
2020-12-15
1
https://github.com/google/asylo
https://github.com/google/asylo/commit/382da2b8b09cbf928668a2445efb778f76bd9c8a
382da2b8b09cbf928668a2445efb778f76bd9c8a
SINGLE
['382da2b8b09cbf928668a2445efb778f76bd9c8a']
{'c712eb94951a20b2f2559baf43d19b7ebaf282ab'}
382da2b8b09cbf928668a2445efb778f76bd9c8a
1
09/28/2020, 23:49:54
Check output of ecall_restore is outside enclave PiperOrigin-RevId: 334265380 Change-Id: Ifbaead6bce56f01b2a4d69f53ca508d0138f6f61
Chong Cai
null
{'additions': 3, 'deletions': 1, 'total': 4}
[ { "additions": 3, "changes": 4, "deletions": 1, "patch": "@@ -64,7 +64,9 @@ int ecall_restore(const char *input, uint64_t input_len, char **output,\n if (!asylo::primitives::TrustedPrimitives::IsOutsideEnclave(input,\n input_len) ||\n ...
cc
CWE-787
[ "asylo/platform/primitives/sgx/ecalls.cc" ]
asylo/platform/primitives/sgx/ecalls.cc
1
$t_repo = SourceRepo::load( $f_repo_id ); helper_ensure_confirmed( sprintf( plugin_lang_get( 'ensure_delete' ), $t_repo->name ), plugin_lang_get( 'delete_repository' ) ); SourceRepo::delete( $t_repo->id );
$t_repo = SourceRepo::load( $f_repo_id ); $t_message = sprintf( plugin_lang_get( 'ensure_delete' ), string_attribute( $t_repo->name ) ); helper_ensure_confirmed( $t_message, plugin_lang_get( 'delete_repository' ) ); SourceRepo::delete( $t_repo->id );
CVE-2020-8981
{'CWE-79'}
2.9
{'https://github.com/mantisbt-plugins/source-integration/commit/270675c964c675829fe010f9f0830521dc0835f0'}
nvd
A cross-site scripting (XSS) vulnerability was discovered in the Source Integration plugin before 1.6.2 and 2.x before 2.3.1 for MantisBT. The repo_delete.php Delete Repository page allows execution of arbitrary code via a repo name (if CSP settings permit it). This is related to CVE-2018-16362.
2020-02-13
1
https://github.com/mantisbt-plugins/source-integration
https://github.com/mantisbt-plugins/source-integration/commit/270675c964c675829fe010f9f0830521dc0835f0
270675c964c675829fe010f9f0830521dc0835f0
SINGLE
['270675c964c675829fe010f9f0830521dc0835f0']
{'962bd40fbc0e4b9e104b0a507cafd1ac09001af6'}
270675c964c675829fe010f9f0830521dc0835f0
1
02/10/2020, 22:31:52
Fix XSS in Delete Repository page Fixes #338
Damien Regad
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -10,7 +10,8 @@\n \n $t_repo = SourceRepo::load( $f_repo_id );\n \n-helper_ensure_confirmed( sprintf( plugin_lang_get( 'ensure_delete' ), $t_repo->name ), plugin_lang_get( 'delete_repository' ) );\n+$t_message = sprintf( plugin_lang_get( 'e...
php
CWE-79
[ "Source/pages/repo_delete.php" ]
Source/pages/repo_delete.php
1
static void reset_fdc_info(int mode) /* selects the fdc and drive, and enables the fdc's input/dma. */ static void set_fdc(int drive) { if (drive >= 0 && drive < N_DRIVE) { fdc = FDC(drive); current_drive = drive; } if (fdc != 1 && fdc != 0) { pr_info("bad fdc value\n"); return; } set_dor(fdc, ~0, 8); #if...
static void reset_fdc_info(int mode) /* selects the fdc and drive, and enables the fdc's input/dma. */ static void set_fdc(int drive) { unsigned int new_fdc = fdc; if (drive >= 0 && drive < N_DRIVE) { new_fdc = FDC(drive); current_drive = drive; } if (new_fdc >= N_FDC) { pr_info("bad fdc value\n"); return...
CVE-2020-9383
{'CWE-125'}
4.9
{'https://github.com/torvalds/linux/commit/2e90ca68b0d2f5548804f22f0dd61145516171e3'}
nvd
An issue was discovered in the Linux kernel 3.16 through 5.5.6. set_fdc in drivers/block/floppy.c leads to a wait_til_ready out-of-bounds read because the FDC index is not checked for errors before assigning it, aka CID-2e90ca68b0d2.
2020-02-25
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/2e90ca68b0d2f5548804f22f0dd61145516171e3
2e90ca68b0d2f5548804f22f0dd61145516171e3
SINGLE
['2e90ca68b0d2f5548804f22f0dd61145516171e3']
{'f8788d86ab28f61f7b46eb6be375f8a726783636'}
2e90ca68b0d2f5548804f22f0dd61145516171e3
1
02/21/2020, 20:43:35
floppy: check FDC index for errors before assigning it Jordy Zomer reported a KASAN out-of-bounds read in the floppy driver in wait_til_ready(). Which on the face of it can't happen, since as Willy Tarreau points out, the function does no particular memory access. Except through the FDCS macro, which just indexes a ...
Linus Torvalds
null
{'additions': 5, 'deletions': 2, 'total': 7}
[ { "additions": 5, "changes": 7, "deletions": 2, "patch": "@@ -853,14 +853,17 @@ static void reset_fdc_info(int mode)\n /* selects the fdc and drive, and enables the fdc's input/dma. */\n static void set_fdc(int drive)\n {\n+\tunsigned int new_fdc = fdc;\n+\n \tif (drive >= 0 && drive < N_DRIVE) {\n-...
c
CWE-125
[ "drivers/block/floppy.c" ]
drivers/block/floppy.c
1
impl<T> BufReadExt for T where T: io::BufRead { fn discard_exact(&mut self, mut len: usize) -> io::Result<()> { while len > 0 { let consume_len = match self.fill_buf() { Ok(buf) => buf.len().min(len), Err(e) if e.kind() == io::ErrorKind::Interrupted => continue, ...
impl<T> BufReadExt for T where T: io::BufRead { fn discard_exact(&mut self, mut len: usize) -> io::Result<()> { while len > 0 { let consume_len = match self.fill_buf() { Ok(buf) if buf.is_empty() => return Err(io::Error::new( io::Error...
CVE-2021-21235
{'CWE-400'}
2.9
{'https://github.com/kamadak/exif-rs/commit/f21df24616ea611c5d5d0e0e2f8042eb74d5ff48'}
nvd
kamadak-exif is an exif parsing library written in pure Rust. In kamadak-exif version 0.5.2, there is an infinite loop in parsing crafted PNG files. Specifically, reader::read_from_container can cause an infinite loop when a crafted PNG file is given. This is fixed in version 0.5.3. No workaround is available. Applicat...
2021-01-06
1
https://github.com/kamadak/exif-rs
https://github.com/kamadak/exif-rs/commit/f21df24616ea611c5d5d0e0e2f8042eb74d5ff48
f21df24616ea611c5d5d0e0e2f8042eb74d5ff48
SINGLE
['f21df24616ea611c5d5d0e0e2f8042eb74d5ff48']
{'7c113302decdfdef07a2f6cc0e4a67151ec1f66f'}
f21df24616ea611c5d5d0e0e2f8042eb74d5ff48
1
01/04/2021, 02:06:15
Fix an infinite loop in reading PNG files.
KAMADA Ken'ichi
null
{'additions': 13, 'deletions': 0, 'total': 13}
[ { "additions": 13, "changes": 13, "deletions": 0, "patch": "@@ -56,6 +56,9 @@ impl<T> BufReadExt for T where T: io::BufRead {\n fn discard_exact(&mut self, mut len: usize) -> io::Result<()> {\n while len > 0 {\n let consume_len = match self.fill_buf() {\n+ Ok(b...
rs
CWE-400
[ "src/util.rs" ]
src/util.rs
1
parse_str($input, $_REQUEST); } if (!isset($_REQUEST['action'])) { Toolbox::logError("Missing action parameter"); http_response_code(400);
parse_str($input, $_REQUEST); } $_REQUEST = Toolbox::clean_cross_side_scripting_deep($_REQUEST); if (!isset($_REQUEST['action'])) { Toolbox::logError("Missing action parameter"); http_response_code(400);
CVE-2021-21258
{'CWE-79'}
2.9
{'https://github.com/glpi-project/glpi/commit/e7802fc051696de1f76108ea8dc3bd4e2c880f15'}
nvd
GLPI is an open-source asset and IT management software package that provides ITIL Service Desk features, licenses tracking and software auditing. In GLPI from version 9.5.0 and before version 9.5.4, there is a cross-site scripting injection vulnerability when using ajax/kanban.php. This is fixed in version 9.5.4.
2021-03-02
1
https://github.com/glpi-project/glpi
https://github.com/glpi-project/glpi/commit/e7802fc051696de1f76108ea8dc3bd4e2c880f15
e7802fc051696de1f76108ea8dc3bd4e2c880f15
SINGLE
['e7802fc051696de1f76108ea8dc3bd4e2c880f15']
{'df91eab60045ae0d88257b70444fcefdfaf9432d'}
e7802fc051696de1f76108ea8dc3bd4e2c880f15
1
01/14/2021, 07:39:20
Prevent XSS on Kanban
Johan Cwiklinski
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -47,6 +47,8 @@\n parse_str($input, $_REQUEST);\n }\n \n+$_REQUEST = Toolbox::clean_cross_side_scripting_deep($_REQUEST);\n+\n if (!isset($_REQUEST['action'])) {\n Toolbox::logError(\"Missing action parameter\");\n http_response_co...
php
CWE-79
[ "ajax/kanban.php" ]
ajax/kanban.php
1
const defaultOptions = { // options from yaml meta const meta = JSON.parse($('#meta').text()) var options = meta.slideOptions || {} const view = $('.reveal')
const defaultOptions = { // options from yaml meta const meta = JSON.parse($('#meta').text()) var options = { autoPlayMedia: meta.slideOptions.autoPlayMedia, autoSlide: meta.slideOptions.autoSlide, autoSlideStoppable: meta.slideOptions.autoSlideStoppable, backgroundTransition: meta.slideOptions.backgroundTran...
CVE-2021-21259
{'CWE-79'}
2.9
{'https://github.com/hedgedoc/hedgedoc/commit/35b0d39a12aa35f27fba8c1f50b1886706e7efef'}
nvd
HedgeDoc is open source software which lets you create real-time collaborative markdown notes. In HedgeDoc before version 1.7.2, an attacker can inject arbitrary JavaScript into a HedgeDoc note, which is executed when the note is viewed in slide mode. Depending on the configuration of the instance, the attacker may not...
2021-01-22
1
https://github.com/hedgedoc/hedgedoc
https://github.com/hedgedoc/hedgedoc/commit/35b0d39a12aa35f27fba8c1f50b1886706e7efef
35b0d39a12aa35f27fba8c1f50b1886706e7efef
SINGLE
['35b0d39a12aa35f27fba8c1f50b1886706e7efef']
{'5bdb39241374afc3da801a4032ebc306f8562035'}
35b0d39a12aa35f27fba8c1f50b1886706e7efef
1
01/14/2021, 01:51:08
added sanitation to the slideMode in frontmatter This should prevent the issue mentioned in https://github.com/hackmdio/codimd/issues/1648 Specifically left out are - dependency (user can't really include anything anyway, because CSP forbids most domains) - autoSlideMethod (nothing our users should be able to change ...
Philip Molares
null
{'additions': 50, 'deletions': 1, 'total': 51}
[ { "additions": 50, "changes": 51, "deletions": 1, "patch": "@@ -72,7 +72,56 @@ const defaultOptions = {\n \n // options from yaml meta\n const meta = JSON.parse($('#meta').text())\n-var options = meta.slideOptions || {}\n+var options = {\n+ autoPlayMedia: meta.slideOptions.autoPlayMedia,\n+ autoSl...
js
CWE-79
[ "public/js/slide.js" ]
public/js/slide.js
1
public function execute( $par ) { } $request = $this->getRequest(); if ($request->wasPosted()) { return self::onPost( $par, $out, $request ); } $out->setIndexPolicy( 'noindex' ); $out->addHTML( public function execute( $par ) { 'id' => 'mw-report-form-reason' ] )); $out->addHTML(Html::rawElem...
public function execute( $par ) { } $request = $this->getRequest(); if ($request->wasPosted()) { return self::onPost( $par, $out, $request, $user ); } $out->setIndexPolicy( 'noindex' ); $out->addHTML( public function execute( $par ) { 'id' => 'mw-report-form-reason' ] )); $out->addHTML(Html::...
CVE-2021-21275
{'CWE-352'}
2.9
{'https://github.com/Kenny2github/Report/commit/f828dc6f73cdfaea5639edbf8ac7b326eeefb117'}
nvd
The MediaWiki "Report" extension has a Cross-Site Request Forgery (CSRF) vulnerability. Before fixed version, there was no protection against CSRF checks on Special:Report, so requests to report a revision could be forged. The problem has been fixed in commit f828dc6 by making use of MediaWiki edit tokens.
2021-01-25
1
https://github.com/Kenny2github/Report
https://github.com/Kenny2github/Report/commit/f828dc6f73cdfaea5639edbf8ac7b326eeefb117
f828dc6f73cdfaea5639edbf8ac7b326eeefb117
SINGLE
['f828dc6f73cdfaea5639edbf8ac7b326eeefb117']
{'2f43a845fa9af937118dd7598c651030adb51254'}
f828dc6f73cdfaea5639edbf8ac7b326eeefb117
1
01/21/2021, 19:24:06
Add CSRF check for Special:Report Also clean up a little of the logic
Kenny2github
{'com_1': {'author': 'Kenny2github', 'datetime': '01/21/2021, 22:42:23', 'body': 'This commit fixes GHSA-9f3w-c334-jm2h'}}
{'additions': 26, 'deletions': 16, 'total': 42}
[ { "additions": 26, "changes": 42, "deletions": 16, "patch": "@@ -55,7 +55,7 @@ public function execute( $par ) {\n \t\t}\n \t\t$request = $this->getRequest();\n \t\tif ($request->wasPosted()) {\n-\t\t\treturn self::onPost( $par, $out, $request );\n+\t\t\treturn self::onPost( $par, $out, $request, $u...
php
CWE-352
[ "SpecialReport.php" ]
SpecialReport.php
1
public function logout() */ public function mylogout() { unset( $this->_content['id_customer'], $this->_content['id_guest'], public function deleteSession() */ public function isSessionAlive() { if (!isset($this->session_id, $this->session_token)) { ...
public function logout() */ public function mylogout() { $this->deleteSession(); unset( $this->_content['id_customer'], $this->_content['id_guest'], public function deleteSession() */ public function isSessionAlive() { if (!isset($this->session_...
CVE-2021-21308
{'CWE-287'}
4.9
{'https://github.com/PrestaShop/PrestaShop/commit/2f673bd93e313f08c35e74decc105f40dc0b7dee'}
nvd
PrestaShop is a fully scalable open source e-commerce solution. In PrestaShop before version 1.7.2 the soft logout system is not complete and an attacker is able to foreign request and executes customer commands. The problem is fixed in 1.7.7.2
2021-02-26
1
https://github.com/PrestaShop/PrestaShop
https://github.com/PrestaShop/PrestaShop/commit/2f673bd93e313f08c35e74decc105f40dc0b7dee
2f673bd93e313f08c35e74decc105f40dc0b7dee
SINGLE
['2f673bd93e313f08c35e74decc105f40dc0b7dee']
{'782b1368aa4e94dafe28f57485bffbd8893fbb1e', '759644cf9c9d846b824683a05f3452f7bfacb894'}
2f673bd93e313f08c35e74decc105f40dc0b7dee
1
02/22/2021, 09:20:32
Merge pull request from GHSA-557h-hf3c-whcg Make sure session is cleared using soft logout
GoT
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -262,6 +262,7 @@ public function logout()\n */\n public function mylogout()\n {\n+ $this->deleteSession();\n unset(\n $this->_content['id_customer'],\n $this->_content['id_guest'],\n@@ -5...
php
CWE-287
[ "classes/Cookie.php" ]
classes/Cookie.php
1
def post(self, request, *args, **kwargs): code.delete() return self.issue_token(user) return self.issue_token(user) class RegenerateBackupCodesView(APIView):
def post(self, request, *args, **kwargs): code.delete() return self.issue_token(user) return FormattedResponse(status=HTTP_401_UNAUTHORIZED, d={'reason': 'login_failed'}, m='login_failed') class RegenerateBackupCodesView(APIView):
CVE-2021-21329
{'CWE-287'}
6.4
{'https://github.com/ractf/core/commit/cebb67bd16a8296121201805332365ffccb29638'}
nvd
RATCF is an open-source framework for hosting Cyber-Security Capture the Flag events. In affected versions of RATCF users with multi factor authentication enabled are able to log in without a valid token. This is fixed in commit cebb67b.
2021-03-08
1
https://github.com/ractf/core
https://github.com/ractf/core/commit/cebb67bd16a8296121201805332365ffccb29638
cebb67bd16a8296121201805332365ffccb29638
SINGLE
['cebb67bd16a8296121201805332365ffccb29638']
{'dc06fb425cda8e3bec271cfe98620fab493c4992'}
cebb67bd16a8296121201805332365ffccb29638
1
02/26/2021, 11:41:20
Merge pull request from GHSA-fw57-f7mq-9q85
David Cooke
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -150,7 +150,7 @@ def post(self, request, *args, **kwargs):\n code.delete()\n return self.issue_token(user)\n \n- return self.issue_token(user)\n+ return FormattedResponse(status=HTTP_40...
py
CWE-287
[ "src/authentication/views.py" ]
src/authentication/views.py
1
ngx_http_auth_spnego_handler( /* If basic auth is enabled and basic creds are supplied * attempt basic auth. If we attempt basic auth, we do * not fall through to real SPNEGO */ if (NGX_DECLINED == ngx_http_auth_spnego_basic(r, ctx, alcf)) { spnego_deb...
ngx_http_auth_spnego_handler( /* If basic auth is enabled and basic creds are supplied * attempt basic auth. If we attempt basic auth, we do * not fall through to real SPNEGO */ if (NGX_OK != ngx_http_auth_spnego_basic(r, ctx, alcf)) { spnego_debug0("B...
CVE-2021-21335
{'CWE-287'}
6.4
{'https://github.com/stnoonan/spnego-http-auth-nginx-module/commit/a06f9efca373e25328b1c53639a48decd0854570'}
nvd
In the SPNEGO HTTP Authentication Module for nginx (spnego-http-auth-nginx-module) before version 1.1.1 basic Authentication can be bypassed using a malformed username. This affects users of spnego-http-auth-nginx-module that have enabled basic authentication. This is fixed in version 1.1.1 of spnego-http-auth-nginx-mo...
2021-03-08
1
https://github.com/stnoonan/spnego-http-auth-nginx-module
https://github.com/stnoonan/spnego-http-auth-nginx-module/commit/a06f9efca373e25328b1c53639a48decd0854570
a06f9efca373e25328b1c53639a48decd0854570
SINGLE
['a06f9efca373e25328b1c53639a48decd0854570']
{'72c8ee04c81f929ec84d5a6d126f789b77781a8c'}
a06f9efca373e25328b1c53639a48decd0854570
1
02/26/2021, 10:31:41
Check basic auth result against != NGX_OK rather than == NGX_DECLINED This corrects the error handling case when ngx_http_auth_spnego_basic is called with a bad configuration or bad username. These cases return NGX_ERROR, which allowed basic auth to proceed. Thanks to Prakapovich Pavel aka Flyguy.by for pointing th...
Sean Timothy Noonan
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -1043,7 +1043,7 @@ ngx_http_auth_spnego_handler(\n /* If basic auth is enabled and basic creds are supplied\n * attempt basic auth. If we attempt basic auth, we do\n * not fall through to real SPNEGO ...
c
CWE-287
[ "ngx_http_auth_spnego_module.c" ]
ngx_http_auth_spnego_module.c
1
PJ_DEF(pj_status_t) pjmedia_sdp_neg_modify_local_offer2( { pjmedia_sdp_session *new_offer; pjmedia_sdp_session *old_offer; char media_used[PJMEDIA_MAX_SDP_MEDIA]; unsigned oi; /* old offer media index */ pj_status_t status; PJ_DEF(pj_status_t) pjmedia_sdp_neg_modify_local_offer2( /* Change sta...
PJ_DEF(pj_status_t) pjmedia_sdp_neg_modify_local_offer2( { pjmedia_sdp_session *new_offer; pjmedia_sdp_session *old_offer; unsigned oi; /* old offer media index */ pj_status_t status; PJ_DEF(pj_status_t) pjmedia_sdp_neg_modify_local_offer2( /* Change state to STATE_LOCAL_OFFER */ neg->state = ...
CVE-2021-21375
{'CWE-400'}
2.9
{'https://github.com/pjsip/pjproject/commit/97b3d7addbaa720b7ddb0af9bf6f3e443e664365'}
nvd
PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In PJSIP version 2.10 and earlier, after an initial INVITE has been sent, when two 183 responses are received, with the first one causing negotiation f...
2021-03-10
1
https://github.com/pjsip/pjproject
https://github.com/pjsip/pjproject/commit/97b3d7addbaa720b7ddb0af9bf6f3e443e664365
97b3d7addbaa720b7ddb0af9bf6f3e443e664365
SINGLE
['97b3d7addbaa720b7ddb0af9bf6f3e443e664365']
{'eaf5622f6aa94909489eac06bb5371551281afa3'}
97b3d7addbaa720b7ddb0af9bf6f3e443e664365
1
03/08/2021, 09:09:34
Merge pull request from GHSA-hvq6-f89p-frvp
Nanang Izzuddin
null
{'additions': 12, 'deletions': 2, 'total': 14}
[ { "additions": 12, "changes": 14, "deletions": 2, "patch": "@@ -304,7 +304,6 @@ PJ_DEF(pj_status_t) pjmedia_sdp_neg_modify_local_offer2(\n {\n pjmedia_sdp_session *new_offer;\n pjmedia_sdp_session *old_offer;\n- char media_used[PJMEDIA_MAX_SDP_MEDIA];\n unsigned oi; /* old offer media...
c
CWE-400
[ "pjmedia/src/pjmedia/sdp_neg.c" ]
pjmedia/src/pjmedia/sdp_neg.c
1
module.exports = { } iterateMustacheNode($.root()) // -------------------------------- // STEP: POST // --------------------------------
module.exports = { } iterateMustacheNode($.root()) $('pre').each((idx, elm) => { $(elm).attr('v-pre', true) }) // -------------------------------- // STEP: POST // --------------------------------
CVE-2021-21383
{'CWE-79'}
2.9
{'https://github.com/Requarks/wiki/commit/5ffa189383dd716f12b56b8cae2ba0d075996cf1'}
nvd
Wiki.js an open-source wiki app built on Node.js. Wiki.js before version 2.5.191 is vulnerable to stored cross-site scripting through mustache expressions in code blocks. This vulnerability exists due to mustache expressions being parsed by Vue during content injection even though it is contained within a `<pre>` eleme...
2021-03-18
1
https://github.com/Requarks/wiki
https://github.com/Requarks/wiki/commit/5ffa189383dd716f12b56b8cae2ba0d075996cf1
5ffa189383dd716f12b56b8cae2ba0d075996cf1
SINGLE
['5ffa189383dd716f12b56b8cae2ba0d075996cf1']
{'919d7c12a1c77d6e458f184586933e4212747676'}
5ffa189383dd716f12b56b8cae2ba0d075996cf1
1
03/12/2021, 00:23:24
fix: add v-pre to pre tags at render time
NGPixel
null
{'additions': 4, 'deletions': 0, 'total': 4}
[ { "additions": 4, "changes": 4, "deletions": 0, "patch": "@@ -261,6 +261,10 @@ module.exports = {\n }\n iterateMustacheNode($.root())\n \n+ $('pre').each((idx, elm) => {\n+ $(elm).attr('v-pre', true)\n+ })\n+\n // --------------------------------\n // STEP: POST\n // -...
js
CWE-79
[ "server/modules/rendering/html-core/renderer.js" ]
server/modules/rendering/html-core/renderer.js
1