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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
static BOOL update_read_icon_info(wStream* s, ICON_INFO* iconInfo) Stream_Read_UINT16(s, iconInfo->cbBitsMask); /* cbBitsMask (2 bytes) */ Stream_Read_UINT16(s, iconInfo->cbBitsColor); /* cbBitsColor (2 bytes) */ if (Stream_GetRemainingLength(s) < iconInfo->cbBitsMask + iconInfo->cbBitsColor) return FALSE; /*... | static BOOL update_read_icon_info(wStream* s, ICON_INFO* iconInfo) Stream_Read_UINT16(s, iconInfo->cbBitsMask); /* cbBitsMask (2 bytes) */ Stream_Read_UINT16(s, iconInfo->cbBitsColor); /* cbBitsColor (2 bytes) */ /* bitsMask */ newBitMask = (BYTE*)realloc(iconInfo->bitsMask, iconInfo->cbBitsMask); static BOOL u... | CVE-2020-11042 | {'CWE-125'} | 4.9 | {'https://github.com/FreeRDP/FreeRDP/commit/6b2bc41935e53b0034fe5948aeeab4f32e80f30f'} | nvd | In FreeRDP greater than 1.1 and before 2.0.0, there is an out-of-bounds read in update_read_icon_info. It allows reading a attacker-defined amount of client memory (32bit unsigned -> 4GB) to an intermediate buffer. This can be used to crash the client or store information for later retrieval. This has been patched in 2... | 2020-05-07 | 1 | https://github.com/FreeRDP/FreeRDP | https://github.com/FreeRDP/FreeRDP/commit/6b2bc41935e53b0034fe5948aeeab4f32e80f30f | 6b2bc41935e53b0034fe5948aeeab4f32e80f30f | SINGLE | ['6b2bc41935e53b0034fe5948aeeab4f32e80f30f'] | {'67c2aa52b2ae0341d469071d1bc8aab91f8d2ed8'} | 6b2bc41935e53b0034fe5948aeeab4f32e80f30f | 1 | 03/31/2020, 07:06:05 | Fix #6010: Check length in read_icon_info | akallabeth | null | {'additions': 8, 'deletions': 3, 'total': 11} | [
{
"additions": 8,
"changes": 11,
"deletions": 3,
"patch": "@@ -136,9 +136,6 @@ static BOOL update_read_icon_info(wStream* s, ICON_INFO* iconInfo)\n \tStream_Read_UINT16(s, iconInfo->cbBitsMask); /* cbBitsMask (2 bytes) */\n \tStream_Read_UINT16(s, iconInfo->cbBitsColor); /* cbBitsColor (2 bytes) */... | c | CWE-125 | [
"libfreerdp/core/window.c"
] | libfreerdp/core/window.c | 1 |
static CACHE_BITMAP_V3_ORDER* update_read_cache_bitmap_v3_order(rdpUpdate* updat Stream_Read_UINT16(s, bitmapData->height); /* height (2 bytes) */ Stream_Read_UINT32(s, new_len); /* length (4 bytes) */ if (Stream_GetRemainingLength(s) < new_len) goto fail; new_data = (BYTE*)realloc(bitmapData->data,... | static CACHE_BITMAP_V3_ORDER* update_read_cache_bitmap_v3_order(rdpUpdate* updat Stream_Read_UINT16(s, bitmapData->height); /* height (2 bytes) */ Stream_Read_UINT32(s, new_len); /* length (4 bytes) */ if ((new_len == 0) || (Stream_GetRemainingLength(s) < new_len)) goto fail; new_data = (BYTE*)reall... | CVE-2020-11044 | {'CWE-415'} | 2.9 | {'https://github.com/FreeRDP/FreeRDP/commit/67c2aa52b2ae0341d469071d1bc8aab91f8d2ed8'} | nvd | In FreeRDP greater than 1.2 and before 2.0.0, a double free in update_read_cache_bitmap_v3_order crashes the client application if corrupted data from a manipulated server is parsed. This has been patched in 2.0.0. | 2020-05-07 | 1 | https://github.com/FreeRDP/FreeRDP | https://github.com/FreeRDP/FreeRDP/commit/67c2aa52b2ae0341d469071d1bc8aab91f8d2ed8 | 67c2aa52b2ae0341d469071d1bc8aab91f8d2ed8 | SINGLE | ['67c2aa52b2ae0341d469071d1bc8aab91f8d2ed8'] | {'3627aaf7d289315b614a584afb388f04abfb5bbf'} | 67c2aa52b2ae0341d469071d1bc8aab91f8d2ed8 | 1 | 03/31/2020, 12:36:40 | Fixed #6013: Check new length is > 0 | akallabeth | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -2161,7 +2161,7 @@ static CACHE_BITMAP_V3_ORDER* update_read_cache_bitmap_v3_order(rdpUpdate* updat\n \tStream_Read_UINT16(s, bitmapData->height); /* height (2 bytes) */\n \tStream_Read_UINT32(s, new_len); /* length (4 bytes) */... | c | CWE-415 | [
"libfreerdp/core/orders.c"
] | libfreerdp/core/orders.c | 1 |
static BOOL update_read_bitmap_data(rdpUpdate* update, wStream* s, BITMAP_DATA* { if (!(bitmapData->flags & NO_BITMAP_COMPRESSION_HDR)) { Stream_Read_UINT16(s, bitmapData->cbCompFirstRowSize); /* cbCompFirstRowSize (2 bytes) */ Stream_Read_UINT16(s, | static BOOL update_read_bitmap_data(rdpUpdate* update, wStream* s, BITMAP_DATA* { if (!(bitmapData->flags & NO_BITMAP_COMPRESSION_HDR)) { if (Stream_GetRemainingLength(s) < 8) return FALSE; Stream_Read_UINT16(s, bitmapData->cbCompFirstRowSize); /* cbCompFirstRowSize (2 bytes) */ ... | CVE-2020-11045 | {'CWE-125'} | 4.9 | {'https://github.com/FreeRDP/FreeRDP/commit/f8890a645c221823ac133dbf991f8a65ae50d637'} | nvd | In FreeRDP after 1.0 and before 2.0.0, there is an out-of-bound read in in update_read_bitmap_data that allows client memory to be read to an image buffer. The result displayed on screen as colour. | 2020-05-07 | 1 | https://github.com/FreeRDP/FreeRDP | https://github.com/FreeRDP/FreeRDP/commit/f8890a645c221823ac133dbf991f8a65ae50d637 | f8890a645c221823ac133dbf991f8a65ae50d637 | SINGLE | ['f8890a645c221823ac133dbf991f8a65ae50d637'] | {'ed53cd148f43cbab905eaa0f5308c2bf3c48cc37'} | f8890a645c221823ac133dbf991f8a65ae50d637 | 1 | 03/31/2020, 07:23:42 | Fixed #6005: Bounds checks in update_read_bitmap_data | akallabeth | null | {'additions': 3, 'deletions': 0, 'total': 3} | [
{
"additions": 3,
"changes": 3,
"deletions": 0,
"patch": "@@ -103,6 +103,9 @@ static BOOL update_read_bitmap_data(rdpUpdate* update, wStream* s, BITMAP_DATA*\n \t{\n \t\tif (!(bitmapData->flags & NO_BITMAP_COMPRESSION_HDR))\n \t\t{\n+\t\t\tif (Stream_GetRemainingLength(s) < 8)\n+\t\t\t\treturn FALSE... | c | CWE-125 | [
"libfreerdp/core/update.c"
] | libfreerdp/core/update.c | 1 |
PALETTE_UPDATE* update_read_palette(rdpUpdate* update, wStream* s) return NULL; } static void update_read_synchronize(rdpUpdate* update, wStream* s) { WINPR_UNUSED(update); Stream_Seek_UINT16(s); /* pad2Octets (2 bytes) */ /** * The Synchronize Update is an artifact... | PALETTE_UPDATE* update_read_palette(rdpUpdate* update, wStream* s) return NULL; } static BOOL update_read_synchronize(rdpUpdate* update, wStream* s) { WINPR_UNUSED(update); return Stream_SafeSeek(s, 2); /* pad2Octets (2 bytes) */ /** * The Synchronize ... | CVE-2020-11046 | {'CWE-119'} | 2.9 | {'https://github.com/FreeRDP/FreeRDP/commit/ed53cd148f43cbab905eaa0f5308c2bf3c48cc37'} | nvd | In FreeRDP after 1.0 and before 2.0.0, there is a stream out-of-bounds seek in update_read_synchronize that could lead to a later out-of-bounds read. | 2020-05-07 | 1 | https://github.com/FreeRDP/FreeRDP | https://github.com/FreeRDP/FreeRDP/commit/ed53cd148f43cbab905eaa0f5308c2bf3c48cc37 | ed53cd148f43cbab905eaa0f5308c2bf3c48cc37 | SINGLE | ['ed53cd148f43cbab905eaa0f5308c2bf3c48cc37'] | {'f5e73cc7c9cd973b516a618da877c87b80950b65'} | ed53cd148f43cbab905eaa0f5308c2bf3c48cc37 | 1 | 03/31/2020, 07:21:43 | Fixed #6006: bounds checks in update_read_synchronize | akallabeth | null | {'additions': 8, 'deletions': 7, 'total': 15} | [
{
"additions": 8,
"changes": 15,
"deletions": 7,
"patch": "@@ -287,14 +287,14 @@ PALETTE_UPDATE* update_read_palette(rdpUpdate* update, wStream* s)\n \treturn NULL;\n }\n \n-static void update_read_synchronize(rdpUpdate* update, wStream* s)\n+static BOOL update_read_synchronize(rdpUpdate* update, wS... | c | CWE-119 | [
"libfreerdp/core/update.c"
] | libfreerdp/core/update.c | 1 |
static BOOL autodetect_recv_bandwidth_measure_results(rdpRdp* rdp, wStream* s, return FALSE; WLog_VRB(AUTODETECT_TAG, "received Bandwidth Measure Results PDU"); Stream_Read_UINT32(s, rdp->autodetect->bandwidthMeasureTimeDelta); /* timeDelta (4 bytes) */ Stream_Read_UINT32(s, rdp->autodetect->bandwidthMeasureByte... | static BOOL autodetect_recv_bandwidth_measure_results(rdpRdp* rdp, wStream* s, return FALSE; WLog_VRB(AUTODETECT_TAG, "received Bandwidth Measure Results PDU"); if (Stream_GetRemainingLength(s) < 8) return -1; Stream_Read_UINT32(s, rdp->autodetect->bandwidthMeasureTimeDelta); /* timeDelta (4 bytes) */ Stream_... | CVE-2020-11047 | {'CWE-125'} | 4.9 | {'https://github.com/FreeRDP/FreeRDP/commit/f5e73cc7c9cd973b516a618da877c87b80950b65'} | nvd | In FreeRDP after 1.1 and before 2.0.0, there is an out-of-bounds read in autodetect_recv_bandwidth_measure_results. A malicious server can extract up to 8 bytes of client memory with a manipulated message by providing a short input and reading the measurement result data. This has been patched in 2.0.0. | 2020-05-07 | 1 | https://github.com/FreeRDP/FreeRDP | https://github.com/FreeRDP/FreeRDP/commit/f5e73cc7c9cd973b516a618da877c87b80950b65 | f5e73cc7c9cd973b516a618da877c87b80950b65 | SINGLE | ['f5e73cc7c9cd973b516a618da877c87b80950b65'] | {'9301bfe730c66180263248b74353daa99f5a969b'} | f5e73cc7c9cd973b516a618da877c87b80950b65 | 1 | 03/31/2020, 07:19:17 | Fixed #6009: Bounds checks in autodetect_recv_bandwidth_measure_results | akallabeth | null | {'additions': 2, 'deletions': 0, 'total': 2} | [
{
"additions": 2,
"changes": 2,
"deletions": 0,
"patch": "@@ -465,6 +465,8 @@ static BOOL autodetect_recv_bandwidth_measure_results(rdpRdp* rdp, wStream* s,\n \t\treturn FALSE;\n \n \tWLog_VRB(AUTODETECT_TAG, \"received Bandwidth Measure Results PDU\");\n+\tif (Stream_GetRemainingLength(s) < 8)\n+\t... | c | CWE-125 | [
"libfreerdp/core/autodetect.c"
] | libfreerdp/core/autodetect.c | 1 |
const char* DATA_PDU_TYPE_STRINGS[80] = { "?" /* 0x41 - 0x46 */ }; static void rdp_read_flow_control_pdu(wStream* s, UINT16* type); static void rdp_write_share_control_header(wStream* s, UINT16 length, UINT16 type, UINT16 channel_id); static void rdp_write_share_data_header... | const char* DATA_PDU_TYPE_STRINGS[80] = { "?" /* 0x41 - 0x46 */ }; static BOOL rdp_read_flow_control_pdu(wStream* s, UINT16* type); static void rdp_write_share_control_header(wStream* s, UINT16 length, UINT16 type, UINT16 channel_id); static void rdp_write_share_data_header... | CVE-2020-11048 | {'CWE-125'} | 2.9 | {'https://github.com/FreeRDP/FreeRDP/commit/9301bfe730c66180263248b74353daa99f5a969b'} | nvd | In FreeRDP after 1.0 and before 2.0.0, there is an out-of-bounds read. It only allows to abort a session. No data extraction is possible. This has been fixed in 2.0.0. | 2020-05-07 | 1 | https://github.com/FreeRDP/FreeRDP | https://github.com/FreeRDP/FreeRDP/commit/9301bfe730c66180263248b74353daa99f5a969b | 9301bfe730c66180263248b74353daa99f5a969b | SINGLE | ['9301bfe730c66180263248b74353daa99f5a969b'] | {'58dc36b3c883fd460199cedb6d30e58eba58298c'} | 9301bfe730c66180263248b74353daa99f5a969b | 1 | 03/31/2020, 07:14:55 | Fixed #6007: Boundary checks in rdp_read_flow_control_pdu | akallabeth | null | {'additions': 16, 'deletions': 7, 'total': 23} | [
{
"additions": 16,
"changes": 23,
"deletions": 7,
"patch": "@@ -102,7 +102,7 @@ const char* DATA_PDU_TYPE_STRINGS[80] = {\n \t\"?\" /* 0x41 - 0x46 */\n };\n \n-static void rdp_read_flow_control_pdu(wStream* s, UINT16* type);\n+static BOOL rdp_read_flow_control_pdu(wStream* s, UINT16* type);\n static... | c | CWE-125 | [
"libfreerdp/core/rdp.c"
] | libfreerdp/core/rdp.c | 1 |
static BOOL rdp_print_input_capability_set(wStream* s, UINT16 length) static BOOL rdp_read_font_capability_set(wStream* s, UINT16 length, rdpSettings* settings) { WINPR_UNUSED(settings); if (length > 4) Stream_Seek_UINT16(s); /* fontSupportFlags (2 bytes) */ if (length > 6) Stream_Seek_UINT16(s); /* pad2Octets... | static BOOL rdp_print_input_capability_set(wStream* s, UINT16 length) static BOOL rdp_read_font_capability_set(wStream* s, UINT16 length, rdpSettings* settings) { WINPR_UNUSED(settings); if (length > 5) Stream_Seek_UINT16(s); /* fontSupportFlags (2 bytes) */ if (length > 7) Stream_Seek_UINT16(s); /* pad2Octets... | CVE-2020-11058 | {'CWE-119'} | 2.9 | {'https://github.com/FreeRDP/FreeRDP/commit/3627aaf7d289315b614a584afb388f04abfb5bbf'} | nvd | In FreeRDP after 1.1 and before 2.0.0, a stream out-of-bounds seek in rdp_read_font_capability_set could lead to a later out-of-bounds read. As a result, a manipulated client or server might force a disconnect due to an invalid data read. This has been fixed in 2.0.0. | 2020-05-12 | 1 | https://github.com/FreeRDP/FreeRDP | https://github.com/FreeRDP/FreeRDP/commit/3627aaf7d289315b614a584afb388f04abfb5bbf | 3627aaf7d289315b614a584afb388f04abfb5bbf | SINGLE | ['3627aaf7d289315b614a584afb388f04abfb5bbf'] | {'f8890a645c221823ac133dbf991f8a65ae50d637'} | 3627aaf7d289315b614a584afb388f04abfb5bbf | 1 | 03/31/2020, 12:32:01 | Fixed #6011: Bounds check in rdp_read_font_capability_set | akallabeth | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -1397,10 +1397,10 @@ static BOOL rdp_print_input_capability_set(wStream* s, UINT16 length)\n static BOOL rdp_read_font_capability_set(wStream* s, UINT16 length, rdpSettings* settings)\n {\n \tWINPR_UNUSED(settings);\n-\tif (length > 4)\n+\... | c | CWE-119 | [
"libfreerdp/core/capabilities.c"
] | libfreerdp/core/capabilities.c | 1 |
UINT cliprdr_read_format_list(wStream* s, CLIPRDR_FORMAT_LIST* formatList, BOOL int formatNameLength; char* szFormatName; WCHAR* wszFormatName; UINT32 dataLen = formatList->dataLen; CLIPRDR_FORMAT* formats = NULL; UINT error = CHANNEL_RC_OK; asciiNames = (formatList->msgFlags & CB_ASCII_NAMES) ? TRUE : FALSE; ... | UINT cliprdr_read_format_list(wStream* s, CLIPRDR_FORMAT_LIST* formatList, BOOL int formatNameLength; char* szFormatName; WCHAR* wszFormatName; wStream sub1, sub2; CLIPRDR_FORMAT* formats = NULL; UINT error = CHANNEL_RC_OK; asciiNames = (formatList->msgFlags & CB_ASCII_NAMES) ? TRUE : FALSE; index = 0; /* e... | CVE-2020-11085 | {'CWE-125'} | 2.9 | {'https://github.com/FreeRDP/FreeRDP/commit/b73143cf7ee5fe4cdabcbf56908aa15d8a883821'} | nvd | In FreeRDP before 2.1.0, there is an out-of-bounds read in cliprdr_read_format_list. Clipboard format data read (by client or server) might read data out-of-bounds. This has been fixed in 2.1.0. | 2020-05-29 | 1 | https://github.com/FreeRDP/FreeRDP | https://github.com/FreeRDP/FreeRDP/commit/b73143cf7ee5fe4cdabcbf56908aa15d8a883821 | b73143cf7ee5fe4cdabcbf56908aa15d8a883821 | SINGLE | ['b73143cf7ee5fe4cdabcbf56908aa15d8a883821'] | {'495cb2e312c6b550709fe34b2541a28474ab7ebb'} | b73143cf7ee5fe4cdabcbf56908aa15d8a883821 | 1 | 04/15/2020, 14:47:12 | Fixed oob read in cliprdr_read_format_list | akallabeth | null | {'additions': 39, 'deletions': 46, 'total': 85} | [
{
"additions": 39,
"changes": 85,
"deletions": 46,
"patch": "@@ -400,29 +400,32 @@ UINT cliprdr_read_format_list(wStream* s, CLIPRDR_FORMAT_LIST* formatList, BOOL\n \tint formatNameLength;\n \tchar* szFormatName;\n \tWCHAR* wszFormatName;\n-\tUINT32 dataLen = formatList->dataLen;\n+\twStream sub1, s... | c | CWE-125 | [
"channels/cliprdr/cliprdr_common.c"
] | channels/cliprdr/cliprdr_common.c | 1 |
void ntlm_print_version_info(NTLM_VERSION_INFO* versionInfo) static int ntlm_read_ntlm_v2_client_challenge(wStream* s, NTLMv2_CLIENT_CHALLENGE* challenge) { size_t size; Stream_Read_UINT8(s, challenge->RespType); Stream_Read_UINT8(s, challenge->HiRespType); Stream_Read_UINT16(s, challenge->Reserved1); static int n... | void ntlm_print_version_info(NTLM_VERSION_INFO* versionInfo) static int ntlm_read_ntlm_v2_client_challenge(wStream* s, NTLMv2_CLIENT_CHALLENGE* challenge) { size_t size; if (Stream_GetRemainingLength(s) < 28) return -1; Stream_Read_UINT8(s, challenge->RespType); Stream_Read_UINT8(s, challenge->HiRespType); Str... | CVE-2020-11086 | {'CWE-125'} | 4.9 | {'https://github.com/FreeRDP/FreeRDP/commit/c098f21fdaadca57ff649eee1674f6cc321a2ec4'} | nvd | In FreeRDP less than or equal to 2.0.0, there is an out-of-bound read in ntlm_read_ntlm_v2_client_challenge that reads up to 28 bytes out-of-bound to an internal structure. This has been fixed in 2.1.0. | 2020-05-29 | 1 | https://github.com/FreeRDP/FreeRDP | https://github.com/FreeRDP/FreeRDP/commit/c098f21fdaadca57ff649eee1674f6cc321a2ec4 | c098f21fdaadca57ff649eee1674f6cc321a2ec4 | SINGLE | ['c098f21fdaadca57ff649eee1674f6cc321a2ec4'] | {'f59ad0f15cbe03ec6140bef06cc7dce2c506498f'} | c098f21fdaadca57ff649eee1674f6cc321a2ec4 | 1 | 04/15/2020, 15:02:33 | Fixed oob read in ntlm_read_ntlm_v2_response | akallabeth | {'com_1': {'author': 'tcullum-rh', 'datetime': '06/05/2020, 01:03:13', 'body': '@akallabeth In `ntlm_read_ntlm_v2_client_challenge()`, why `if (Stream_GetRemainingLength(s) < 28)` ? The code looks like it actually reads 112 bytes from the stream. Am I missing something?'}, 'com_2': {'author': 'akallabeth', 'datetime': ... | {'additions': 5, 'deletions': 0, 'total': 5} | [
{
"additions": 5,
"changes": 5,
"deletions": 0,
"patch": "@@ -124,6 +124,9 @@ void ntlm_print_version_info(NTLM_VERSION_INFO* versionInfo)\n static int ntlm_read_ntlm_v2_client_challenge(wStream* s, NTLMv2_CLIENT_CHALLENGE* challenge)\n {\n \tsize_t size;\n+\tif (Stream_GetRemainingLength(s) < 28)\n... | c | CWE-125 | [
"winpr/libwinpr/sspi/NTLM/ntlm_compute.c"
] | winpr/libwinpr/sspi/NTLM/ntlm_compute.c | 1 |
SECURITY_STATUS ntlm_write_ChallengeMessage(NTLM_CONTEXT* context, PSecBuffer bu SECURITY_STATUS ntlm_read_AuthenticateMessage(NTLM_CONTEXT* context, PSecBuffer buffer) { wStream* s; size_t length; UINT32 flags; NTLM_AV_PAIR* AvFlags; UINT32 PayloadBufferOffset; NTLM_AUTHENTICATE_MESSAGE* message; SSPI_CREDENT... | SECURITY_STATUS ntlm_write_ChallengeMessage(NTLM_CONTEXT* context, PSecBuffer bu SECURITY_STATUS ntlm_read_AuthenticateMessage(NTLM_CONTEXT* context, PSecBuffer buffer) { SECURITY_STATUS status = SEC_E_INVALID_TOKEN; wStream* s; size_t length; UINT32 flags = 0; NTLM_AV_PAIR* AvFlags = NULL; UINT32 PayloadBuffer... | CVE-2020-11087 | {'CWE-125'} | 4.9 | {'https://github.com/FreeRDP/FreeRDP/commit/8241ab42fdf0cc89cf69fc574bf6360c9977a0d4'} | nvd | In FreeRDP less than or equal to 2.0.0, there is an out-of-bound read in ntlm_read_AuthenticateMessage. This has been fixed in 2.1.0. | 2020-05-29 | 1 | https://github.com/FreeRDP/FreeRDP | https://github.com/FreeRDP/FreeRDP/commit/8241ab42fdf0cc89cf69fc574bf6360c9977a0d4 | 8241ab42fdf0cc89cf69fc574bf6360c9977a0d4 | SINGLE | ['8241ab42fdf0cc89cf69fc574bf6360c9977a0d4'] | {'afdffac4b5a9faef40e74f4ee4fc2e5b03a830af'} | 8241ab42fdf0cc89cf69fc574bf6360c9977a0d4 | 1 | 04/15/2020, 15:03:05 | Fixed oob read in ntlm_read_AuthenticateMessage | akallabeth | null | {'additions': 43, 'deletions': 99, 'total': 142} | [
{
"additions": 43,
"changes": 142,
"deletions": 99,
"patch": "@@ -681,15 +681,15 @@ SECURITY_STATUS ntlm_write_ChallengeMessage(NTLM_CONTEXT* context, PSecBuffer bu\n \n SECURITY_STATUS ntlm_read_AuthenticateMessage(NTLM_CONTEXT* context, PSecBuffer buffer)\n {\n+\tSECURITY_STATUS status = SEC_E_INV... | c | CWE-125 | [
"winpr/libwinpr/sspi/NTLM/ntlm_message.c"
] | winpr/libwinpr/sspi/NTLM/ntlm_message.c | 1 |
SECURITY_STATUS ntlm_read_NegotiateMessage(NTLM_CONTEXT* context, PSecBuffer buf return SEC_E_INVALID_TOKEN; } Stream_Read_UINT32(s, message->NegotiateFlags); /* NegotiateFlags (4 bytes) */ if (!((message->NegotiateFlags & NTLMSSP_REQUEST_TARGET) && | SECURITY_STATUS ntlm_read_NegotiateMessage(NTLM_CONTEXT* context, PSecBuffer buf return SEC_E_INVALID_TOKEN; } if (Stream_GetRemainingLength(s) < 4) { Stream_Free(s, FALSE); return SEC_E_INVALID_TOKEN; } Stream_Read_UINT32(s, message->NegotiateFlags); /* NegotiateFlags (4 bytes) */ if (!((message->Negoti... | CVE-2020-11088 | {'CWE-125'} | 4.9 | {'https://github.com/FreeRDP/FreeRDP/commit/8fa38359634a9910b91719818ab02f23c320dbae'} | nvd | In FreeRDP less than or equal to 2.0.0, there is an out-of-bound read in ntlm_read_NegotiateMessage. This has been fixed in 2.1.0. | 2020-05-29 | 1 | https://github.com/FreeRDP/FreeRDP | https://github.com/FreeRDP/FreeRDP/commit/8fa38359634a9910b91719818ab02f23c320dbae | 8fa38359634a9910b91719818ab02f23c320dbae | SINGLE | ['8fa38359634a9910b91719818ab02f23c320dbae'] | {'b230ac98e9e5f0c6b05b3b7f4f14016977bb5395'} | 8fa38359634a9910b91719818ab02f23c320dbae | 1 | 04/15/2020, 14:48:50 | Fixed oob read in ntlm_read_NegotiateMessage | akallabeth | null | {'additions': 5, 'deletions': 0, 'total': 5} | [
{
"additions": 5,
"changes": 5,
"deletions": 0,
"patch": "@@ -219,6 +219,11 @@ SECURITY_STATUS ntlm_read_NegotiateMessage(NTLM_CONTEXT* context, PSecBuffer buf\n \t\treturn SEC_E_INVALID_TOKEN;\n \t}\n \n+\tif (Stream_GetRemainingLength(s) < 4)\n+\t{\n+\t\tStream_Free(s, FALSE);\n+\t\treturn SEC_E_I... | c | CWE-125 | [
"winpr/libwinpr/sspi/NTLM/ntlm_message.c"
] | winpr/libwinpr/sspi/NTLM/ntlm_message.c | 1 |
BYTE get_primary_drawing_order_field_bytes(UINT32 orderType, BOOL* pValid) } } static const BYTE CBR2_BPP[] = { 0, 0, 0, 8, 16, 24, 32 }; static const BYTE BPP_CBR2[] = { 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0... | BYTE get_primary_drawing_order_field_bytes(UINT32 orderType, BOOL* pValid) } } static BYTE get_cbr2_bpp(UINT32 bpp, BOOL* pValid) { if (pValid) *pValid = TRUE; switch (bpp) { case 3: return 8; case 4: return 16; case 5: return 24; case 6: return 32; default: WLog_WARN(TAG, "Invalid bpp ... | CVE-2020-11096 | {'CWE-125'} | 4.9 | {'https://github.com/FreeRDP/FreeRDP/commit/b8beb55913471952f92770c90c372139d78c16c0'} | nvd | In FreeRDP before version 2.1.2, there is a global OOB read in update_read_cache_bitmap_v3_order. As a workaround, one can disable bitmap cache with -bitmap-cache (default). This is fixed in version 2.1.2. | 2020-06-22 | 1 | https://github.com/FreeRDP/FreeRDP | https://github.com/FreeRDP/FreeRDP/commit/b8beb55913471952f92770c90c372139d78c16c0 | b8beb55913471952f92770c90c372139d78c16c0 | SINGLE | ['b8beb55913471952f92770c90c372139d78c16c0'] | {'733ee3208306b1ea32697b356c0215180fc3f049'} | b8beb55913471952f92770c90c372139d78c16c0 | 1 | 05/26/2020, 05:50:55 | Fixed OOB read in update_read_cache_bitmap_v3_order
CVE-2020-11096 thanks @antonio-morales for finding this. | akallabeth | null | {'additions': 98, 'deletions': 24, 'total': 122} | [
{
"additions": 98,
"changes": 122,
"deletions": 24,
"patch": "@@ -113,20 +113,74 @@ BYTE get_primary_drawing_order_field_bytes(UINT32 orderType, BOOL* pValid)\n \t}\n }\n \n-static const BYTE CBR2_BPP[] = { 0, 0, 0, 8, 16, 24, 32 };\n-\n-static const BYTE BPP_CBR2[] = { 0, 0, 0, 0, 0, 0, 0, 0, 3, 0,... | c | CWE-125 | [
"libfreerdp/core/orders.c"
] | libfreerdp/core/orders.c | 1 |
#include "../../log.h" #define TAG WINPR_TAG("sspi.NTLM") static const char* const AV_PAIR_STRINGS[] = { "MsvAvEOL", "MsvAvNbComputerName", "MsvAvNbDomainName", "MsvAvDnsComputerName", "MsvAvDnsDomainName", "MsvAvDnsTreeName", "MsvAvFlags", "MsvAvTimestamp", "MsvAvRestrictions", "MsvAvTargetNa... | #include "../../log.h" #define TAG WINPR_TAG("sspi.NTLM") static BOOL ntlm_av_pair_get_next_offset(const NTLM_AV_PAIR* pAvPair, size_t size, size_t* pOffset); static BOOL ntlm_av_pair_check_data(const NTLM_AV_PAIR* pAvPair, size_t cbAvPair, size_t size) { size_t offset; if (!pAvPair || cbAvPair < sizeof(NTLM_AV_PA... | CVE-2020-11097 | {'CWE-125'} | 4.9 | {'https://github.com/FreeRDP/FreeRDP/commit/58a3122250d54de3a944c487776bcd4d1da4721e'} | nvd | In FreeRDP before version 2.1.2, an out of bounds read occurs resulting in accessing a memory location that is outside of the boundaries of the static array PRIMARY_DRAWING_ORDER_FIELD_BYTES. This is fixed in version 2.1.2. | 2020-06-22 | 1 | https://github.com/FreeRDP/FreeRDP | https://github.com/FreeRDP/FreeRDP/commit/58a3122250d54de3a944c487776bcd4d1da4721e | 58a3122250d54de3a944c487776bcd4d1da4721e | SINGLE | ['58a3122250d54de3a944c487776bcd4d1da4721e'] | {'1c6a6923f87dcfb295c508963f21bebbbc4292ae'} | 58a3122250d54de3a944c487776bcd4d1da4721e | 1 | 06/02/2020, 10:26:40 | Fixed OOB read in ntlm_av_pair_get
CVE-2020-11097 thanks to @antonio-morales for finding this. | akallabeth | null | {'additions': 113, 'deletions': 33, 'total': 146} | [
{
"additions": 113,
"changes": 146,
"deletions": 33,
"patch": "@@ -39,13 +39,50 @@\n #include \"../../log.h\"\n #define TAG WINPR_TAG(\"sspi.NTLM\")\n \n-static const char* const AV_PAIR_STRINGS[] = {\n-\t\"MsvAvEOL\", \"MsvAvNbComputerName\", \"MsvAvNbDomainName\", \"MsvAvDnsComputerName\... | c | CWE-125 | [
"winpr/libwinpr/sspi/NTLM/ntlm_av_pairs.c"
] | winpr/libwinpr/sspi/NTLM/ntlm_av_pairs.c | 1 |
BOOL glyph_cache_put(rdpGlyphCache* glyphCache, UINT32 id, UINT32 index, rdpGlyp return FALSE; } if (index > glyphCache->glyphCache[id].number) { WLog_ERR(TAG, "invalid glyph cache index: %" PRIu32 " in cache id: %" PRIu32 "", index, id); return FALSE; | BOOL glyph_cache_put(rdpGlyphCache* glyphCache, UINT32 id, UINT32 index, rdpGlyp return FALSE; } if (index >= glyphCache->glyphCache[id].number) { WLog_ERR(TAG, "invalid glyph cache index: %" PRIu32 " in cache id: %" PRIu32 "", index, id); return FALSE; | CVE-2020-11098 | {'CWE-125'} | 4.9 | {'https://github.com/FreeRDP/FreeRDP/commit/c0fd449ec0870b050d350d6d844b1ea6dad4bc7d'} | nvd | In FreeRDP before version 2.1.2, there is an out-of-bound read in glyph_cache_put. This affects all FreeRDP clients with `+glyph-cache` option enabled This is fixed in version 2.1.2. | 2020-06-22 | 1 | https://github.com/FreeRDP/FreeRDP | https://github.com/FreeRDP/FreeRDP/commit/c0fd449ec0870b050d350d6d844b1ea6dad4bc7d | c0fd449ec0870b050d350d6d844b1ea6dad4bc7d | SINGLE | ['c0fd449ec0870b050d350d6d844b1ea6dad4bc7d'] | {'6ade7b4cbfd71c54b3d724e8f2d6ac76a58e879a'} | c0fd449ec0870b050d350d6d844b1ea6dad4bc7d | 1 | 05/25/2020, 07:42:02 | Fixed Out-of-bound read in glyph_cache_put
CVE-2020-11098 thanks to @antonio-morales for finding this. | akallabeth | {'com_1': {'author': 'tcullum-rh', 'datetime': '07/09/2020, 22:09:50', 'body': '@akallabeth re "Do not enable glyph-cache (default)" from GHSA, does this mean that glyph-cache is disabled or enabled by default? Just want to clarify that thanks.'}, 'com_2': {'author': 'akallabeth', 'datetime': '07/10/2020, 07:45:06', 'b... | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -579,7 +579,7 @@ BOOL glyph_cache_put(rdpGlyphCache* glyphCache, UINT32 id, UINT32 index, rdpGlyp\n \t\treturn FALSE;\n \t}\n \n-\tif (index > glyphCache->glyphCache[id].number)\n+\tif (index >= glyphCache->glyphCache[id].number)\n \t{\n \... | c | CWE-125 | [
"libfreerdp/cache/glyph.c"
] | libfreerdp/cache/glyph.c | 1 |
BOOL license_read_new_or_upgrade_license_packet(rdpLicense* license, wStream* s) if (!licenseStream) goto out_free_blob; Stream_Read_UINT16(licenseStream, os_minor); Stream_Read_UINT16(licenseStream, os_major); BOOL license_read_new_or_upgrade_license_packet(rdpLicense* license, wStream* s) Stream_Seek(license... | BOOL license_read_new_or_upgrade_license_packet(rdpLicense* license, wStream* s) if (!licenseStream) goto out_free_blob; if (Stream_GetRemainingLength(licenseStream) < 8) goto out_free_stream; Stream_Read_UINT16(licenseStream, os_minor); Stream_Read_UINT16(licenseStream, os_major); BOOL license_read_new_or_... | CVE-2020-11099 | {'CWE-125'} | 4.9 | {'https://github.com/FreeRDP/FreeRDP/commit/6ade7b4cbfd71c54b3d724e8f2d6ac76a58e879a'} | nvd | In FreeRDP before version 2.1.2, there is an out of bounds read in license_read_new_or_upgrade_license_packet. A manipulated license packet can lead to out of bound reads to an internal buffer. This is fixed in version 2.1.2. | 2020-06-22 | 1 | https://github.com/FreeRDP/FreeRDP | https://github.com/FreeRDP/FreeRDP/commit/6ade7b4cbfd71c54b3d724e8f2d6ac76a58e879a | 6ade7b4cbfd71c54b3d724e8f2d6ac76a58e879a | SINGLE | ['6ade7b4cbfd71c54b3d724e8f2d6ac76a58e879a'] | {'152bf0cda470fa0b3a74198cf0f1993ef95d8007'} | 6ade7b4cbfd71c54b3d724e8f2d6ac76a58e879a | 1 | 05/25/2020, 07:37:48 | Fixed OOB Read in license_read_new_or_upgrade_license_packet
CVE-2020-11099 thanks to @antonio-morales for finding this. | akallabeth | null | {'additions': 9, 'deletions': 0, 'total': 9} | [
{
"additions": 9,
"changes": 9,
"deletions": 0,
"patch": "@@ -1252,6 +1252,9 @@ BOOL license_read_new_or_upgrade_license_packet(rdpLicense* license, wStream* s)\n \tif (!licenseStream)\n \t\tgoto out_free_blob;\n \n+\tif (Stream_GetRemainingLength(licenseStream) < 8)\n+\t\tgoto out_free_stream;\n+\n... | c | CWE-125 | [
"libfreerdp/core/license.c"
] | libfreerdp/core/license.c | 1 |
public function downloadFiles() { $checkFileCreate = $archive->create($arrayOfFiles, PCLZIP_OPT_REMOVE_ALL_PATH); $urlFormat = Yii::app()->getUrlManager()->getUrlFormat(); $getFileLink = Yii::app()->createUrl('admin/filemanager/sa/getZipFile'); if($urlFormat == 'path') { $ge... | public function downloadFiles() { $checkFileCreate = $archive->create($arrayOfFiles, PCLZIP_OPT_REMOVE_ALL_PATH); $urlFormat = Yii::app()->getUrlManager()->getUrlFormat(); $getFileLink = Yii::app()->createUrl('admin/filemanager/sa/getZipFile'); $_SESSION['__path'] = $zipfile; $... | CVE-2020-11455 | {'CWE-22'} | 6.4 | {'https://github.com/LimeSurvey/LimeSurvey/commit/daf50ebb16574badfb7ae0b8526ddc5871378f1b'} | nvd | LimeSurvey before 4.1.12+200324 contains a path traversal vulnerability in application/controllers/admin/LimeSurveyFileManager.php. | 2020-04-01 | 1 | https://github.com/LimeSurvey/LimeSurvey | https://github.com/LimeSurvey/LimeSurvey/commit/daf50ebb16574badfb7ae0b8526ddc5871378f1b | daf50ebb16574badfb7ae0b8526ddc5871378f1b | SINGLE | ['daf50ebb16574badfb7ae0b8526ddc5871378f1b'] | {'c0b93c372e300465d98b79007428743406e21cd1'} | daf50ebb16574badfb7ae0b8526ddc5871378f1b | 1 | 03/24/2020, 10:07:38 | Fixed issue [security] #16018: Path Traversal Vulnerability (Matthew Aberegg, Michael Burkey) | Olle Harstedt | null | {'additions': 9, 'deletions': 12, 'total': 21} | [
{
"additions": 9,
"changes": 21,
"deletions": 12,
"patch": "@@ -380,11 +380,7 @@ public function downloadFiles() {\n $checkFileCreate = $archive->create($arrayOfFiles, PCLZIP_OPT_REMOVE_ALL_PATH);\n $urlFormat = Yii::app()->getUrlManager()->getUrlFormat();\n $getFileLink = Yi... | php | CWE-22 | [
"application/controllers/admin/LimeSurveyFileManager.php"
] | application/controllers/admin/LimeSurveyFileManager.php | 1 |
function get_root_priv_item_text() { $name_string = $a_user['name']; if (!empty($a_user['descr'])) { $name_string .= " ({$a_user['descr']})"; } $section->addInput(new Form_StaticText( | function get_root_priv_item_text() { $name_string = $a_user['name']; if (!empty($a_user['descr'])) { $name_string .= " (" . htmlspecialchars($a_user['descr']) . ")"; } $section->addInput(new Form_StaticText( | CVE-2020-11457 | {'CWE-79'} | 2.9 | {'https://github.com/pfsense/pfsense/commit/3c1e53dabe966f27c9097a5a923e77f49ae5fffa'} | nvd | pfSense before 2.4.5 has stored XSS in system_usermanager_addprivs.php in the WebGUI via the descr parameter (aka full name) of a user. | 2020-04-01 | 1 | https://github.com/pfsense/pfsense | https://github.com/pfsense/pfsense/commit/3c1e53dabe966f27c9097a5a923e77f49ae5fffa | 3c1e53dabe966f27c9097a5a923e77f49ae5fffa | SINGLE | ['3c1e53dabe966f27c9097a5a923e77f49ae5fffa'] | {'86a89e4800b9d5dd6f588d4b6f80d1f1410f5566'} | 3c1e53dabe966f27c9097a5a923e77f49ae5fffa | 1 | 03/09/2020, 12:55:30 | Encode user descr before output. Fixes #103241 | jim-p | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -157,7 +157,7 @@ function get_root_priv_item_text() {\n \n $name_string = $a_user['name'];\n if (!empty($a_user['descr'])) {\n-\t$name_string .= \" ({$a_user['descr']})\";\n+\t$name_string .= \" (\" . htmlspecialchars($a_user['descr']) . \... | php | CWE-79 | [
"src/usr/local/www/system_usermanager_addprivs.php"
] | src/usr/local/www/system_usermanager_addprivs.php | 1 |
rdpBitmapCache* bitmap_cache_new(rdpSettings* settings) bitmapCache->settings = settings; bitmapCache->update = ((freerdp*)settings->instance)->update; bitmapCache->context = bitmapCache->update->context; bitmapCache->maxCells = settings->BitmapCacheV2NumCells; bitmapCache->cells = (BITMAP_V2_CELL*)calloc(bitmapC... | rdpBitmapCache* bitmap_cache_new(rdpSettings* settings) bitmapCache->settings = settings; bitmapCache->update = ((freerdp*)settings->instance)->update; bitmapCache->context = bitmapCache->update->context; bitmapCache->cells = (BITMAP_V2_CELL*)calloc(settings->BitmapCacheV2NumCells, sizeof(BITMAP_V2_CELL)); ... | CVE-2020-11525 | {'CWE-125'} | 2.9 | {'https://github.com/FreeRDP/FreeRDP/pull/6019/commits/58dc36b3c883fd460199cedb6d30e58eba58298c'} | nvd | libfreerdp/cache/bitmap.c in FreeRDP versions > 1.0 through 2.0.0-rc4 has an Out of bounds read. | 2020-05-15 | 1 | https://github.com/FreeRDP/FreeRDP | https://github.com/FreeRDP/FreeRDP/pull/6019/commits/58dc36b3c883fd460199cedb6d30e58eba58298c | 58dc36b3c883fd460199cedb6d30e58eba58298c | SINGLE | ['58dc36b3c883fd460199cedb6d30e58eba58298c'] | {'9223eea61e435694d586d8d647ac5e551c1fed41'} | 58dc36b3c883fd460199cedb6d30e58eba58298c | 1 | 04/02/2020, 08:33:44 | Fixed possible NULL dereference | akallabeth | null | {'additions': 3, 'deletions': 2, 'total': 5} | [
{
"additions": 3,
"changes": 5,
"deletions": 2,
"patch": "@@ -281,11 +281,12 @@ rdpBitmapCache* bitmap_cache_new(rdpSettings* settings)\n \tbitmapCache->settings = settings;\n \tbitmapCache->update = ((freerdp*)settings->instance)->update;\n \tbitmapCache->context = bitmapCache->update->context;\n-\... | c | CWE-125 | [
"libfreerdp/cache/bitmap.c"
] | libfreerdp/cache/bitmap.c | 1 |
GF_Err audio_sample_entry_Read(GF_Box *s, GF_BitStream *bs) gf_bs_read_data(bs, data, size); for (i=0; i<size-8; i++) { if (GF_4CC((u32)data[i+4], (u8)data[i+5], (u8)data[i+6], (u8)data[i+7]) == GF_ISOM_BOX_TYPE_ESDS) { GF_BitStream *mybs = gf_bs_new(data + i, size - i, GF_BITSTREAM_READ); if (ptr->esd) { ... | GF_Err audio_sample_entry_Read(GF_Box *s, GF_BitStream *bs) gf_bs_read_data(bs, data, size); for (i=0; i<size-8; i++) { if (GF_4CC((u32)data[i+4], (u8)data[i+5], (u8)data[i+6], (u8)data[i+7]) == GF_ISOM_BOX_TYPE_ESDS) { extern Bool use_dump_mode; GF_BitStream *mybs = gf_bs_new(data + i, size - i, GF_BITSTREA... | CVE-2020-11558 | {'CWE-416'} | 6.4 | {'https://github.com/gpac/gpac/commit/6063b1a011c3f80cee25daade18154e15e4c058c'} | nvd | An issue was discovered in libgpac.a in GPAC 0.8.0, as demonstrated by MP4Box. audio_sample_entry_Read in isomedia/box_code_base.c does not properly decide when to make gf_isom_box_del calls. This leads to various use-after-free outcomes involving mdia_Read, gf_isom_delete_movie, and gf_isom_parse_movie_boxes. | 2020-04-05 | 1 | https://github.com/gpac/gpac | https://github.com/gpac/gpac/commit/6063b1a011c3f80cee25daade18154e15e4c058c | 6063b1a011c3f80cee25daade18154e15e4c058c | SINGLE | ['6063b1a011c3f80cee25daade18154e15e4c058c'] | {'fb8d9dc0607a84d385e94566783e147e0153d6d1'} | 6063b1a011c3f80cee25daade18154e15e4c058c | 1 | 03/26/2020, 18:17:07 | fix UAF in audio_sample_entry_Read (#1440) | Aurelien David | null | {'additions': 2, 'deletions': 1, 'total': 3} | [
{
"additions": 2,
"changes": 3,
"deletions": 1,
"patch": "@@ -4069,9 +4069,10 @@ GF_Err audio_sample_entry_Read(GF_Box *s, GF_BitStream *bs)\n \tgf_bs_read_data(bs, data, size);\n \tfor (i=0; i<size-8; i++) {\n \t\tif (GF_4CC((u32)data[i+4], (u8)data[i+5], (u8)data[i+6], (u8)data[i+7]) == GF_ISOM_BO... | c | CWE-416 | [
"src/isomedia/box_code_base.c"
] | src/isomedia/box_code_base.c | 1 |
int mpol_parse_str(char *str, struct mempolicy **mpol) switch (mode) { case MPOL_PREFERRED: /* * Insist on a nodelist of one node only */ if (nodelist) { char *rest = nodelist; while (isdigit(*rest)) rest++; if (*rest) goto out; } break; case MPOL_INTERLEAVE: | int mpol_parse_str(char *str, struct mempolicy **mpol) switch (mode) { case MPOL_PREFERRED: /* * Insist on a nodelist of one node only, although later * we use first_node(nodes) to grab a single node, so here * nodelist (or nodes) cannot be empty. */ if (nodelist) { char *rest = nodelist; while... | CVE-2020-11565 | {'CWE-787'} | 4.9 | {'https://github.com/torvalds/linux/commit/aa9f7d5172fac9bf1f09e678c35e287a40a7b7dd'} | nvd | ** DISPUTED ** An issue was discovered in the Linux kernel through 5.6.2. mpol_parse_str in mm/mempolicy.c has a stack-based out-of-bounds write because an empty nodelist is mishandled during mount option parsing, aka CID-aa9f7d5172fa. NOTE: Someone in the security community disagrees that this is a vulnerability becau... | 2020-04-06 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/aa9f7d5172fac9bf1f09e678c35e287a40a7b7dd | aa9f7d5172fac9bf1f09e678c35e287a40a7b7dd | SINGLE | ['aa9f7d5172fac9bf1f09e678c35e287a40a7b7dd'] | {'d888fb2b189be07df1656a31930b11a62ae88e58'} | aa9f7d5172fac9bf1f09e678c35e287a40a7b7dd | 1 | 04/02/2020, 04:10:58 | mm: mempolicy: require at least one nodeid for MPOL_PREFERRED
Using an empty (malformed) nodelist that is not caught during mount option
parsing leads to a stack-out-of-bounds access.
The option string that was used was: "mpol=prefer:,". However,
MPOL_PREFERRED requires a single node number, which is not being provi... | Randy Dunlap | null | {'additions': 5, 'deletions': 1, 'total': 6} | [
{
"additions": 5,
"changes": 6,
"deletions": 1,
"patch": "@@ -2898,14 +2898,18 @@ int mpol_parse_str(char *str, struct mempolicy **mpol)\n \tswitch (mode) {\n \tcase MPOL_PREFERRED:\n \t\t/*\n-\t\t * Insist on a nodelist of one node only\n+\t\t * Insist on a nodelist of one node only, although later... | c | CWE-787 | [
"mm/mempolicy.c"
] | mm/mempolicy.c | 1 |
static void ov511_mode_init_regs(struct sd *sd) return; } packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); reg_w(sd, R51x_FIFO_PSIZE, packet_size >> 5); static void ov518_mode_init_regs(struct sd *sd) return; } packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); ov518_reg_w32(... | static void ov511_mode_init_regs(struct sd *sd) return; } if (alt->desc.bNumEndpoints < 1) { sd->gspca_dev.usb_err = -ENODEV; return; } packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); reg_w(sd, R51x_FIFO_PSIZE, packet_size >> 5); static void ov518_mode_init_regs(struct sd *sd) return; ... | CVE-2020-11608 | {'CWE-476'} | 6.9 | {'https://github.com/torvalds/linux/commit/998912346c0da53a6dbb71fab3a138586b596b30'} | nvd | An issue was discovered in the Linux kernel before 5.6.1. drivers/media/usb/gspca/ov519.c allows NULL pointer dereferences in ov511_mode_init_regs and ov518_mode_init_regs when there are zero endpoints, aka CID-998912346c0d. | 2020-04-07 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/998912346c0da53a6dbb71fab3a138586b596b30 | 998912346c0da53a6dbb71fab3a138586b596b30 | SINGLE | ['998912346c0da53a6dbb71fab3a138586b596b30'] | {'8ff3cf4824d123ecf6424cdb93ca8ca37dbd50af'} | 998912346c0da53a6dbb71fab3a138586b596b30 | 1 | 01/03/2020, 16:35:09 | media: ov519: add missing endpoint sanity checks
Make sure to check that we have at least one endpoint before accessing
the endpoint array to avoid dereferencing a NULL-pointer on stream
start.
Note that these sanity checks are not redundant as the driver is mixing
looking up altsettings by index and by number, which... | Johan Hovold | null | {'additions': 10, 'deletions': 0, 'total': 10} | [
{
"additions": 10,
"changes": 10,
"deletions": 0,
"patch": "@@ -3477,6 +3477,11 @@ static void ov511_mode_init_regs(struct sd *sd)\n \t\treturn;\n \t}\n \n+\tif (alt->desc.bNumEndpoints < 1) {\n+\t\tsd->gspca_dev.usb_err = -ENODEV;\n+\t\treturn;\n+\t}\n+\n \tpacket_size = le16_to_cpu(alt->endpoint[0... | c | CWE-476 | [
"drivers/media/usb/gspca/ov519.c"
] | drivers/media/usb/gspca/ov519.c | 1 |
static int cit_get_packet_size(struct gspca_dev *gspca_dev) return -EIO; } return le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); } static int sd_start(struct gspca_dev *gspca_dev) static int sd_isoc_init(struct gspca_dev *gspca_dev) { struct usb_host_interface *alt; int max_packet_size; static int sd_iso... | static int cit_get_packet_size(struct gspca_dev *gspca_dev) return -EIO; } if (alt->desc.bNumEndpoints < 1) return -ENODEV; return le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); } static int sd_start(struct gspca_dev *gspca_dev) static int sd_isoc_init(struct gspca_dev *gspca_dev) { struct usb_interfac... | CVE-2020-11668 | {'CWE-476'} | 7.8 | {'https://github.com/torvalds/linux/commit/a246b4d547708f33ff4d4b9a7a5dbac741dc89d8'} | nvd | In the Linux kernel before 5.6.1, drivers/media/usb/gspca/xirlink_cit.c (aka the Xirlink camera USB driver) mishandles invalid descriptors, aka CID-a246b4d54770. | 2020-04-09 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/a246b4d547708f33ff4d4b9a7a5dbac741dc89d8 | a246b4d547708f33ff4d4b9a7a5dbac741dc89d8 | SINGLE | ['a246b4d547708f33ff4d4b9a7a5dbac741dc89d8'] | {'485b06aadb933190f4bc44e006076bc27a23f205'} | a246b4d547708f33ff4d4b9a7a5dbac741dc89d8 | 1 | 01/03/2020, 16:35:11 | media: xirlink_cit: add missing descriptor sanity checks
Make sure to check that we have two alternate settings and at least one
endpoint before accessing the second altsetting structure and
dereferencing the endpoint arrays.
This specifically avoids dereferencing NULL-pointers or corrupting
memory when a device does... | Johan Hovold | null | {'additions': 17, 'deletions': 1, 'total': 18} | [
{
"additions": 17,
"changes": 18,
"deletions": 1,
"patch": "@@ -1442,6 +1442,9 @@ static int cit_get_packet_size(struct gspca_dev *gspca_dev)\n \t\treturn -EIO;\n \t}\n \n+\tif (alt->desc.bNumEndpoints < 1)\n+\t\treturn -ENODEV;\n+\n \treturn le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize);\n }\n ... | c | CWE-476 | [
"drivers/media/usb/gspca/xirlink_cit.c"
] | drivers/media/usb/gspca/xirlink_cit.c | 1 |
multi_process_incoming_link(struct multi_context *m, struct multi_instance *inst orig_buf = c->c2.buf.data; if (process_incoming_link_part1(c, lsi, floated)) { if (floated) { multi_process_float(m, m->pending); } | multi_process_incoming_link(struct multi_context *m, struct multi_instance *inst orig_buf = c->c2.buf.data; if (process_incoming_link_part1(c, lsi, floated)) { /* nonzero length means that we have a valid, decrypted packed */ if (floated && c->c2.buf.... | CVE-2020-11810 | {'CWE-362'} | 2.9 | {'https://github.com/OpenVPN/openvpn/commit/37bc691e7d26ea4eb61a8a434ebd7a9ae76225ab'} | nvd | An issue was discovered in OpenVPN 2.4.x before 2.4.9. An attacker can inject a data channel v2 (P_DATA_V2) packet using a victim's peer-id. Normally such packets are dropped, but if this packet arrives before the data channel crypto parameters have been initialized, the victim's connection will be dropped. This requir... | 2020-04-27 | 1 | https://github.com/OpenVPN/openvpn | https://github.com/OpenVPN/openvpn/commit/37bc691e7d26ea4eb61a8a434ebd7a9ae76225ab | 37bc691e7d26ea4eb61a8a434ebd7a9ae76225ab | SINGLE | ['37bc691e7d26ea4eb61a8a434ebd7a9ae76225ab'] | {'3b06b57d9f1d972ec16f0893d06697439c1bb1fe'} | 37bc691e7d26ea4eb61a8a434ebd7a9ae76225ab | 1 | 04/15/2020, 07:30:17 | Fix illegal client float (CVE-2020-11810)
There is a time frame between allocating peer-id and initializing data
channel key (which is performed on receiving push request or on async
push-reply) in which the existing peer-id float checks do not work right.
If a "rogue" data channel packet arrives during that time fra... | Lev Stipakov | null | {'additions': 2, 'deletions': 1, 'total': 3} | [
{
"additions": 2,
"changes": 3,
"deletions": 1,
"patch": "@@ -2577,7 +2577,8 @@ multi_process_incoming_link(struct multi_context *m, struct multi_instance *inst\n orig_buf = c->c2.buf.data;\n if (process_incoming_link_part1(c, lsi, floated))\n {\n- ... | c | CWE-362 | [
"src/openvpn/multi.c"
] | src/openvpn/multi.c | 1 |
static void ndpi_int_ssh_add_connection(struct ndpi_detection_module_struct static u_int16_t concat_hash_string(struct ndpi_packet_struct *packet, char *buf, u_int8_t client_hash) { u_int16_t offset = 22, buf_out_len = 0; if(offset+sizeof(u_int32_t) >= packet->payload_packet_len) goto invalid_payload; ... | static void ndpi_int_ssh_add_connection(struct ndpi_detection_module_struct static u_int16_t concat_hash_string(struct ndpi_packet_struct *packet, char *buf, u_int8_t client_hash) { u_int32_t offset = 22, buf_out_len = 0; if(offset+sizeof(u_int32_t) >= packet->payload_packet_len) goto invalid_payload; ... | CVE-2020-11939 | {'CWE-190', 'CWE-787'} | 6.4 | {'https://github.com/ntop/nDPI/commit/7ce478a58b4dd29a8d1e6f4e9df2f778613d9202'} | nvd | In nDPI through 3.2 Stable, the SSH protocol dissector has multiple KEXINIT integer overflows that result in a controlled remote heap overflow in concat_hash_string in ssh.c. Due to the granular nature of the overflow primitive and the ability to control both the contents and layout of the nDPI library's heap memory th... | 2020-04-23 | 1 | https://github.com/ntop/nDPI | https://github.com/ntop/nDPI/commit/7ce478a58b4dd29a8d1e6f4e9df2f778613d9202 | 7ce478a58b4dd29a8d1e6f4e9df2f778613d9202 | SINGLE | ['7ce478a58b4dd29a8d1e6f4e9df2f778613d9202'] | {'3bbb0cd3296023f6f922c71d21a1c374d2b0a435'} | 7ce478a58b4dd29a8d1e6f4e9df2f778613d9202 | 1 | 04/02/2020, 14:48:35 | ssh: fixing unsigned overflow leading to heap overflow
cf GHSL-2020-051 | Philippe Antoine | null | {'additions': 33, 'deletions': 31, 'total': 64} | [
{
"additions": 33,
"changes": 64,
"deletions": 31,
"patch": "@@ -95,7 +95,7 @@ static void ndpi_int_ssh_add_connection(struct ndpi_detection_module_struct\n \n static u_int16_t concat_hash_string(struct ndpi_packet_struct *packet,\n \t\t\t\t char *buf, u_int8_t client_hash) {\n- u_int16_t offset ... | c | CWE-787 | [
"src/lib/protocols/ssh.c"
] | src/lib/protocols/ssh.c | 1 |
static void ndpi_int_ssh_add_connection(struct ndpi_detection_module_struct static u_int16_t concat_hash_string(struct ndpi_packet_struct *packet, char *buf, u_int8_t client_hash) { u_int16_t offset = 22, buf_out_len = 0; if(offset+sizeof(u_int32_t) >= packet->payload_packet_len) goto invalid_payload; ... | static void ndpi_int_ssh_add_connection(struct ndpi_detection_module_struct static u_int16_t concat_hash_string(struct ndpi_packet_struct *packet, char *buf, u_int8_t client_hash) { u_int32_t offset = 22, buf_out_len = 0; if(offset+sizeof(u_int32_t) >= packet->payload_packet_len) goto invalid_payload; ... | CVE-2020-11939 | {'CWE-190', 'CWE-787'} | 6.4 | {'https://github.com/ntop/nDPI/commit/7ce478a58b4dd29a8d1e6f4e9df2f778613d9202'} | nvd | In nDPI through 3.2 Stable, the SSH protocol dissector has multiple KEXINIT integer overflows that result in a controlled remote heap overflow in concat_hash_string in ssh.c. Due to the granular nature of the overflow primitive and the ability to control both the contents and layout of the nDPI library's heap memory th... | 2020-04-23 | 1 | https://github.com/ntop/nDPI | https://github.com/ntop/nDPI/commit/7ce478a58b4dd29a8d1e6f4e9df2f778613d9202 | 7ce478a58b4dd29a8d1e6f4e9df2f778613d9202 | SINGLE | ['7ce478a58b4dd29a8d1e6f4e9df2f778613d9202'] | {'3bbb0cd3296023f6f922c71d21a1c374d2b0a435'} | 7ce478a58b4dd29a8d1e6f4e9df2f778613d9202 | 1 | 04/02/2020, 14:48:35 | ssh: fixing unsigned overflow leading to heap overflow
cf GHSL-2020-051 | Philippe Antoine | null | {'additions': 33, 'deletions': 31, 'total': 64} | [
{
"additions": 33,
"changes": 64,
"deletions": 31,
"patch": "@@ -95,7 +95,7 @@ static void ndpi_int_ssh_add_connection(struct ndpi_detection_module_struct\n \n static u_int16_t concat_hash_string(struct ndpi_packet_struct *packet,\n \t\t\t\t char *buf, u_int8_t client_hash) {\n- u_int16_t offset ... | c | CWE-190 | [
"src/lib/protocols/ssh.c"
] | src/lib/protocols/ssh.c | 1 |
static u_int16_t concat_hash_string(struct ndpi_packet_struct *packet, buf[buf_out_len++] = ';'; offset += len; /* ssh.server_host_key_algorithms [None] */ len = ntohl(*(u_int32_t*)&packet->payload[offset]); offset += 4 + len; /* ssh.encryption_algorithms_client_to_server [C] */ len = ntohl(*(u_int32_t... | static u_int16_t concat_hash_string(struct ndpi_packet_struct *packet, buf[buf_out_len++] = ';'; offset += len; if(offset+sizeof(u_int32_t) >= packet->payload_packet_len) goto invalid_payload; /* ssh.server_host_key_algorithms [None] */ len = ntohl(*(u_int32_t*)&packet->payload[offset]); offset += 4 +... | CVE-2020-11940 | {'CWE-125'} | 2.9 | {'https://github.com/ntop/nDPI/commit/3bbb0cd3296023f6f922c71d21a1c374d2b0a435'} | nvd | In nDPI through 3.2 Stable, an out-of-bounds read in concat_hash_string in ssh.c can be exploited by a network-positioned attacker that can send malformed SSH protocol messages on a network segment monitored by nDPI's library. | 2020-04-23 | 1 | https://github.com/ntop/nDPI | https://github.com/ntop/nDPI/commit/3bbb0cd3296023f6f922c71d21a1c374d2b0a435 | 3bbb0cd3296023f6f922c71d21a1c374d2b0a435 | SINGLE | ['3bbb0cd3296023f6f922c71d21a1c374d2b0a435'] | {'56ca71bda9870e78ba0ee70fe226c4a4fcc36a04'} | 3bbb0cd3296023f6f922c71d21a1c374d2b0a435 | 1 | 04/02/2020, 14:35:10 | ssh: adds systematic bounds checks in concat_hash_string
cf GHSL-2020-052 | Philippe Antoine | null | {'additions': 12, 'deletions': 0, 'total': 12} | [
{
"additions": 12,
"changes": 12,
"deletions": 0,
"patch": "@@ -110,10 +110,14 @@ static u_int16_t concat_hash_string(struct ndpi_packet_struct *packet,\n buf[buf_out_len++] = ';';\n offset += len;\n \n+ if(offset+sizeof(u_int32_t) >= packet->payload_packet_len)\n+ goto invalid_payload;\n ... | c | CWE-125 | [
"src/lib/protocols/ssh.c"
] | src/lib/protocols/ssh.c | 1 |
bool Scanner::fill(size_t need) if (!buf) fatal("out of memory"); memmove(buf, tok, copy); shift_ptrs_and_fpos(buf - bot); delete [] bot; bot = buf; free = BSIZE - copy; } if (!read(free)) { eof = lim; memset(lim, 0, YYMAXFILL); | bool Scanner::fill(size_t need) if (!buf) fatal("out of memory"); memmove(buf, tok, copy); shift_ptrs_and_fpos(buf - tok); delete [] bot; bot = buf; free = BSIZE - copy; } DASSERT(lim + free <= bot + BSIZE); if (!read(free)) { eof = lim; me... | CVE-2020-11958 | {'CWE-787'} | 6.4 | {'https://github.com/skvadrik/re2c/commit/c4603ba5ce229db83a2a4fb93e6d4b4e3ec3776a'} | nvd | re2c 1.3 has a heap-based buffer overflow in Scanner::fill in parse/scanner.cc via a long lexeme. | 2020-04-21 | 1 | https://github.com/skvadrik/re2c | https://github.com/skvadrik/re2c/commit/c4603ba5ce229db83a2a4fb93e6d4b4e3ec3776a | c4603ba5ce229db83a2a4fb93e6d4b4e3ec3776a | SINGLE | ['c4603ba5ce229db83a2a4fb93e6d4b4e3ec3776a'] | {'187fff3a8bbfa5f2a81398ab8e96a59cbf28e839'} | c4603ba5ce229db83a2a4fb93e6d4b4e3ec3776a | 1 | 04/17/2020, 21:47:14 | Fix crash in lexer refill (reported by Agostino Sarubbo).
The crash happened in a rare case of a very long lexeme that doen't fit
into the buffer, forcing buffer reallocation.
The crash was caused by an incorrect calculation of the shift offset
(it was smaller than necessary). As a consequence, the data from buffer
s... | Ulya Trofimovich | {'com_1': {'author': 'kirotawa', 'datetime': '04/21/2020, 14:46:58', 'body': 'Hi, I`m trying to reproduce this issue in versions old than 1.3. Is there any PoC available?\r\nI saw that code is quite diff between 1.3 versions < 1.2.'}, 'com_2': {'author': 'skvadrik', 'datetime': '04/21/2020, 19:53:25', 'body': "I think ... | {'additions': 2, 'deletions': 1, 'total': 3} | [
{
"additions": 2,
"changes": 3,
"deletions": 1,
"patch": "@@ -155,13 +155,14 @@ bool Scanner::fill(size_t need)\n if (!buf) fatal(\"out of memory\");\n \n memmove(buf, tok, copy);\n- shift_ptrs_and_fpos(buf - bot);\n+ shift_ptrs_and_fpos(buf - tok);\n delete [] ... | cc | CWE-787 | [
"src/parse/scanner.cc"
] | src/parse/scanner.cc | 1 |
int CServer::SendMsg(CMsgPacker *pMsg, int Flags, int ClientID) if(!pMsg) return -1; // drop packet to dummy client if(0 <= ClientID && ClientID < MAX_CLIENTS && GameServer()->IsClientBot(ClientID)) return 0; mem_zero(&Packet, sizeof(CNetChunk)); | int CServer::SendMsg(CMsgPacker *pMsg, int Flags, int ClientID) if(!pMsg) return -1; // drop invalid packet if(ClientID != -1 && (ClientID < 0 || ClientID >= MAX_CLIENTS || m_aClients[ClientID].m_State == CClient::STATE_EMPTY || m_aClients[ClientID].m_Quitting)) return 0; mem_zero(&Packet, sizeof(CNetChunk))... | CVE-2020-12066 | {'CWE-20'} | 6.9 | {'https://github.com/teeworlds/teeworlds/commit/c68402fa7e279d42886d5951d1ea8ac2facc1ea5'} | nvd | CServer::SendMsg in engine/server/server.cpp in Teeworlds 0.7.x before 0.7.5 allows remote attackers to shut down the server. | 2020-04-22 | 1 | https://github.com/teeworlds/teeworlds | https://github.com/teeworlds/teeworlds/commit/c68402fa7e279d42886d5951d1ea8ac2facc1ea5 | c68402fa7e279d42886d5951d1ea8ac2facc1ea5 | SINGLE | ['c68402fa7e279d42886d5951d1ea8ac2facc1ea5'] | {'b992b0a5e114ecfb06fb5155029dbc5238614cbe'} | c68402fa7e279d42886d5951d1ea8ac2facc1ea5 | 1 | 04/10/2020, 16:58:44 | changed a check | oy | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -496,8 +496,8 @@ int CServer::SendMsg(CMsgPacker *pMsg, int Flags, int ClientID)\n \tif(!pMsg)\n \t\treturn -1;\n \n-\t// drop packet to dummy client\n-\tif(0 <= ClientID && ClientID < MAX_CLIENTS && GameServer()->IsClientBot(ClientID))\n+... | cpp | CWE-20 | [
"src/engine/server/server.cpp"
] | src/engine/server/server.cpp | 1 |
function discover_subnet($queue_item = null) $data = array($discovery_id); $CI->db->query($sql, $data); if ( ! empty($CI->config->config['discovery_ip_exclude'])) { // Account for users adding multiple spaces which would be converted to multiple comma's. $exclude_ip = preg_replace('!\s+!', ' ', $CI->confi... | function discover_subnet($queue_item = null) $data = array($discovery_id); $CI->db->query($sql, $data); if ( ! preg_match('/^[\d,\.,\/,\-]*$/', $discovery->attributes->other->subnet)) { $log->message = 'Invalid subnet value supplied of ' . htmlentities($discovery->attributes->other->subnet); $log->severit... | CVE-2020-12078 | {'CWE-78'} | 10 | {'https://github.com/Opmantek/open-audit/commit/6ffc7f9032c55eaa1c37cf5e070809b7211c7e9a'} | nvd | An issue was discovered in Open-AudIT 3.3.1. There is shell metacharacter injection via attributes to an open-audit/configuration/ URI. An attacker can exploit this by adding an excluded IP address to the global discovery settings (internally called exclude_ip). This exclude_ip value is passed to the exec function in t... | 2020-04-28 | 1 | https://github.com/Opmantek/open-audit | https://github.com/Opmantek/open-audit/commit/6ffc7f9032c55eaa1c37cf5e070809b7211c7e9a | 6ffc7f9032c55eaa1c37cf5e070809b7211c7e9a | SINGLE | ['6ffc7f9032c55eaa1c37cf5e070809b7211c7e9a'] | {'d298b683a592c85408500399b89e7c8053bc7343'} | 6ffc7f9032c55eaa1c37cf5e070809b7211c7e9a | 1 | 04/23/2020, 23:59:41 | Validate correct character for subnet and exclude_ip attributes when running a discovery. | Mark Unwin | null | {'additions': 14, 'deletions': 0, 'total': 14} | [
{
"additions": 14,
"changes": 14,
"deletions": 0,
"patch": "@@ -272,6 +272,13 @@ function discover_subnet($queue_item = null)\n \t\t$data = array($discovery_id);\n \t\t$CI->db->query($sql, $data);\n \n+\t\tif ( ! preg_match('/^[\\d,\\.,\\/,\\-]*$/', $discovery->attributes->other->subnet)) {\n+\t\t\t... | php | CWE-78 | [
"code_igniter/application/helpers/discoveries_helper.php"
] | code_igniter/application/helpers/discoveries_helper.php | 1 |
#if !defined (INT32_MAX) #define INT32_MAX 0x7fffffff #endif /* allocate a Jbig2Image structure and its associated bitmap */ Jbig2Image * jbig2_image_compose(Jbig2Ctx *ctx, Jbig2Image *dst, Jbig2Image *src, int x, int if (src == NULL) return 0; /* This code takes a src image and combines it onto dst... | #if !defined (INT32_MAX) #define INT32_MAX 0x7fffffff #endif #if !defined (UINT32_MAX) #define UINT32_MAX 0xffffffffu #endif /* allocate a Jbig2Image structure and its associated bitmap */ Jbig2Image * jbig2_image_compose(Jbig2Ctx *ctx, Jbig2Image *dst, Jbig2Image *src, int x, int if (src == NULL) retur... | CVE-2020-12268 | {'CWE-787'} | 6.4 | {'https://github.com/ArtifexSoftware/jbig2dec/commit/0726320a4b55078e9d8deb590e477d598b3da66e'} | nvd | jbig2_image_compose in jbig2_image.c in Artifex jbig2dec before 0.18 has a heap-based buffer overflow. | 2020-04-27 | 1 | https://github.com/ArtifexSoftware/jbig2dec | https://github.com/ArtifexSoftware/jbig2dec/commit/0726320a4b55078e9d8deb590e477d598b3da66e | 0726320a4b55078e9d8deb590e477d598b3da66e | SINGLE | ['0726320a4b55078e9d8deb590e477d598b3da66e'] | {'b2686b34d8bcd890424b2670d5884b44001e07a2'} | 0726320a4b55078e9d8deb590e477d598b3da66e | 1 | 01/27/2020, 18:12:24 | Fix OSS-Fuzz issue 20332: buffer overflow in jbig2_image_compose.
With extreme values of x/y/w/h we can get overflow. Test for this
and exit safely.
Thanks for OSS-Fuzz for reporting. | Robin Watts | null | {'additions': 12, 'deletions': 0, 'total': 12} | [
{
"additions": 12,
"changes": 12,
"deletions": 0,
"patch": "@@ -33,6 +33,9 @@\n #if !defined (INT32_MAX)\n #define INT32_MAX 0x7fffffff\n #endif\n+#if !defined (UINT32_MAX)\n+#define UINT32_MAX 0xffffffffu\n+#endif\n \n /* allocate a Jbig2Image structure and its associated bitmap */\n Jbig2Image *... | c | CWE-787 | [
"jbig2_image.c"
] | jbig2_image.c | 1 |
void usb_sg_cancel(struct usb_sg_request *io) int i, retval; spin_lock_irqsave(&io->lock, flags); if (io->status) { spin_unlock_irqrestore(&io->lock, flags); return; } /* shut everything down */ io->status = -ECONNRESET; spin_unlock_irqrestore(&io->lock, flags); for (i = io->entries - 1; i >= 0; --i) { v... | void usb_sg_cancel(struct usb_sg_request *io) int i, retval; spin_lock_irqsave(&io->lock, flags); if (io->status || io->count == 0) { spin_unlock_irqrestore(&io->lock, flags); return; } /* shut everything down */ io->status = -ECONNRESET; io->count++; /* Keep the request alive until we're done */ spin_un... | CVE-2020-12464 | {'CWE-416'} | 10 | {'https://github.com/torvalds/linux/commit/056ad39ee9253873522f6469c3364964a322912b'} | nvd | usb_sg_cancel in drivers/usb/core/message.c in the Linux kernel before 5.6.8 has a use-after-free because a transfer occurs without a reference, aka CID-056ad39ee925. | 2020-04-29 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/056ad39ee9253873522f6469c3364964a322912b | 056ad39ee9253873522f6469c3364964a322912b | SINGLE | ['056ad39ee9253873522f6469c3364964a322912b'] | {'8f3d9f354286745c751374f5f1fcafee6b3f3136'} | 056ad39ee9253873522f6469c3364964a322912b | 1 | 03/28/2020, 20:18:11 | USB: core: Fix free-while-in-use bug in the USB S-Glibrary
FuzzUSB (a variant of syzkaller) found a free-while-still-in-use bug
in the USB scatter-gather library:
BUG: KASAN: use-after-free in atomic_read
include/asm-generic/atomic-instrumented.h:26 [inline]
BUG: KASAN: use-after-free in usb_hcd_unlink_urb+0x5f/0x170... | Alan Stern | null | {'additions': 8, 'deletions': 1, 'total': 9} | [
{
"additions": 8,
"changes": 9,
"deletions": 1,
"patch": "@@ -589,12 +589,13 @@ void usb_sg_cancel(struct usb_sg_request *io)\n \tint i, retval;\n \n \tspin_lock_irqsave(&io->lock, flags);\n-\tif (io->status) {\n+\tif (io->status || io->count == 0) {\n \t\tspin_unlock_irqrestore(&io->lock, flags);\n... | c | CWE-416 | [
"drivers/usb/core/message.c"
] | drivers/usb/core/message.c | 1 |
mt76_add_fragment(struct mt76_dev *dev, struct mt76_queue *q, void *data, struct page *page = virt_to_head_page(data); int offset = data - page_address(page); struct sk_buff *skb = q->rx_head; offset += q->buf_offset; skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags, page, offset, len, q->buf_size); if (more)... | mt76_add_fragment(struct mt76_dev *dev, struct mt76_queue *q, void *data, struct page *page = virt_to_head_page(data); int offset = data - page_address(page); struct sk_buff *skb = q->rx_head; struct skb_shared_info *shinfo = skb_shinfo(skb); if (shinfo->nr_frags < ARRAY_SIZE(shinfo->frags)) { offset += q->buf... | CVE-2020-12465 | {'CWE-120'} | 10 | {'https://github.com/torvalds/linux/commit/b102f0c522cf668c8382c56a4f771b37d011cda2'} | nvd | An array overflow was discovered in mt76_add_fragment in drivers/net/wireless/mediatek/mt76/dma.c in the Linux kernel before 5.5.10, aka CID-b102f0c522cf. An oversized packet with too many rx fragments can corrupt memory of adjacent pages. | 2020-04-29 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/b102f0c522cf668c8382c56a4f771b37d011cda2 | b102f0c522cf668c8382c56a4f771b37d011cda2 | SINGLE | ['b102f0c522cf668c8382c56a4f771b37d011cda2'] | {'a9149d243f259ad8f02b1e23dfe8ba06128f15e1'} | b102f0c522cf668c8382c56a4f771b37d011cda2 | 1 | 02/20/2020, 11:41:39 | mt76: fix array overflow on receiving too many fragments for a packet
If the hardware receives an oversized packet with too many rx fragments,
skb_shinfo(skb)->frags can overflow and corrupt memory of adjacent pages.
This becomes especially visible if it corrupts the freelist pointer of
a slab page.
Cc: stable@vger.k... | Felix Fietkau | null | {'additions': 6, 'deletions': 3, 'total': 9} | [
{
"additions": 6,
"changes": 9,
"deletions": 3,
"patch": "@@ -447,10 +447,13 @@ mt76_add_fragment(struct mt76_dev *dev, struct mt76_queue *q, void *data,\n \tstruct page *page = virt_to_head_page(data);\n \tint offset = data - page_address(page);\n \tstruct sk_buff *skb = q->rx_head;\n+\tstruct skb_... | c | CWE-120 | [
"drivers/net/wireless/mediatek/mt76/dma.c"
] | drivers/net/wireless/mediatek/mt76/dma.c | 1 |
static function getVarScope() { } function update($vars, &$errors) { if (!$vars['grace_period']) $errors['grace_period'] = __('Grace period required'); elseif (!is_numeric($vars['grace_period'])) static function getIdByName($name) { } static function create($vars=false, &... | static function getVarScope() { } function update($vars, &$errors) { $vars = Format::htmlchars($vars); if (!$vars['grace_period']) $errors['grace_period'] = __('Grace period required'); elseif (!is_numeric($vars['grace_period'])) static function getIdByName($name) { } ... | CVE-2020-12629 | {'CWE-79'} | 2.9 | {'https://github.com/osticket/osticket/commit/fc4c8608fa122f38673b9dddcb8fef4a15a9c884'} | nvd | include/class.sla.php in osTicket before 1.14.2 allows XSS via the SLA Name. | 2020-05-04 | 1 | https://github.com/osticket/osticket | https://github.com/osticket/osticket/commit/fc4c8608fa122f38673b9dddcb8fef4a15a9c884 | fc4c8608fa122f38673b9dddcb8fef4a15a9c884 | SINGLE | ['fc4c8608fa122f38673b9dddcb8fef4a15a9c884'] | {'de41aeb14b2ec01e481d97a97eb56b7f52c09aa2'} | fc4c8608fa122f38673b9dddcb8fef4a15a9c884 | 1 | 04/16/2020, 14:48:31 | xss: SLA Name
This mitigates an issue discovered by Gais Cyber Security where the SLA Name
can be exploited via XSS to execute code. This sanitizes the content for
`create()` and `update()` with `Format::htmlchars()` so we are safe from any
XSS attempts. | JediKev | null | {'additions': 2, 'deletions': 1, 'total': 3} | [
{
"additions": 2,
"changes": 3,
"deletions": 1,
"patch": "@@ -106,7 +106,7 @@ static function getVarScope() {\n }\n \n function update($vars, &$errors) {\n-\n+ $vars = Format::htmlchars($vars);\n if (!$vars['grace_period'])\n $errors['grace_period'] = __('Grace per... | php | CWE-79 | [
"include/class.sla.php"
] | include/class.sla.php | 1 |
struct buflist { * Function prototypes. Called from OS entry point mptctl_ioctl. * arg contents specific to function. */ static int mptctl_fw_download(unsigned long arg); static int mptctl_getiocinfo(unsigned long arg, unsigned int cmd); static int mptctl_gettargetinfo(unsigned long arg); static int mptctl_readtest... | struct buflist { * Function prototypes. Called from OS entry point mptctl_ioctl. * arg contents specific to function. */ static int mptctl_fw_download(MPT_ADAPTER *iocp, unsigned long arg); static int mptctl_getiocinfo(MPT_ADAPTER *iocp, unsigned long arg, unsigned int cmd); static int mptctl_gettargetinfo(MPT_ADAP... | CVE-2020-12652 | {'CWE-362'} | 6.9 | {'https://github.com/torvalds/linux/commit/28d76df18f0ad5bcf5fa48510b225f0ed262a99b'} | nvd | The __mptctl_ioctl function in drivers/message/fusion/mptctl.c in the Linux kernel before 5.4.14 allows local users to hold an incorrect lock during the ioctl operation and trigger a race condition, i.e., a "double fetch" vulnerability, aka CID-28d76df18f0a. NOTE: the vendor states "The security impact of this bug is n... | 2020-05-05 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/28d76df18f0ad5bcf5fa48510b225f0ed262a99b | 28d76df18f0ad5bcf5fa48510b225f0ed262a99b | SINGLE | ['28d76df18f0ad5bcf5fa48510b225f0ed262a99b'] | {'7b571c19d4c0b78d27dd3bf1f3c42e4032390af6'} | 28d76df18f0ad5bcf5fa48510b225f0ed262a99b | 1 | 01/14/2020, 12:34:14 | scsi: mptfusion: Fix double fetch bug in ioctl
Tom Hatskevich reported that we look up "iocp" then, in the called
functions we do a second copy_from_user() and look it up again.
The problem that could cause is:
drivers/message/fusion/mptctl.c
674 /* All of these commands require an interrupt or
675 ... | Dan Carpenter | null | {'additions': 50, 'deletions': 163, 'total': 213} | [
{
"additions": 50,
"changes": 213,
"deletions": 163,
"patch": "@@ -100,19 +100,19 @@ struct buflist {\n * Function prototypes. Called from OS entry point mptctl_ioctl.\n * arg contents specific to function.\n */\n-static int mptctl_fw_download(unsigned long arg);\n-static int mptctl_getiocinfo(un... | c | CWE-362 | [
"drivers/message/fusion/mptctl.c"
] | drivers/message/fusion/mptctl.c | 1 |
mwifiex_cmd_append_vsie_tlv(struct mwifiex_private *priv, vs_param_set->header.len = cpu_to_le16((((u16) priv->vs_ie[id].ie[1]) & 0x00FF) + 2); memcpy(vs_param_set->ie, priv->vs_ie[id].ie, le16_to_cpu(vs_param_set->header.len)); *buffer += le16_to_cpu(vs_param_set->header.len) + | mwifiex_cmd_append_vsie_tlv(struct mwifiex_private *priv, vs_param_set->header.len = cpu_to_le16((((u16) priv->vs_ie[id].ie[1]) & 0x00FF) + 2); if (le16_to_cpu(vs_param_set->header.len) > MWIFIEX_MAX_VSIE_LEN) { mwifiex_dbg(priv->adapter, ERROR, "Invalid param length!\n"); break; ... | CVE-2020-12653 | {'CWE-787'} | 6.4 | {'https://github.com/torvalds/linux/commit/b70261a288ea4d2f4ac7cd04be08a9f0f2de4f4d'} | nvd | An issue was found in Linux kernel before 5.5.4. The mwifiex_cmd_append_vsie_tlv() function in drivers/net/wireless/marvell/mwifiex/scan.c allows local users to gain privileges or cause a denial of service because of an incorrect memcpy and buffer overflow, aka CID-b70261a288ea. | 2020-05-05 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/b70261a288ea4d2f4ac7cd04be08a9f0f2de4f4d | b70261a288ea4d2f4ac7cd04be08a9f0f2de4f4d | SINGLE | ['b70261a288ea4d2f4ac7cd04be08a9f0f2de4f4d'] | {'3a9b153c5591548612c3955c9600a98150c81875'} | b70261a288ea4d2f4ac7cd04be08a9f0f2de4f4d | 1 | 01/02/2020, 02:39:27 | mwifiex: Fix possible buffer overflows in mwifiex_cmd_append_vsie_tlv()
mwifiex_cmd_append_vsie_tlv() 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 check befo... | Qing Xu | null | {'additions': 7, 'deletions': 0, 'total': 7} | [
{
"additions": 7,
"changes": 7,
"deletions": 0,
"patch": "@@ -2884,6 +2884,13 @@ mwifiex_cmd_append_vsie_tlv(struct mwifiex_private *priv,\n \t\t\tvs_param_set->header.len =\n \t\t\t\tcpu_to_le16((((u16) priv->vs_ie[id].ie[1])\n \t\t\t\t& 0x00FF) + 2);\n+\t\t\tif (le16_to_cpu(vs_param_set->header.le... | c | CWE-787 | [
"drivers/net/wireless/marvell/mwifiex/scan.c"
] | drivers/net/wireless/marvell/mwifiex/scan.c | 1 |
int mwifiex_ret_wmm_get_status(struct mwifiex_private *priv, "WMM Parameter Set Count: %d\n", wmm_param_ie->qos_info_bitmap & mask); memcpy((u8 *) &priv->curr_bss_params.bss_descriptor. wmm_ie, wmm_param_ie, wmm_param_ie->vend_hdr.len + 2); | int mwifiex_ret_wmm_get_status(struct mwifiex_private *priv, "WMM Parameter Set Count: %d\n", wmm_param_ie->qos_info_bitmap & mask); if (wmm_param_ie->vend_hdr.len + 2 > sizeof(struct ieee_types_wmm_parameter)) break; memcpy((u8 *) &priv->curr_bss_params.bss_descriptor. wmm_ie... | CVE-2020-12654 | {'CWE-787'} | 6.4 | {'https://github.com/torvalds/linux/commit/3a9b153c5591548612c3955c9600a98150c81875'} | nvd | An issue was found in Linux kernel before 5.5.4. mwifiex_ret_wmm_get_status() in drivers/net/wireless/marvell/mwifiex/wmm.c allows a remote AP to trigger a heap-based buffer overflow because of an incorrect memcpy, aka CID-3a9b153c5591. | 2020-05-05 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/3a9b153c5591548612c3955c9600a98150c81875 | 3a9b153c5591548612c3955c9600a98150c81875 | SINGLE | ['3a9b153c5591548612c3955c9600a98150c81875'] | {'65b1aae0d9d5962faccc06bdb8e91a2a0b09451c'} | 3a9b153c5591548612c3955c9600a98150c81875 | 1 | 01/02/2020, 02:39:26 | mwifiex: Fix possible buffer overflows in mwifiex_ret_wmm_get_status()
mwifiex_ret_wmm_get_status() calls memcpy() without checking the
destination size.Since the source is given from remote AP which
contains illegal wmm elements , this may trigger a heap buffer
overflow.
Fix it by putting the length check before call... | Qing Xu | null | {'additions': 4, 'deletions': 0, 'total': 4} | [
{
"additions": 4,
"changes": 4,
"deletions": 0,
"patch": "@@ -970,6 +970,10 @@ int mwifiex_ret_wmm_get_status(struct mwifiex_private *priv,\n \t\t\t\t \"WMM Parameter Set Count: %d\\n\",\n \t\t\t\t wmm_param_ie->qos_info_bitmap & mask);\n \n+\t\t\tif (wmm_param_ie->vend_hdr.len + 2 >\n+\t\t\t\... | c | CWE-787 | [
"drivers/net/wireless/marvell/mwifiex/wmm.c"
] | drivers/net/wireless/marvell/mwifiex/wmm.c | 1 |
static struct bfq_queue *bfq_init_rq(struct request *rq) return bfqq; } static void bfq_idle_slice_timer_body(struct bfq_queue *bfqq) { struct bfq_data *bfqd = bfqq->bfqd; enum bfqq_expiration reason; unsigned long flags; spin_lock_irqsave(&bfqd->lock, flags); bfq_clear_bfqq_wait_request(bfqq); if (bfqq != b... | static struct bfq_queue *bfq_init_rq(struct request *rq) return bfqq; } static void bfq_idle_slice_timer_body(struct bfq_data *bfqd, struct bfq_queue *bfqq) { enum bfqq_expiration reason; unsigned long flags; spin_lock_irqsave(&bfqd->lock, flags); /* * Considering that bfqq may be in race, we should firstly ... | CVE-2020-12657 | {'CWE-416'} | 6.4 | {'https://github.com/torvalds/linux/commit/2f95fa5c955d0a9987ffdc3a095e2f4e62c5f2a9'} | nvd | An issue was discovered in the Linux kernel before 5.6.5. There is a use-after-free in block/bfq-iosched.c related to bfq_idle_slice_timer_body. | 2020-05-05 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/2f95fa5c955d0a9987ffdc3a095e2f4e62c5f2a9 | 2f95fa5c955d0a9987ffdc3a095e2f4e62c5f2a9 | SINGLE | ['2f95fa5c955d0a9987ffdc3a095e2f4e62c5f2a9'] | {'78317c5d58e625e60d1eaded37283d14dfcd1489'} | 2f95fa5c955d0a9987ffdc3a095e2f4e62c5f2a9 | 1 | 03/19/2020, 11:18:13 | block, bfq: fix use-after-free in bfq_idle_slice_timer_body
In bfq_idle_slice_timer func, bfqq = bfqd->in_service_queue is
not in bfqd-lock critical section. The bfqq, which is not
equal to NULL in bfq_idle_slice_timer, may be freed after passing
to bfq_idle_slice_timer_body. So we will access the freed memory.
In ad... | Zhiqiang Liu | null | {'additions': 12, 'deletions': 4, 'total': 16} | [
{
"additions": 12,
"changes": 16,
"deletions": 4,
"patch": "@@ -6215,20 +6215,28 @@ static struct bfq_queue *bfq_init_rq(struct request *rq)\n \treturn bfqq;\n }\n \n-static void bfq_idle_slice_timer_body(struct bfq_queue *bfqq)\n+static void\n+bfq_idle_slice_timer_body(struct bfq_data *bfqd, struct... | c | CWE-416 | [
"block/bfq-iosched.c"
] | block/bfq-iosched.c | 1 |
static int xdp_umem_reg(struct xdp_umem *umem, struct xdp_umem_reg *mr) u32 chunk_size = mr->chunk_size, headroom = mr->headroom; unsigned int chunks, chunks_per_page; u64 addr = mr->addr, size = mr->len; int size_chk, err; if (chunk_size < XDP_UMEM_MIN_CHUNK_SIZE || chunk_size > PAGE_SIZE) { /* Strictly speak... | static int xdp_umem_reg(struct xdp_umem *umem, struct xdp_umem_reg *mr) u32 chunk_size = mr->chunk_size, headroom = mr->headroom; unsigned int chunks, chunks_per_page; u64 addr = mr->addr, size = mr->len; int err; if (chunk_size < XDP_UMEM_MIN_CHUNK_SIZE || chunk_size > PAGE_SIZE) { /* Strictly speaking we cou... | CVE-2020-12659 | {'CWE-787'} | 10 | {'https://github.com/torvalds/linux/commit/99e3a236dd43d06c65af0a2ef9cb44306aef6e02'} | nvd | An issue was discovered in the Linux kernel before 5.6.7. xdp_umem_reg in net/xdp/xdp_umem.c has an out-of-bounds write (by a user with the CAP_NET_ADMIN capability) because of a lack of headroom validation. | 2020-05-05 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/99e3a236dd43d06c65af0a2ef9cb44306aef6e02 | 99e3a236dd43d06c65af0a2ef9cb44306aef6e02 | SINGLE | ['99e3a236dd43d06c65af0a2ef9cb44306aef6e02'] | {'89f33dcadb349eb926a92633e2c5f61466afc596'} | 99e3a236dd43d06c65af0a2ef9cb44306aef6e02 | 1 | 04/14/2020, 07:35:15 | xsk: Add missing check on user supplied headroom size
Add a check that the headroom cannot be larger than the available
space in the chunk. In the current code, a malicious user can set the
headroom to a value larger than the chunk size minus the fixed XDP
headroom. That way packets with a length larger than the suppo... | Magnus Karlsson | null | {'additions': 2, 'deletions': 3, 'total': 5} | [
{
"additions": 2,
"changes": 5,
"deletions": 3,
"patch": "@@ -343,7 +343,7 @@ static int xdp_umem_reg(struct xdp_umem *umem, struct xdp_umem_reg *mr)\n \tu32 chunk_size = mr->chunk_size, headroom = mr->headroom;\n \tunsigned int chunks, chunks_per_page;\n \tu64 addr = mr->addr, size = mr->len;\n-\ti... | c | CWE-787 | [
"net/xdp/xdp_umem.c"
] | net/xdp/xdp_umem.c | 1 |
// Load the menu manager (only if not already done) $file_menu = $conf->standard_menu; if (GETPOST('menu')) $file_menu = GETPOST('menu'); // example: menu=eldy_menu.php if (!class_exists('MenuManager')) { $menufound = 0; | // Load the menu manager (only if not already done) $file_menu = $conf->standard_menu; if (GETPOST('menu', 'aZ09')) $file_menu = GETPOST('menu', 'aZ09'); // example: menu=eldy_menu.php if (!class_exists('MenuManager')) { $menufound = 0; | CVE-2020-12669 | {'CWE-20'} | 6.4 | {'https://github.com/Dolibarr/dolibarr/commit/c1b530f58f6f01081ddbeaa2092ef308c3ec2727'} | nvd | core/get_menudiv.php in Dolibarr before 11.0.4 allows remote authenticated attackers to bypass intended access restrictions via a non-alphanumeric menu parameter. | 2020-05-06 | 1 | https://github.com/Dolibarr/dolibarr | https://github.com/Dolibarr/dolibarr/commit/c1b530f58f6f01081ddbeaa2092ef308c3ec2727 | c1b530f58f6f01081ddbeaa2092ef308c3ec2727 | SINGLE | ['c1b530f58f6f01081ddbeaa2092ef308c3ec2727'] | {'1c7873b4f46f236c7cfed4fb280a897cb582e991', '625c7216a986d309f4abbe147e9f8a8eafe85d20'} | c1b530f58f6f01081ddbeaa2092ef308c3ec2727 | 1 | 05/01/2020, 13:56:01 | Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
htdocs/core/get_menudiv.php | Laurent Destailleur | {'com_1': {'author': 'eldy', 'datetime': '05/08/2020, 17:46:57', 'body': 'Credit for reporting: Julian Horoszkiewicz (ATOS CERT)'}, 'com_2': {'author': 'eldy', 'datetime': '06/19/2020, 09:56:30', 'body': 'FIX CVE-2020-12669'}} | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -185,7 +185,7 @@\n \n // Load the menu manager (only if not already done)\n $file_menu = $conf->standard_menu;\n-if (GETPOST('menu')) $file_menu = GETPOST('menu'); // example: menu=eldy_menu.php\n+if (GETPOST('menu', 'aZ09')) $file_menu = ... | php | CWE-20 | [
"htdocs/core/get_menudiv.php"
] | htdocs/core/get_menudiv.php | 1 |
<?php if ( ! empty( $_POST['url'] ) ) $url = filter_var( $_POST['url'], FILTER_SANITIZE_URL ); else $url = ''; | <?php if ( ! empty( $_POST['url'] ) ) if (substr($_POST['url'], 0, 4) == "http") { $url = filter_var( $_POST['url'], FILTER_SANITIZE_URL ); } else $url = ''; | CVE-2020-12742 | {'CWE-20'} | 2.9 | {'https://github.com/iubenda/iubenda-cookie-class/commit/545e0586320ae6f16204ba548cf533ef75dc2fbd'} | nvd | The iubenda-cookie-law-solution plugin before 2.3.5 for WordPress does not restrict URL sanitization to http protocols. | 2020-05-13 | 1 | https://github.com/iubenda/iubenda-cookie-class | https://github.com/iubenda/iubenda-cookie-class/commit/545e0586320ae6f16204ba548cf533ef75dc2fbd | 545e0586320ae6f16204ba548cf533ef75dc2fbd | SINGLE | ['545e0586320ae6f16204ba548cf533ef75dc2fbd'] | {'01042e0996c9c403793dfb67ef6b6687730a19d0'} | 545e0586320ae6f16204ba548cf533ef75dc2fbd | 1 | 05/12/2020, 09:35:16 | fix pecl security bug onto the test script | Daniel Marzini | {'com_1': {'author': 'danielmarzini', 'datetime': '05/12/2020, 12:52:49', 'body': 'Credit for reporting: Julian Horoszkiewicz (ATOS CERT)'}} | {'additions': 3, 'deletions': 1, 'total': 4} | [
{
"additions": 3,
"changes": 4,
"deletions": 1,
"patch": "@@ -49,7 +49,9 @@\n \n \t\t\t\t<?php\n \t\t\t\tif ( ! empty( $_POST['url'] ) )\n-\t\t\t\t\t$url = filter_var( $_POST['url'], FILTER_SANITIZE_URL );\n+ if (substr($_POST['url'], 0, 4) == \"http\") {\n+\t\t\t\t\t $url = filter_var( $... | php | CWE-20 | [
"test.php"
] | test.php | 1 |
export default function mjml2html(mjml, options = {}) { keepComments, minify = false, minifyOptions = {}, juiceOptions = {}, juicePreserveTags = null, skeleton = defaultSkeleton, export default function mjml2html(mjml, options = {}) { filePath, actualPath, preprocessors, }... | export default function mjml2html(mjml, options = {}) { keepComments, minify = false, minifyOptions = {}, ignoreIncludes = false, juiceOptions = {}, juicePreserveTags = null, skeleton = defaultSkeleton, export default function mjml2html(mjml, options = {}) { filePath, actualPath... | CVE-2020-12827 | {'CWE-22'} | 4.9 | {'https://github.com/mjmlio/mjml/commit/30e29ed2cdaec8684d60a6d12ea07b611c765a12'} | nvd | MJML prior to 4.6.3 contains a path traversal vulnerability when processing the mj-include directive within an MJML document. | 2020-06-17 | 1 | https://github.com/mjmlio/mjml | https://github.com/mjmlio/mjml/commit/30e29ed2cdaec8684d60a6d12ea07b611c765a12 | 30e29ed2cdaec8684d60a6d12ea07b611c765a12 | SINGLE | ['30e29ed2cdaec8684d60a6d12ea07b611c765a12'] | {'21034a7187f2bda4b0d66e7a1c63314c88dce71a'} | 30e29ed2cdaec8684d60a6d12ea07b611c765a12 | 1 | 05/05/2020, 15:04:29 | expose ignoreIncludes on mjml2html | KMcB | null | {'additions': 2, 'deletions': 0, 'total': 2} | [
{
"additions": 2,
"changes": 2,
"deletions": 0,
"patch": "@@ -82,6 +82,7 @@ export default function mjml2html(mjml, options = {}) {\n keepComments,\n minify = false,\n minifyOptions = {},\n+ ignoreIncludes = false,\n juiceOptions = {},\n juicePreserveTags = null,\n skeleto... | js | CWE-22 | [
"packages/mjml-core/src/index.js"
] | packages/mjml-core/src/index.js | 1 |
static uint32_t sn_coap_parser_options_parse_uint(uint8_t **packet_data_pptr, ui return value; } /** * \brief Performs data packet pointer boundary check static int8_t parse_ext_option(uint16_t *dst, uint8_t **packet_data_pptr, uint8_ return -1; } else { option_number... | static uint32_t sn_coap_parser_options_parse_uint(uint8_t **packet_data_pptr, ui return value; } /** * \brief Add u16 integers with overflow detection * * \param a first term of addition * \param b second term of addion * \param result pointer to the result variable * * \return ... | CVE-2020-12887 | {'CWE-190', 'CWE-401'} | 2.9 | {'https://github.com/mjurczak/mbed-coap/commit/4647a68e364401e81dbd370728127d844f221d93'} | nvd | Memory leaks were discovered in the CoAP library in Arm Mbed OS 5.15.3 when using the Arm mbed-coap library 5.1.5. The CoAP parser is responsible for parsing received CoAP packets. The function sn_coap_parser_options_parse() parses the CoAP option number field of all options present in the input packet. Each option num... | 2020-06-18 | 1 | https://github.com/mjurczak/mbed-coap | https://github.com/mjurczak/mbed-coap/commit/4647a68e364401e81dbd370728127d844f221d93 | 4647a68e364401e81dbd370728127d844f221d93 | SINGLE | ['4647a68e364401e81dbd370728127d844f221d93'] | {'14aff16e4f2bee871caeeae5e773ef265a9afaf2'} | 4647a68e364401e81dbd370728127d844f221d93 | 1 | 05/11/2020, 20:46:09 | Implemented measures to prevent memory leaks in sn_coap_parser_options_parse().
Added a helper uint16_t addition function with overflow detection. The function is used when calculating the extended length and option delta. The overlow detection is needed to avoid wrap-around of option number or length.
Additional chec... | Maciej Jurczak | null | {'additions': 60, 'deletions': 11, 'total': 71} | [
{
"additions": 60,
"changes": 71,
"deletions": 11,
"patch": "@@ -260,6 +260,29 @@ static uint32_t sn_coap_parser_options_parse_uint(uint8_t **packet_data_pptr, ui\n return value;\n }\n \n+/**\n+ * \\brief Add u16 integers with overflow detection\n+ *\n+ * \\param a first term of addit... | c | CWE-401 | [
"source/sn_coap_parser.c"
] | source/sn_coap_parser.c | 1 |
static uint32_t sn_coap_parser_options_parse_uint(uint8_t **packet_data_pptr, ui return value; } /** * \brief Performs data packet pointer boundary check static int8_t parse_ext_option(uint16_t *dst, uint8_t **packet_data_pptr, uint8_ return -1; } else { option_number... | static uint32_t sn_coap_parser_options_parse_uint(uint8_t **packet_data_pptr, ui return value; } /** * \brief Add u16 integers with overflow detection * * \param a first term of addition * \param b second term of addion * \param result pointer to the result variable * * \return ... | CVE-2020-12887 | {'CWE-190', 'CWE-401'} | 2.9 | {'https://github.com/mjurczak/mbed-coap/commit/4647a68e364401e81dbd370728127d844f221d93'} | nvd | Memory leaks were discovered in the CoAP library in Arm Mbed OS 5.15.3 when using the Arm mbed-coap library 5.1.5. The CoAP parser is responsible for parsing received CoAP packets. The function sn_coap_parser_options_parse() parses the CoAP option number field of all options present in the input packet. Each option num... | 2020-06-18 | 1 | https://github.com/mjurczak/mbed-coap | https://github.com/mjurczak/mbed-coap/commit/4647a68e364401e81dbd370728127d844f221d93 | 4647a68e364401e81dbd370728127d844f221d93 | SINGLE | ['4647a68e364401e81dbd370728127d844f221d93'] | {'14aff16e4f2bee871caeeae5e773ef265a9afaf2'} | 4647a68e364401e81dbd370728127d844f221d93 | 1 | 05/11/2020, 20:46:09 | Implemented measures to prevent memory leaks in sn_coap_parser_options_parse().
Added a helper uint16_t addition function with overflow detection. The function is used when calculating the extended length and option delta. The overlow detection is needed to avoid wrap-around of option number or length.
Additional chec... | Maciej Jurczak | null | {'additions': 60, 'deletions': 11, 'total': 71} | [
{
"additions": 60,
"changes": 71,
"deletions": 11,
"patch": "@@ -260,6 +260,29 @@ static uint32_t sn_coap_parser_options_parse_uint(uint8_t **packet_data_pptr, ui\n return value;\n }\n \n+/**\n+ * \\brief Add u16 integers with overflow detection\n+ *\n+ * \\param a first term of addit... | c | CWE-190 | [
"source/sn_coap_parser.c"
] | source/sn_coap_parser.c | 1 |
scanner_scan_all (parser_context_t *context_p, /**< context */ } PARSER_CATCH { /* Ignore the errors thrown by the lexer. */ if (context_p->error != PARSER_ERR_OUT_OF_MEMORY) { context_p->error = PARSER_ERR_NO_ERROR; } #if ENABLED (JERRY_ES2015) while (scanner_context.active_binding_li... | scanner_scan_all (parser_context_t *context_p, /**< context */ } PARSER_CATCH { #if ENABLED (JERRY_ES2015) while (scanner_context.active_binding_list_p != NULL) { scanner_pop_binding_list (&scanner_context); } #endif /* ENABLED (JERRY_ES2015) */ if (JERRY_UNLIKELY (context_p->error != PARS... | CVE-2020-13649 | {'CWE-754', 'CWE-476', 'CWE-617'} | 2.9 | {'https://github.com/jerryscript-project/jerryscript/commit/69f8e78c2f8d562bd6d8002b5488f1662ac30d24'} | nvd | parser/js/js-scanner.c in JerryScript 2.2.0 mishandles errors during certain out-of-memory conditions, as demonstrated by a scanner_reverse_info_list NULL pointer dereference and a scanner_scan_all assertion failure. | 2020-05-28 | 1 | https://github.com/jerryscript-project/jerryscript | https://github.com/jerryscript-project/jerryscript/commit/69f8e78c2f8d562bd6d8002b5488f1662ac30d24 | 69f8e78c2f8d562bd6d8002b5488f1662ac30d24 | SINGLE | ['69f8e78c2f8d562bd6d8002b5488f1662ac30d24'] | {'8f76a1f38223cce4cf64064fc1b67670e1f4b806'} | 69f8e78c2f8d562bd6d8002b5488f1662ac30d24 | 1 | 05/27/2020, 12:40:43 | Fix error handling in scanner when in case of OOM (#3793)
This patch fixes #3786 and fixes #3788.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu | Robert Fancsik | null | {'additions': 30, 'deletions': 26, 'total': 56} | [
{
"additions": 30,
"changes": 56,
"deletions": 26,
"patch": "@@ -3159,42 +3159,48 @@ scanner_scan_all (parser_context_t *context_p, /**< context */\n }\n PARSER_CATCH\n {\n- /* Ignore the errors thrown by the lexer. */\n- if (context_p->error != PARSER_ERR_OUT_OF_MEMORY)\n- {\n- ... | c | CWE-476 | [
"jerry-core/parser/js/js-scanner.c"
] | jerry-core/parser/js/js-scanner.c | 1 |
int rom_copy(uint8_t *dest, hwaddr addr, size_t size) if (rom->addr + rom->romsize < addr) { continue; } if (rom->addr > end) { break; } | int rom_copy(uint8_t *dest, hwaddr addr, size_t size) if (rom->addr + rom->romsize < addr) { continue; } if (rom->addr > end || rom->addr < addr) { break; } | CVE-2020-13765 | {'CWE-787'} | 6.4 | {'https://github.com/qemu/qemu/commit/4f1c6cb2f9afafda05eab150fd2bd284edce6676'} | nvd | rom_copy() in hw/core/loader.c in QEMU 4.0 and 4.1.0 does not validate the relationship between two addresses, which allows attackers to trigger an invalid memory copy operation. | 2020-06-04 | 1 | https://github.com/qemu/qemu | https://github.com/qemu/qemu/commit/4f1c6cb2f9afafda05eab150fd2bd284edce6676 | 4f1c6cb2f9afafda05eab150fd2bd284edce6676 | SINGLE | ['4f1c6cb2f9afafda05eab150fd2bd284edce6676'] | {'a8f24b6bdf52abbe5d13495c7470484e71343c7f'} | 4f1c6cb2f9afafda05eab150fd2bd284edce6676 | 1 | 09/25/2019, 12:16:43 | hw/core/loader: Fix possible crash in rom_copy()
Both, "rom->addr" and "addr" are derived from the binary image
that can be loaded with the "-kernel" paramer. The code in
rom_copy() then calculates:
d = dest + (rom->addr - addr);
and uses "d" as destination in a memcpy() some lines later. Now with
bad kernel ima... | Thomas Huth | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -1240,7 +1240,7 @@ int rom_copy(uint8_t *dest, hwaddr addr, size_t size)\n if (rom->addr + rom->romsize < addr) {\n continue;\n }\n- if (rom->addr > end) {\n+ if (rom->addr > end || rom->addr < add... | c | CWE-787 | [
"hw/core/loader.c"
] | hw/core/loader.c | 1 |
static int parse_playlist(HLSContext *c, const char *url, ret = AVERROR(ENOMEM); goto fail; } seg->duration = duration; seg->key_type = key_type; if (has_iv) { memcpy(seg->iv, iv, sizeof(iv)); ... | static int parse_playlist(HLSContext *c, const char *url, ret = AVERROR(ENOMEM); goto fail; } if (has_iv) { memcpy(seg->iv, iv, sizeof(iv)); } else { static int parse_playlist(HLSContext *c, const char *url, ... | CVE-2020-13904 | {'CWE-416'} | 2.9 | {'https://github.com/FFmpeg/FFmpeg/commit/6959358683c7533f586c07a766acc5fe9544d8b2'} | nvd | FFmpeg 2.8 and 4.2.3 has a use-after-free via a crafted EXTINF duration in an m3u8 file because parse_playlist in libavformat/hls.c frees a pointer, and later that pointer is accessed in av_probe_input_format3 in libavformat/format.c. | 2020-06-07 | 1 | https://github.com/FFmpeg/FFmpeg | https://github.com/FFmpeg/FFmpeg/commit/6959358683c7533f586c07a766acc5fe9544d8b2 | 6959358683c7533f586c07a766acc5fe9544d8b2 | SINGLE | ['6959358683c7533f586c07a766acc5fe9544d8b2'] | {'449bdf05f8843c675e96daa04ecf08f1a013fbd9'} | 6959358683c7533f586c07a766acc5fe9544d8b2 | 1 | 05/29/2020, 03:39:05 | avformat/hls: check segment duration value of EXTINF
fix ticket: 8673
set the default EXTINF duration to 1ms if duration is smaller than 1ms
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
(cherry picked from commit 9dfb19baeb86a8bb02c53a441682c6e9a6e104cc) | Steven Liu | null | {'additions': 5, 'deletions': 2, 'total': 7} | [
{
"additions": 5,
"changes": 7,
"deletions": 2,
"patch": "@@ -806,8 +806,6 @@ static int parse_playlist(HLSContext *c, const char *url,\n ret = AVERROR(ENOMEM);\n goto fail;\n }\n- seg->duration = duration;\n- seg-... | c | CWE-416 | [
"libavformat/hls.c"
] | libavformat/hls.c | 1 |
typedef struct Header { } Header; static int getnum (const char **fmt, int df) { if (!isdigit(**fmt)) /* no number? */ return df; /* return default value */ else { int a = 0; do { a = a*10 + *((*fmt)++) - '0'; } while (isdigit(**fmt)); return a; static size_t optsize (lua_State *L, ch... | typedef struct Header { } Header; static int getnum (lua_State *L, const char **fmt, int df) { if (!isdigit(**fmt)) /* no number? */ return df; /* return default value */ else { int a = 0; do { if (a > (INT_MAX / 10) || a * 10 > (INT_MAX - (**fmt - '0'))) luaL_error(L, "integral size ... | CVE-2020-14147 | {'CWE-190', 'CWE-787'} | 2.9 | {'https://github.com/antirez/redis/commit/ef764dde1cca2f25d00686673d1bc89448819571'} | nvd | An integer overflow in the getnum function in lua_struct.c in Redis before 6.0.3 allows context-dependent attackers with permission to run Lua code in a Redis session to cause a denial of service (memory corruption and application crash) or possibly bypass intended sandbox restrictions via a large number, which trigger... | 2020-06-15 | 1 | https://github.com/antirez/redis | https://github.com/antirez/redis/commit/ef764dde1cca2f25d00686673d1bc89448819571 | ef764dde1cca2f25d00686673d1bc89448819571 | SINGLE | ['ef764dde1cca2f25d00686673d1bc89448819571'] | {'9c00bdd86e8b5e8e863c056cf7c1eb69a00fdc51'} | ef764dde1cca2f25d00686673d1bc89448819571 | 1 | 02/10/2020, 07:32:46 | [FIX] revisit CVE-2015-8080 vulnerability | Seunghoon Woo | null | {'additions': 6, 'deletions': 4, 'total': 10} | [
{
"additions": 6,
"changes": 10,
"deletions": 4,
"patch": "@@ -89,12 +89,14 @@ typedef struct Header {\n } Header;\n \n \n-static int getnum (const char **fmt, int df) {\n+static int getnum (lua_State *L, const char **fmt, int df) {\n if (!isdigit(**fmt)) /* no number? */\n return df; /* ret... | c | CWE-787 | [
"deps/lua/src/lua_struct.c"
] | deps/lua/src/lua_struct.c | 1 |
typedef struct Header { } Header; static int getnum (const char **fmt, int df) { if (!isdigit(**fmt)) /* no number? */ return df; /* return default value */ else { int a = 0; do { a = a*10 + *((*fmt)++) - '0'; } while (isdigit(**fmt)); return a; static size_t optsize (lua_State *L, ch... | typedef struct Header { } Header; static int getnum (lua_State *L, const char **fmt, int df) { if (!isdigit(**fmt)) /* no number? */ return df; /* return default value */ else { int a = 0; do { if (a > (INT_MAX / 10) || a * 10 > (INT_MAX - (**fmt - '0'))) luaL_error(L, "integral size ... | CVE-2020-14147 | {'CWE-190', 'CWE-787'} | 2.9 | {'https://github.com/antirez/redis/commit/ef764dde1cca2f25d00686673d1bc89448819571'} | nvd | An integer overflow in the getnum function in lua_struct.c in Redis before 6.0.3 allows context-dependent attackers with permission to run Lua code in a Redis session to cause a denial of service (memory corruption and application crash) or possibly bypass intended sandbox restrictions via a large number, which trigger... | 2020-06-15 | 1 | https://github.com/antirez/redis | https://github.com/antirez/redis/commit/ef764dde1cca2f25d00686673d1bc89448819571 | ef764dde1cca2f25d00686673d1bc89448819571 | SINGLE | ['ef764dde1cca2f25d00686673d1bc89448819571'] | {'9c00bdd86e8b5e8e863c056cf7c1eb69a00fdc51'} | ef764dde1cca2f25d00686673d1bc89448819571 | 1 | 02/10/2020, 07:32:46 | [FIX] revisit CVE-2015-8080 vulnerability | Seunghoon Woo | null | {'additions': 6, 'deletions': 4, 'total': 10} | [
{
"additions": 6,
"changes": 10,
"deletions": 4,
"patch": "@@ -89,12 +89,14 @@ typedef struct Header {\n } Header;\n \n \n-static int getnum (const char **fmt, int df) {\n+static int getnum (lua_State *L, const char **fmt, int df) {\n if (!isdigit(**fmt)) /* no number? */\n return df; /* ret... | c | CWE-190 | [
"deps/lua/src/lua_struct.c"
] | deps/lua/src/lua_struct.c | 1 |
ecma_op_internal_buffer_append (ecma_collection_t *container_p, /**< internal co { JERRY_ASSERT (container_p != NULL); ecma_collection_push_back (container_p, ecma_copy_value_if_not_object (key_arg)); if (lit_id == LIT_MAGIC_STRING_WEAKMAP_UL || lit_id == LIT_MAGIC_STRING_MAP_UL) { ecma_collection_push_b... | ecma_op_internal_buffer_append (ecma_collection_t *container_p, /**< internal co { JERRY_ASSERT (container_p != NULL); if (lit_id == LIT_MAGIC_STRING_WEAKMAP_UL || lit_id == LIT_MAGIC_STRING_MAP_UL) { ecma_value_t values[] = { ecma_copy_value_if_not_object (key_arg), ecma_copy_value_if_not_object (value_arg... | CVE-2020-14163 | {'CWE-125'} | 2.9 | {'https://github.com/jerryscript-project/jerryscript/commit/c2b662170245a16f46ce02eae68815c325d99821'} | nvd | An issue was discovered in ecma/operations/ecma-container-object.c in JerryScript 2.2.0. Operations with key/value pairs did not consider the case where garbage collection is triggered after the key operation but before the value operation, as demonstrated by improper read access to memory in ecma_gc_set_object_visited... | 2020-06-15 | 1 | https://github.com/jerryscript-project/jerryscript | https://github.com/jerryscript-project/jerryscript/commit/c2b662170245a16f46ce02eae68815c325d99821 | c2b662170245a16f46ce02eae68815c325d99821 | SINGLE | ['c2b662170245a16f46ce02eae68815c325d99821'] | {'7a20150ae747742c178e7d61bb4b3c71476925e2'} | c2b662170245a16f46ce02eae68815c325d99821 | 1 | 05/28/2020, 05:55:16 | Fix adding entries to the internal buffer of a Map object (#3805)
When appending the key/value pair separately, garbage collection could be
triggered before the value is added, which could cause problems during
marking. This patch changes insertion to add both values at the same
time, which prevents partial entries... | Dániel Bátyai | null | {'additions': 6, 'deletions': 3, 'total': 9} | [
{
"additions": 6,
"changes": 9,
"deletions": 3,
"patch": "@@ -64,11 +64,14 @@ ecma_op_internal_buffer_append (ecma_collection_t *container_p, /**< internal co\n {\n JERRY_ASSERT (container_p != NULL);\n \n- ecma_collection_push_back (container_p, ecma_copy_value_if_not_object (key_arg));\n-\n i... | c | CWE-125 | [
"jerry-core/ecma/operations/ecma-container-object.c"
] | jerry-core/ecma/operations/ecma-container-object.c | 1 |
static void host_callback(void *arg, int status, int timeouts, else if (status == ARES_EDESTRUCTION) { end_hquery(hquery, status); } if (!hquery->remaining) | static void host_callback(void *arg, int status, int timeouts, else if (status == ARES_EDESTRUCTION) { end_hquery(hquery, status); return; } if (!hquery->remaining) | CVE-2020-14354 | {'CWE-416', 'CWE-415'} | 2.9 | {'https://github.com/c-ares/c-ares/commit/1cc7e83c3bdfaafbc5919c95025592d8de3a170e'} | nvd | A possible use-after-free and double-free in c-ares lib version 1.16.0 if ares_destroy() is called prior to ares_getaddrinfo() completing. This flaw possibly allows an attacker to crash the service that uses c-ares lib. The highest threat from this vulnerability is to this service availability. | 2021-05-13 | 1 | https://github.com/c-ares/c-ares | https://github.com/c-ares/c-ares/commit/1cc7e83c3bdfaafbc5919c95025592d8de3a170e | 1cc7e83c3bdfaafbc5919c95025592d8de3a170e | SINGLE | ['1cc7e83c3bdfaafbc5919c95025592d8de3a170e'] | {'1c73eccfdcb63ef2f246dfdb13af765f6c32bfba'} | 1cc7e83c3bdfaafbc5919c95025592d8de3a170e | 1 | 05/07/2020, 11:02:31 | Prevent possible double-free in ares_getaddrinfo() if ares_destroy() is called
In the event that ares_destroy() is called prior to ares_getaddrinfo() completing,
it would result in an invalid read and double-free due to calling end_hquery() twice.
Reported By: Jann Horn @ Google Project Zero | Brad House | null | {'additions': 1, 'deletions': 0, 'total': 1} | [
{
"additions": 1,
"changes": 1,
"deletions": 0,
"patch": "@@ -548,6 +548,7 @@ static void host_callback(void *arg, int status, int timeouts,\n else if (status == ARES_EDESTRUCTION)\n {\n end_hquery(hquery, status);\n+ return;\n }\n \n if (!hquery->remaining)",
"path": "are... | c | CWE-415 | [
"ares_getaddrinfo.c"
] | ares_getaddrinfo.c | 1 |
static void host_callback(void *arg, int status, int timeouts, else if (status == ARES_EDESTRUCTION) { end_hquery(hquery, status); } if (!hquery->remaining) | static void host_callback(void *arg, int status, int timeouts, else if (status == ARES_EDESTRUCTION) { end_hquery(hquery, status); return; } if (!hquery->remaining) | CVE-2020-14354 | {'CWE-416', 'CWE-415'} | 2.9 | {'https://github.com/c-ares/c-ares/commit/1cc7e83c3bdfaafbc5919c95025592d8de3a170e'} | nvd | A possible use-after-free and double-free in c-ares lib version 1.16.0 if ares_destroy() is called prior to ares_getaddrinfo() completing. This flaw possibly allows an attacker to crash the service that uses c-ares lib. The highest threat from this vulnerability is to this service availability. | 2021-05-13 | 1 | https://github.com/c-ares/c-ares | https://github.com/c-ares/c-ares/commit/1cc7e83c3bdfaafbc5919c95025592d8de3a170e | 1cc7e83c3bdfaafbc5919c95025592d8de3a170e | SINGLE | ['1cc7e83c3bdfaafbc5919c95025592d8de3a170e'] | {'1c73eccfdcb63ef2f246dfdb13af765f6c32bfba'} | 1cc7e83c3bdfaafbc5919c95025592d8de3a170e | 1 | 05/07/2020, 11:02:31 | Prevent possible double-free in ares_getaddrinfo() if ares_destroy() is called
In the event that ares_destroy() is called prior to ares_getaddrinfo() completing,
it would result in an invalid read and double-free due to calling end_hquery() twice.
Reported By: Jann Horn @ Google Project Zero | Brad House | null | {'additions': 1, 'deletions': 0, 'total': 1} | [
{
"additions": 1,
"changes": 1,
"deletions": 0,
"patch": "@@ -548,6 +548,7 @@ static void host_callback(void *arg, int status, int timeouts,\n else if (status == ARES_EDESTRUCTION)\n {\n end_hquery(hquery, status);\n+ return;\n }\n \n if (!hquery->remaining)",
"path": "are... | c | CWE-416 | [
"ares_getaddrinfo.c"
] | ares_getaddrinfo.c | 1 |
open_ssl_connection (rfbClient *client, int sockfd, rfbBool anonTLS, rfbCredenti SSL *ssl = NULL; int n, finished = 0; X509_VERIFY_PARAM *param; uint8_t verify_crls = cred->x509Credential.x509CrlVerifyMode; if (!(ssl_ctx = SSL_CTX_new(SSLv23_client_method()))) { open_ssl_connection (rfbClient *client, int... | open_ssl_connection (rfbClient *client, int sockfd, rfbBool anonTLS, rfbCredenti SSL *ssl = NULL; int n, finished = 0; X509_VERIFY_PARAM *param; uint8_t verify_crls; if (!(ssl_ctx = SSL_CTX_new(SSLv23_client_method()))) { open_ssl_connection (rfbClient *client, int sockfd, rfbBool anonTLS, rfbCredenti /... | CVE-2020-14396 | {'CWE-476'} | 2.9 | {'https://github.com/LibVNC/libvncserver/commit/33441d90a506d5f3ae9388f2752901227e430553'} | nvd | An issue was discovered in LibVNCServer before 0.9.13. libvncclient/tls_openssl.c has a NULL pointer dereference. | 2020-06-17 | 1 | https://github.com/LibVNC/libvncserver | https://github.com/LibVNC/libvncserver/commit/33441d90a506d5f3ae9388f2752901227e430553 | 33441d90a506d5f3ae9388f2752901227e430553 | SINGLE | ['33441d90a506d5f3ae9388f2752901227e430553'] | {'49880e33ee430d50804f46c307bcadce5b3e3be2'} | 33441d90a506d5f3ae9388f2752901227e430553 | 1 | 03/06/2020, 16:37:57 | libvncclient/tls_openssl: do not deref a NULL pointer
Happens in anonTLS mode where cred is NULL.
re #347 | Christian Beier | null | {'additions': 2, 'deletions': 1, 'total': 3} | [
{
"additions": 2,
"changes": 3,
"deletions": 1,
"patch": "@@ -268,7 +268,7 @@ open_ssl_connection (rfbClient *client, int sockfd, rfbBool anonTLS, rfbCredenti\n SSL *ssl = NULL;\n int n, finished = 0;\n X509_VERIFY_PARAM *param;\n- uint8_t verify_crls = cred->x509Credential.x509CrlVerifyMode;... | c | CWE-476 | [
"libvncclient/tls_openssl.c"
] | libvncclient/tls_openssl.c | 1 |
void rfbScaledScreenUpdateRect(rfbScreenInfoPtr screen, rfbScreenInfoPtr ptr, in default: /* fixme: endianness problem? */ for (z = 0; z < bytesPerPixel; z++) pixel_value += (srcptr2[z] << (8 * z)); break; } /* | void rfbScaledScreenUpdateRect(rfbScreenInfoPtr screen, rfbScreenInfoPtr ptr, in default: /* fixme: endianness problem? */ for (z = 0; z < bytesPerPixel; z++) pixel_value += ((unsigned long)srcptr2[z] << (8 * z)); break; } ... | CVE-2020-14401 | {'CWE-190'} | 4.9 | {'https://github.com/LibVNC/libvncserver/commit/a6788d1da719ae006605b78d22f5a9f170b423af'} | nvd | An issue was discovered in LibVNCServer before 0.9.13. libvncserver/scale.c has a pixel_value integer overflow. | 2020-06-17 | 1 | https://github.com/LibVNC/libvncserver | https://github.com/LibVNC/libvncserver/commit/a6788d1da719ae006605b78d22f5a9f170b423af | a6788d1da719ae006605b78d22f5a9f170b423af | SINGLE | ['a6788d1da719ae006605b78d22f5a9f170b423af'] | {'67944bf767960c7fa476bdaf144f160f5f8dc387'} | a6788d1da719ae006605b78d22f5a9f170b423af | 1 | 05/27/2020, 10:18:44 | libvncserver: scale: cast to 64 bit before shifting
Since pixel_value is 64 bit the data type of the shift operand should
be 64 bit too to prevent integer overflows. | Tobias Junghans | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -210,7 +210,7 @@ void rfbScaledScreenUpdateRect(rfbScreenInfoPtr screen, rfbScreenInfoPtr ptr, in\n default:\n /* fixme: endianness problem? */\n for (z = 0; z < bytesPerPixel; z++)\n- ... | c | CWE-190 | [
"libvncserver/scale.c"
] | libvncserver/scale.c | 1 |
} else { $langs->load("error"); $langs->load("other"); if (GETPOST('transphrase', 'alphanohtml')) print GETPOST('transphrase', 'alphanohtml'); if (GETPOST('transkey', 'alphanohtml')) print $langs->trans(GETPOST('transkey', 'alphanohtml')); } | } else { $langs->loadLangs(array("error", "other")); if (GETPOST('transphrase', 'alphanohtml')) print dol_escape_htmltag(GETPOST('transphrase', 'alphanohtml')); elseif (GETPOST('transkey', 'alphanohtml')) print dol_escape_htmltag($langs->trans(GETPOST('transkey', 'alphanohtml'))); } | CVE-2020-14475 | {'CWE-79'} | 2.9 | {'https://github.com/Dolibarr/dolibarr/commit/22ca5e067189bffe8066df26df923a386f044c08'} | nvd | A reflected cross-site scripting (XSS) vulnerability in Dolibarr 11.0.3 allows remote attackers to inject arbitrary web script or HTML into public/notice.php (related to transphrase and transkey). | 2020-06-19 | 1 | https://github.com/Dolibarr/dolibarr | https://github.com/Dolibarr/dolibarr/commit/22ca5e067189bffe8066df26df923a386f044c08 | 22ca5e067189bffe8066df26df923a386f044c08 | SINGLE | ['22ca5e067189bffe8066df26df923a386f044c08'] | {'de5a2d738bc8e5a68a5fcbc0e283842005d6647c'} | 22ca5e067189bffe8066df26df923a386f044c08 | 1 | 06/18/2020, 22:39:27 | Fix XSS reported by C. Weiler <sak1.s3curity@gmail.com> in notice.php | Laurent Destailleur | null | {'additions': 3, 'deletions': 4, 'total': 7} | [
{
"additions": 3,
"changes": 7,
"deletions": 4,
"patch": "@@ -41,9 +41,8 @@\n }\n else\n {\n- $langs->load(\"error\");\n- $langs->load(\"other\");\n+ $langs->loadLangs(array(\"error\", \"other\"));\n \n- if (GETPOST('transphrase', 'alphanohtml')) print GETPOST('transphrase', 'alphanohtml... | php | CWE-79 | [
"htdocs/public/notice.php"
] | htdocs/public/notice.php | 1 |
public function get_mib_oid($file) { $champs = array('SNMP_MIB_DIRECTORY' => 'SNMP_MIB_DIRECTORY'); $values = look_config_default_values($champs); $cmd = "snmptranslate -Tz -m ".$values['tvalue']['SNMP_MIB_DIRECTORY']."/".$file; $result_cmd = shell_exec($cmd); $result_cmd = preg... | public function get_mib_oid($file) { $champs = array('SNMP_MIB_DIRECTORY' => 'SNMP_MIB_DIRECTORY'); $values = look_config_default_values($champs); $cmd = "snmptranslate -Tz -m ".$values['tvalue']['SNMP_MIB_DIRECTORY']."/".$file; $result_cmd = shell_exec(escapeshellcmd($cmd)); $r... | CVE-2020-14947 | {'CWE-78'} | 6.4 | {'https://github.com/OCSInventory-NG/OCSInventory-ocsreports/commit/da72e0fddaeceee44fbbd7241e07e5d53d1eee64'} | nvd | OCS Inventory NG 2.7 allows Remote Command Execution via shell metacharacters to require/commandLine/CommandLine.php because mib_file in plugins/main_sections/ms_config/ms_snmp_config.php is mishandled in get_mib_oid. | 2020-06-30 | 1 | https://github.com/OCSInventory-NG/OCSInventory-ocsreports | https://github.com/OCSInventory-NG/OCSInventory-ocsreports/commit/da72e0fddaeceee44fbbd7241e07e5d53d1eee64 | da72e0fddaeceee44fbbd7241e07e5d53d1eee64 | SINGLE | ['da72e0fddaeceee44fbbd7241e07e5d53d1eee64'] | {'c1624f98f73994c5676974d05573087ee8cc8303'} | da72e0fddaeceee44fbbd7241e07e5d53d1eee64 | 1 | 07/08/2020, 08:52:09 | Fix CVE-2020-14947 | Charlene Auger | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -32,7 +32,7 @@ public function get_mib_oid($file) {\n $champs = array('SNMP_MIB_DIRECTORY' => 'SNMP_MIB_DIRECTORY');\n $values = look_config_default_values($champs);\n $cmd = \"snmptranslate -Tz -m \".$values['tvalu... | php | CWE-78 | [
"require/commandLine/CommandLine.php"
] | require/commandLine/CommandLine.php | 1 |
void M_LoadDefaults (void) while (!feof(f)) { isstring = false; if (fscanf (f, "%79s %[^\n]\n", def, strparm) == 2) { if (strparm[0] == '"') { | void M_LoadDefaults (void) while (!feof(f)) { isstring = false; if (fscanf (f, "%79s %99[^\n]\n", def, strparm) == 2) { if (strparm[0] == '"') { | CVE-2020-15007 | {'CWE-120'} | 6.4 | {'https://github.com/AXDOOMER/doom-vanille/commit/8a6d9a02fa991a91ff90ccdc73b5ceabaa6cb9ec'} | nvd | A buffer overflow in the M_LoadDefaults function in m_misc.c in id Tech 1 (aka Doom engine) allows arbitrary code execution via an unsafe usage of fscanf, because it does not limit the number of characters to be read in a format argument. | 2020-06-24 | 1 | https://github.com/AXDOOMER/doom-vanille | https://github.com/AXDOOMER/doom-vanille/commit/8a6d9a02fa991a91ff90ccdc73b5ceabaa6cb9ec | 8a6d9a02fa991a91ff90ccdc73b5ceabaa6cb9ec | SINGLE | ['8a6d9a02fa991a91ff90ccdc73b5ceabaa6cb9ec'] | {'031d20d279e4c6059c6c84265d4da0068ad4754e'} | 8a6d9a02fa991a91ff90ccdc73b5ceabaa6cb9ec | 1 | 06/11/2020, 05:57:07 | Fix buffer overflow in M_LoadDefaults
Too much data will most likely result in a crash or freeze, but you can overwrite the stack which can be used to do an arbitrary code execution. (https://twitter.com/notrevenant/status/1268654123903340544) | Alexandre-Xavier Labonté-Lamoureux | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -479,7 +479,7 @@ void M_LoadDefaults (void)\n \twhile (!feof(f))\n \t{\n \t isstring = false;\n-\t if (fscanf (f, \"%79s %[^\\n]\\n\", def, strparm) == 2)\n+\t if (fscanf (f, \"%79s %99[^\\n]\\n\", def, strparm) == 2)\n \t {\n ... | c | CWE-120 | [
"m_misc.c"
] | m_misc.c | 1 |
var imagesProduct = (function() { success: function(file, response) { //manage error on uploaded file if (response.error !== 0) { errorElem.append('<p>' + file.name + ': ' + response.error + '</p>'); this.removeFile(file); return; } var imagesPr... | var imagesProduct = (function() { success: function(file, response) { //manage error on uploaded file if (response.error !== 0) { errorElem.append($('<p></p>').text(file.name + ': ' + response.error)); this.removeFile(file); return; } var images... | CVE-2020-15083 | {'CWE-79'} | 2.9 | {'https://github.com/PrestaShop/PrestaShop/commit/bac749bf75a4e0d6312a70b37eb5b0a556f08fbd'} | nvd | In PrestaShop from version 1.7.0.0 and before version 1.7.6.6, if a target sends a corrupted file, it leads to a reflected XSS. The problem is fixed in 1.7.6.6 | 2020-07-02 | 1 | https://github.com/PrestaShop/PrestaShop | https://github.com/PrestaShop/PrestaShop/commit/bac749bf75a4e0d6312a70b37eb5b0a556f08fbd | bac749bf75a4e0d6312a70b37eb5b0a556f08fbd | SINGLE | ['bac749bf75a4e0d6312a70b37eb5b0a556f08fbd'] | {'8833d9504cc5d69a2a6d10197f56f0c11443cbfa', '073bb92f96aff6b2af4a62b239e29c2fd29fcf61'} | bac749bf75a4e0d6312a70b37eb5b0a556f08fbd | 1 | 06/29/2020, 12:26:02 | Merge pull request from GHSA-qgh4-95j7-p3vj
Do not append data as html, use text function instead | Mathieu Ferment | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -1339,7 +1339,7 @@ var imagesProduct = (function() {\n success: function(file, response) {\n //manage error on uploaded file\n if (response.error !== 0) {\n- errorElem.append('<p>' + file.name + ': ' ... | js | CWE-79 | [
"admin-dev/themes/default/js/bundle/product/form.js"
] | admin-dev/themes/default/js/bundle/product/form.js | 1 |
public static Path getDataFolder(String pi, String dataFolderName, String dataRe */ public static Path getDataFilePath(String pi, String dataFolderName, String altDataFolderName, String fileName) throws PresentationException, IndexUnreachableException { java.nio.file.Path dataFolderPath = ... | public static Path getDataFolder(String pi, String dataFolderName, String dataRe */ public static Path getDataFilePath(String pi, String dataFolderName, String altDataFolderName, String fileName) throws PresentationException, IndexUnreachableException { //make sure fileName is a pure filen... | CVE-2020-15124 | {'CWE-22'} | 2.9 | {'https://github.com/intranda/goobi-viewer-core/commit/44ceb8e2e7e888391e8a941127171d6366770df3'} | nvd | In Goobi Viewer Core before version 4.8.3, a path traversal vulnerability allows for remote attackers to access files on the server via the application. This is limited to files accessible to the application server user, eg. tomcat, but can potentially lead to the disclosure of sensitive information. The vulnerability ... | 2020-07-22 | 1 | https://github.com/intranda/goobi-viewer-core | https://github.com/intranda/goobi-viewer-core/commit/44ceb8e2e7e888391e8a941127171d6366770df3 | 44ceb8e2e7e888391e8a941127171d6366770df3 | SINGLE | ['44ceb8e2e7e888391e8a941127171d6366770df3'] | {'8ad5d49723fd51f2bbe77cae90ec18d6f348c89f'} | 44ceb8e2e7e888391e8a941127171d6366770df3 | 1 | 07/22/2020, 08:36:58 | Don't allow filepaths as Filename when requesting source files | Florian Alpers | null | {'additions': 2, 'deletions': 0, 'total': 2} | [
{
"additions": 2,
"changes": 2,
"deletions": 0,
"patch": "@@ -186,6 +186,8 @@ public static Path getDataFolder(String pi, String dataFolderName, String dataRe\n */\n public static Path getDataFilePath(String pi, String dataFolderName, String altDataFolderName, String fileName)\n ... | java | CWE-22 | [
"goobi-viewer-core/src/main/java/io/goobi/viewer/controller/DataFileTools.java"
] | goobi-viewer-core/src/main/java/io/goobi/viewer/controller/DataFileTools.java | 1 |
$(function ($) { $.sceditor.formats.bbcode .set('align', { html: function (element, attrs, content) { return '<div align="' + (attrs.defaultattr || 'left') + '">' + content + '</div>'; }, isInline: false }); $(function ($) { if (size < 0) { size = 0; } return '<font data-scefontsize="' +... | $(function ($) { $.sceditor.formats.bbcode .set('align', { html: function (element, attrs, content) { return '<div align="' + ($.sceditor.escapeEntities(attrs.defaultattr) || 'left') + '">' + content + '</div>'; }, isInline: false }); $(function ($) { if (size < 0) { size = 0; } return '... | CVE-2020-15139 | {'CWE-79'} | 2.9 | {'https://github.com/mybb/mybb/commit/37ad29dcd25489a37bdd89ebac761f22492558b0'} | nvd | In MyBB before version 1.8.24, the custom MyCode (BBCode) for the visual editor doesn't escape input properly when rendering HTML, resulting in a DOM-based XSS vulnerability. The weakness can be exploited by pointing a victim to a page where the visual editor is active (e.g. as a post or Private Message) and operates o... | 2020-08-10 | 1 | https://github.com/mybb/mybb | https://github.com/mybb/mybb/commit/37ad29dcd25489a37bdd89ebac761f22492558b0 | 37ad29dcd25489a37bdd89ebac761f22492558b0 | SINGLE | ['37ad29dcd25489a37bdd89ebac761f22492558b0'] | {'1b25406ba6b6586f060547dc41e7af653f182276'} | 37ad29dcd25489a37bdd89ebac761f22492558b0 | 1 | 08/09/2020, 11:15:17 | Fix MyCode message formatting XSS in visual editor | Tomasz Mlynski | {'com_1': {'author': 'YashvirGaming', 'datetime': '08/25/2020, 14:17:51', 'body': '**### Hello please make plugin for Custom Postbit background please man\r\nWhy you guys neglecting this feature on Mybb\r\nI want to preview a Gif image behind my avatar\r\n\r\nTried lot of methods from mybb community nothing works.**'},... | {'additions': 6, 'deletions': 7, 'total': 13} | [
{
"additions": 6,
"changes": 13,
"deletions": 7,
"patch": "@@ -58,7 +58,7 @@ $(function ($) {\n \t$.sceditor.formats.bbcode\n \t\t.set('align', {\n \t\t\thtml: function (element, attrs, content) {\n-\t\t\t\treturn '<div align=\"' + (attrs.defaultattr || 'left') + '\">' + content + '</div>';\n+\t\t\t... | js | CWE-79 | [
"jscripts/bbcodes_sceditor.js"
] | jscripts/bbcodes_sceditor.js | 1 |
module.exports = function (User) { } let isAdminOrPasswordMatch = false; const isSelf = parseInt(uid, 10) === parseInt(data.uid, 10); if ( (isAdmin && !isSelf) || // Admins ok (!hasPassword && isSelf) // Initial password set ok ) { isAdminOrPasswordMatch = true; } else { isAdminOrPasswordMatch ... | module.exports = function (User) { } let isAdminOrPasswordMatch = false; const isSelf = parseInt(uid, 10) === parseInt(data.uid, 10); if (!isAdmin && !isSelf) { throw new Error('[[user:change_password_error_privileges]]'); } if ( (isAdmin && !isSelf) || // Admins ok (!hasPassword && isSelf) // I... | CVE-2020-15149 | {'CWE-287'} | 6.4 | {'https://github.com/NodeBB/NodeBB/commit/c2477d9d5ffc43e5ffeb537ea2ceb4ce9592aa39'} | nvd | NodeBB before version 1.14.3 has a bug introduced in version 1.12.2 in the validation logic that makes it possible to change the password of any user on a running NodeBB forum by sending a specially crafted socket.io call to the server. This could lead to a privilege escalation event due via an account takeover. As a w... | 2020-08-20 | 1 | https://github.com/NodeBB/NodeBB | https://github.com/NodeBB/NodeBB/commit/c2477d9d5ffc43e5ffeb537ea2ceb4ce9592aa39 | c2477d9d5ffc43e5ffeb537ea2ceb4ce9592aa39 | SINGLE | ['c2477d9d5ffc43e5ffeb537ea2ceb4ce9592aa39'] | {'28970b030d21a9e839804b0c40e0ed1c520502ac'} | c2477d9d5ffc43e5ffeb537ea2ceb4ce9592aa39 | 1 | 08/12/2020, 17:23:58 | fix: improper targetUid check during password change | Julian Lam | null | {'additions': 6, 'deletions': 1, 'total': 7} | [
{
"additions": 6,
"changes": 7,
"deletions": 1,
"patch": "@@ -280,13 +280,18 @@ module.exports = function (User) {\n \t\t}\n \t\tlet isAdminOrPasswordMatch = false;\n \t\tconst isSelf = parseInt(uid, 10) === parseInt(data.uid, 10);\n+\n+\t\tif (!isAdmin && !isSelf) {\n+\t\t\tthrow new Error('[[user:... | js | CWE-287 | [
"src/user/profile.js"
] | src/user/profile.js | 1 |
abstract class database_object */ public function get_info($object_id, $table_name = '') { $table_name = $table_name ? Dba::escape($table_name) : Dba::escape(strtolower(get_class($this))); // Make sure we've got a real id if ($object_id < 1) { return array(); }... | abstract class database_object */ public function get_info($object_id, $table_name = '') { $table = $table_name ? Dba::escape($table_name) : Dba::escape(strtolower(get_class($this))); $object_id = (int) $object_id; // Make sure we've got a real id if ($object_id < 1) {... | CVE-2020-15153 | {'CWE-89'} | 6.4 | {'https://github.com/ampache/ampache/commit/e92cb6154c32c513b9c07e5fdbf5ac7de81ef5ed'} | nvd | Ampache before version 4.2.2 allows unauthenticated users to perform SQL injection. Refer to the referenced GitHub Security Advisory for details and a workaround. This is fixed in version 4.2.2 and the development branch. | 2021-04-30 | 1 | https://github.com/ampache/ampache | https://github.com/ampache/ampache/commit/e92cb6154c32c513b9c07e5fdbf5ac7de81ef5ed | e92cb6154c32c513b9c07e5fdbf5ac7de81ef5ed | SINGLE | ['e92cb6154c32c513b9c07e5fdbf5ac7de81ef5ed'] | {'06a5dd570890f48091b2ac4b153eae426920d6de'} | e92cb6154c32c513b9c07e5fdbf5ac7de81ef5ed | 1 | 08/18/2020, 07:25:36 | Update database_object.abstract.php
cast int for object_id | lachlan-00 | null | {'additions': 8, 'deletions': 6, 'total': 14} | [
{
"additions": 8,
"changes": 14,
"deletions": 6,
"patch": "@@ -45,27 +45,29 @@ abstract class database_object\n */\n public function get_info($object_id, $table_name = '')\n {\n- $table_name = $table_name ? Dba::escape($table_name) : Dba::escape(strtolower(get_class($this)));\n+ ... | php | CWE-89 | [
"lib/class/database_object.abstract.php"
] | lib/class/database_object.abstract.php | 1 |
public static function setLocation($id_product, $location, $id_shop = null, $id_ if ($existing_id > 0) { Db::getInstance()->update( 'stock_available', array('location' => $location), 'id_product = ' . $id_product . (($id_product_attrib... | public static function setLocation($id_product, $location, $id_shop = null, $id_ if ($existing_id > 0) { Db::getInstance()->update( 'stock_available', ['location' => pSQL($location)], 'id_product = ' . (int) $id_product . (($id_product... | CVE-2020-15160 | {'CWE-89'} | 6.4 | {'https://github.com/PrestaShop/PrestaShop/commit/3fa0dfa5a8f4b149c7c90b948a12b4f5999a5ef8'} | nvd | PrestaShop from version 1.7.5.0 and before version 1.7.6.8 is vulnerable to a blind SQL Injection attack in the Catalog Product edition page with location parameter. The problem is fixed in 1.7.6.8 | 2020-09-24 | 1 | https://github.com/PrestaShop/PrestaShop | https://github.com/PrestaShop/PrestaShop/commit/3fa0dfa5a8f4b149c7c90b948a12b4f5999a5ef8 | 3fa0dfa5a8f4b149c7c90b948a12b4f5999a5ef8 | SINGLE | ['3fa0dfa5a8f4b149c7c90b948a12b4f5999a5ef8'] | {'41cedac7bd0e0f1e425b92c6e26f5aac1275be5a', '4b4290bfba949612482c7279f15c8ad95dc30d36'} | 3fa0dfa5a8f4b149c7c90b948a12b4f5999a5ef8 | 1 | 09/24/2020, 12:45:00 | Merge pull request from GHSA-fghq-8h87-826g
Escape location and ids when setting location | GoT | null | {'additions': 8, 'deletions': 8, 'total': 16} | [
{
"additions": 8,
"changes": 16,
"deletions": 8,
"patch": "@@ -395,17 +395,17 @@ public static function setLocation($id_product, $location, $id_shop = null, $id_\n if ($existing_id > 0) {\n Db::getInstance()->update(\n 'stock_available',\n- array('l... | php | CWE-89 | [
"classes/stock/StockAvailable.php"
] | classes/stock/StockAvailable.php | 1 |
function checkConfigFile() { } } if (!isset($_POST["install"])) { $_SESSION = []; checkConfigFile(); header_html("Select your language"); choose_language(); | function checkConfigFile() { } } if (!isset($_SESSION['can_process_install']) || !isset($_POST["install"])) { $_SESSION = []; checkConfigFile(); // Add a flag that will be used to validate that installation can be processed. // This flag is put here just after checking that DB config file does not ex... | CVE-2020-15177 | {'CWE-79'} | 2.9 | {'https://github.com/glpi-project/glpi/commit/a8109d4ee970a222faf48cf48fae2d2f06465796'} | nvd | In GLPI before version 9.5.2, the `install/install.php` endpoint insecurely stores user input into the database as `url_base` and `url_base_api`. These settings are referenced throughout the application and allow for vulnerabilities like Cross-Site Scripting and Insecure Redirection Since authentication is not required... | 2020-10-07 | 1 | https://github.com/glpi-project/glpi | https://github.com/glpi-project/glpi/commit/a8109d4ee970a222faf48cf48fae2d2f06465796 | a8109d4ee970a222faf48cf48fae2d2f06465796 | SINGLE | ['a8109d4ee970a222faf48cf48fae2d2f06465796'] | {'6ca9a0e77299a755c356d758344a23278df67f65'} | a8109d4ee970a222faf48cf48fae2d2f06465796 | 1 | 10/06/2020, 11:58:15 | Merge pull request from GHSA-prvh-9m4h-4m79 | Cédric Anne | null | {'additions': 8, 'deletions': 1, 'total': 9} | [
{
"additions": 8,
"changes": 9,
"deletions": 1,
"patch": "@@ -598,10 +598,17 @@ function checkConfigFile() {\n }\n }\n \n-if (!isset($_POST[\"install\"])) {\n+if (!isset($_SESSION['can_process_install']) || !isset($_POST[\"install\"])) {\n $_SESSION = [];\n \n checkConfigFile();\n+\n+ // ... | php | CWE-79 | [
"install/install.php"
] | install/install.php | 1 |
function sigGetAvatarUrl ($username) { // Called to output HTML for <scratchsig> tag function sigRenderTag ($input, array $args, Parser $parser, PPFrame $frame) { $username = $input; $img_url = sigGetAvatarUrl($username); | function sigGetAvatarUrl ($username) { // Called to output HTML for <scratchsig> tag function sigRenderTag ($input, array $args, Parser $parser, PPFrame $frame) { $username = htmlspecialchars($input); $img_url = sigGetAvatarUrl($username); | CVE-2020-15179 | {'CWE-79'} | 6.4 | {'https://github.com/InternationalScratchWiki/wiki-scratchsig/commit/4160a39a20eebeb63a59eb7597a91b961eca6388'} | nvd | The ScratchSig extension for MediaWiki before version 1.0.1 allows stored Cross-Site Scripting. Using <script> tag inside <scratchsig> tag, attackers with edit permission can execute scripts on visitors' browser. With MediaWiki JavaScript API, this can potentially lead to privilege escalation and/or account takeover. T... | 2020-09-15 | 1 | https://github.com/InternationalScratchWiki/wiki-scratchsig | https://github.com/InternationalScratchWiki/wiki-scratchsig/commit/4160a39a20eebeb63a59eb7597a91b961eca6388 | 4160a39a20eebeb63a59eb7597a91b961eca6388 | SINGLE | ['4160a39a20eebeb63a59eb7597a91b961eca6388'] | {'3f1af08e919215f30b2070124f34ea1ce0f2b945'} | 4160a39a20eebeb63a59eb7597a91b961eca6388 | 1 | 09/15/2020, 03:13:48 | <scratchsig><script>location='https://www.youtube.com/watch?v=dQw4w9WgXcQ';</script></scratchsig> | Naleksuh | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -67,7 +67,7 @@ function sigGetAvatarUrl ($username) {\n // Called to output HTML for <scratchsig> tag\n \n function sigRenderTag ($input, array $args, Parser $parser, PPFrame $frame) {\n- $username = $input;\n+ $username = htmlspecia... | php | CWE-79 | [
"ScratchSig2.php"
] | ScratchSig2.php | 1 |
function main(){ } if(!SOY2HTMLFactory::pageExists($classPath)){ return $classPath; } $webPage = &SOY2HTMLFactory::createInstance($classPath, array( | function main(){ } if(!SOY2HTMLFactory::pageExists($classPath)){ return "エラーが発生しました。"; } $webPage = &SOY2HTMLFactory::createInstance($classPath, array( | CVE-2020-15183 | {'CWE-79'} | 2.9 | {'https://github.com/inunosinsi/soycms/commit/045a222016f99b56557b0d8f39bbfc653d2c4707'} | nvd | SoyCMS 3.0.2 and earlier is affected by Reflected Cross-Site Scripting (XSS) which leads to Remote Code Execution (RCE) from a known vulnerability. This allows remote attackers to force the administrator to edit files once the adminsitrator loads a specially crafted webpage. | 2020-09-17 | 1 | https://github.com/inunosinsi/soycms | https://github.com/inunosinsi/soycms/commit/045a222016f99b56557b0d8f39bbfc653d2c4707 | 045a222016f99b56557b0d8f39bbfc653d2c4707 | SINGLE | ['045a222016f99b56557b0d8f39bbfc653d2c4707'] | {'4e4413aa0ef3bf2046f16170541786c60c7a7456', 'c512da9926a01e2fc21b9667f81f8c03da8e972c'} | 045a222016f99b56557b0d8f39bbfc653d2c4707 | 1 | 09/16/2020, 06:54:12 | Merge pull request #13 from stypr/xss-patch
Fix Cross-Site Scripting: Print error message instead | Tsuyoshi Saito | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -121,7 +121,7 @@ function main(){\n \t\t}\r\n \r\n \t\tif(!SOY2HTMLFactory::pageExists($classPath)){\r\n-\t\t\treturn $classPath;\r\n+\t\t\treturn \"エラーが発生しました。\";\r\n \t\t}\r\n \r\n \t\t$webPage = &SOY2HTMLFactory::createInstance($classPa... | php | CWE-79 | [
"cms/app/webapp/inquiry/admin.php"
] | cms/app/webapp/inquiry/admin.php | 1 |
function access($attr, $path, $data, $volume, $isDir, $relpath) { 'uploadDeny' => array('all'), // All Mimetypes not allowed to upload 'uploadAllow' => array('image', 'text/plain', 'text/css', 'application/zip', 'application/epub+zip','application/pdf'),// Mimetype `image` and `text/plain` al... | function access($attr, $path, $data, $volume, $isDir, $relpath) { 'uploadDeny' => array('all'), // All Mimetypes not allowed to upload 'uploadAllow' => array('image', 'text/plain', 'text/css', 'application/zip', 'application/epub+zip','application/pdf'),// Mimetype `image` and `text/plain` al... | CVE-2020-15189 | {'CWE-434'} | 6.4 | {'https://github.com/inunosinsi/soycms/pull/14/commits/e4ef00677ed52f9e5a5fcfcb56b797f5412b5d59'} | nvd | SOY CMS 3.0.2 and earlier is affected by Remote Code Execution (RCE) using Unrestricted File Upload. Cross-Site Scripting(XSS) vulnerability that was used in CVE-2020-15183 can be used to increase impact by redirecting the administrator to access a specially crafted page. This vulnerability is caused by insecure config... | 2020-09-18 | 1 | https://github.com/inunosinsi/soycms | https://github.com/inunosinsi/soycms/pull/14/commits/e4ef00677ed52f9e5a5fcfcb56b797f5412b5d59 | e4ef00677ed52f9e5a5fcfcb56b797f5412b5d59 | SINGLE | ['e4ef00677ed52f9e5a5fcfcb56b797f5412b5d59'] | {'54bbfa59fe48f21161761399d4faefde82eb2d16'} | e4ef00677ed52f9e5a5fcfcb56b797f5412b5d59 | 1 | 09/15/2020, 06:28:54 | Block from uploading PHP files to elFinder | stypr | null | {'additions': 11, 'deletions': 1, 'total': 12} | [
{
"additions": 11,
"changes": 12,
"deletions": 1,
"patch": "@@ -153,7 +153,17 @@ function access($attr, $path, $data, $volume, $isDir, $relpath) {\n \t\t\t'uploadDeny' => array('all'), // All Mimetypes not allowed to upload\n \t\t\t'uploadAllow' => array('image', 'text/plain', 't... | php | CWE-434 | [
"cms/soycms/js/elfinder/php/connector.php"
] | cms/soycms/js/elfinder/php/connector.php | 1 |
static function getListRequest(array $params, $type = 'search') { } $search_where = ['OR' => $ors]; // Add visibility date $visibility_crit = [ | static function getListRequest(array $params, $type = 'search') { } $search_where = $criteria['WHERE']; // Visibility restrict criteria $search_where[] = ['OR' => $ors]; // Add visibility date $visibility_crit = [ | CVE-2020-15217 | {'CWE-79'} | 2.9 | {'https://github.com/glpi-project/glpi/commit/39e25591efddc560e3679ab07e443ee6198705e2'} | nvd | In GLPI before version 9.5.2, there is a leakage of user information through the public FAQ. The issue was introduced in version 9.5.0 and patched in 9.5.2. As a workaround, disable public access to the FAQ. | 2020-10-07 | 1 | https://github.com/glpi-project/glpi | https://github.com/glpi-project/glpi/commit/39e25591efddc560e3679ab07e443ee6198705e2 | 39e25591efddc560e3679ab07e443ee6198705e2 | SINGLE | ['39e25591efddc560e3679ab07e443ee6198705e2'] | {'a8109d4ee970a222faf48cf48fae2d2f06465796'} | 39e25591efddc560e3679ab07e443ee6198705e2 | 1 | 10/06/2020, 11:58:51 | Merge pull request from GHSA-x9hg-j29f-wvvv | Cédric Anne | null | {'additions': 3, 'deletions': 1, 'total': 4} | [
{
"additions": 3,
"changes": 4,
"deletions": 1,
"patch": "@@ -1292,7 +1292,9 @@ static function getListRequest(array $params, $type = 'search') {\n \n }\n \n- $search_where = ['OR' => $ors];\n+ $search_where = $criteria['WHERE']; // Visibility restrict cri... | php | CWE-79 | [
"inc/knowbaseitem.class.php"
] | inc/knowbaseitem.class.php | 1 |
protected function searchItems($itemtype, $params = []) { if (isset($params['criteria']) && is_array($params['criteria'])) { // use a recursive closure to check each nested criteria $check_criteria = function($criteria) use (&$check_criteria, $soptions) { foreach ($criteria as $cri... | protected function searchItems($itemtype, $params = []) { if (isset($params['criteria']) && is_array($params['criteria'])) { // use a recursive closure to check each nested criteria $check_criteria = function(&$criteria) use (&$check_criteria, $soptions) { foreach ($criteria as &$c... | CVE-2020-15226 | {'CWE-89'} | 2.9 | {'https://github.com/glpi-project/glpi/commit/3dc4475c56b241ad659cc5c7cb5fb65727409cf0'} | nvd | In GLPI before version 9.5.2, there is a SQL Injection in the API's search function. Not only is it possible to break the SQL syntax, but it is also possible to utilise a UNION SELECT query to reflect sensitive information such as the current database version, or database user. The most likely scenario for this vulnera... | 2020-10-07 | 1 | https://github.com/glpi-project/glpi | https://github.com/glpi-project/glpi/commit/3dc4475c56b241ad659cc5c7cb5fb65727409cf0 | 3dc4475c56b241ad659cc5c7cb5fb65727409cf0 | SINGLE | ['3dc4475c56b241ad659cc5c7cb5fb65727409cf0'] | {'3ae40f08950c2036bf1ba15213588c20805d7a53'} | 3dc4475c56b241ad659cc5c7cb5fb65727409cf0 | 1 | 10/06/2020, 11:37:23 | Merge pull request from GHSA-jwpv-7m4h-5gvc
* Prevent SQL injection through search API
* better solution | Cédric Anne | null | {'additions': 5, 'deletions': 2, 'total': 7} | [
{
"additions": 5,
"changes": 7,
"deletions": 2,
"patch": "@@ -1631,8 +1631,8 @@ protected function searchItems($itemtype, $params = []) {\n if (isset($params['criteria']) && is_array($params['criteria'])) {\n \n // use a recursive closure to check each nested criteria\n- $chec... | php | CWE-89 | [
"inc/api/api.class.php"
] | inc/api/api.class.php | 1 |
const path = require('path') const localeSegmentRegex = /^[A-Z]{2}(-[A-Z]{2})?$/i const localeFolderRegex = /^([a-z]{2}(?:-[a-z]{2})?\/)?(.*)/i const contentToExt = { markdown: 'md', module.exports = { // Clean Path rawPath = _.trim(qs.unescape(rawPath)) if (_.startsWith(rawPath, '/')) { rawPath = rawP... | const path = require('path') const localeSegmentRegex = /^[A-Z]{2}(-[A-Z]{2})?$/i const localeFolderRegex = /^([a-z]{2}(?:-[a-z]{2})?\/)?(.*)/i // eslint-disable-next-line no-control-regex const unsafeCharsRegex = /[\x00-\x1f\x80-\x9f\\"|<>:*?]/ const contentToExt = { markdown: 'md', module.exports = { // Clea... | CVE-2020-15236 | {'CWE-22'} | 2.9 | {'https://github.com/Requarks/wiki/commit/084dcd69d1591586ee4752101e675d5f0ac6dcdc'} | nvd | In Wiki.js before version 2.5.151, directory traversal outside of Wiki.js context is possible when a storage module with local asset cache fetching is enabled. A malicious user can potentially read any file on the file system by crafting a special URL that allows for directory traversal. This is only possible when a st... | 2020-10-05 | 1 | https://github.com/Requarks/wiki | https://github.com/Requarks/wiki/commit/084dcd69d1591586ee4752101e675d5f0ac6dcdc | 084dcd69d1591586ee4752101e675d5f0ac6dcdc | SINGLE | ['084dcd69d1591586ee4752101e675d5f0ac6dcdc'] | {'9ccd1f82e9f8a6cb9e8f03e585ac6281aa60af53'} | 084dcd69d1591586ee4752101e675d5f0ac6dcdc | 1 | 10/03/2020, 05:44:57 | fix: strip directory traversal sequences from asset paths | NGPixel | null | {'additions': 8, 'deletions': 2, 'total': 10} | [
{
"additions": 8,
"changes": 10,
"deletions": 2,
"patch": "@@ -5,6 +5,8 @@ const path = require('path')\n \n const localeSegmentRegex = /^[A-Z]{2}(-[A-Z]{2})?$/i\n const localeFolderRegex = /^([a-z]{2}(?:-[a-z]{2})?\\/)?(.*)/i\n+// eslint-disable-next-line no-control-regex\n+const unsafeCharsRegex =... | js | CWE-22 | [
"server/helpers/page.js"
] | server/helpers/page.js | 1 |
void ndpi_search_oracle(struct ndpi_detection_module_struct *ndpi_struct, struct NDPI_LOG_DBG2(ndpi_struct, "calculating ORACLE over tcp\n"); /* Oracle Database 9g,10g,11g */ if ((dport == 1521 || sport == 1521) && (((packet->payload[0] == 0x07) && (packet->payload[1] == 0xff) && (packet->payload[2] == 0... | void ndpi_search_oracle(struct ndpi_detection_module_struct *ndpi_struct, struct NDPI_LOG_DBG2(ndpi_struct, "calculating ORACLE over tcp\n"); /* Oracle Database 9g,10g,11g */ if ((dport == 1521 || sport == 1521) && (((packet->payload_packet_len >= 3 && packet->payload[0] == 0x07) && (packet->payload[1] =... | CVE-2020-15476 | {'CWE-125'} | 2.9 | {'https://github.com/ntop/nDPI/commit/b69177be2fbe01c2442239a61832c44e40136c05'} | nvd | In nDPI through 3.2, the Oracle protocol dissector has a heap-based buffer over-read in ndpi_search_oracle in lib/protocols/oracle.c. | 2020-07-01 | 1 | https://github.com/ntop/nDPI | https://github.com/ntop/nDPI/commit/b69177be2fbe01c2442239a61832c44e40136c05 | b69177be2fbe01c2442239a61832c44e40136c05 | SINGLE | ['b69177be2fbe01c2442239a61832c44e40136c05'] | {'39ae57e6a3d93cb91def5d76fc54e89075f01867'} | b69177be2fbe01c2442239a61832c44e40136c05 | 1 | 05/10/2020, 13:04:23 | Adds bound check in oracle protocol
Found by oss-fuzz
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21780 | Philippe Antoine | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -43,7 +43,7 @@ void ndpi_search_oracle(struct ndpi_detection_module_struct *ndpi_struct, struct\n NDPI_LOG_DBG2(ndpi_struct, \"calculating ORACLE over tcp\\n\");\n /* Oracle Database 9g,10g,11g */\n if ((dport == 1521 || sport ... | c | CWE-125 | [
"src/lib/protocols/oracle.c"
] | src/lib/protocols/oracle.c | 1 |
PlayerGeneric::PlayerGeneric(mp_sint32 frequency, AudioDriverInterface* audioDri PlayerGeneric::~PlayerGeneric() { if (mixer) delete mixer; if (player) { if (mixer->isActive() && !mixer->isDeviceRemoved(player)) mixer->removeDevice(player); delete player; } delete[] audioDriverName; | PlayerGeneric::PlayerGeneric(mp_sint32 frequency, AudioDriverInterface* audioDri PlayerGeneric::~PlayerGeneric() { if (player) { if (mixer && mixer->isActive() && !mixer->isDeviceRemoved(player)) mixer->removeDevice(player); delete player; } if (mixer) delete mixer; delete[] audioDriverName; | CVE-2020-15569 | {'CWE-416'} | 2.9 | {'https://github.com/milkytracker/MilkyTracker/commit/7afd55c42ad80d01a339197a2d8b5461d214edaf'} | nvd | PlayerGeneric.cpp in MilkyTracker through 1.02.00 has a use-after-free in the PlayerGeneric destructor. | 2020-07-06 | 1 | https://github.com/milkytracker/MilkyTracker | https://github.com/milkytracker/MilkyTracker/commit/7afd55c42ad80d01a339197a2d8b5461d214edaf | 7afd55c42ad80d01a339197a2d8b5461d214edaf | SINGLE | ['7afd55c42ad80d01a339197a2d8b5461d214edaf'] | {'891fa6671ef8a05d10d7a8f82c93797542b950e7'} | 7afd55c42ad80d01a339197a2d8b5461d214edaf | 1 | 04/13/2020, 22:53:51 | Fix use-after-free in PlayerGeneric destructor | Jeremy Clarke | null | {'additions': 4, 'deletions': 3, 'total': 7} | [
{
"additions": 4,
"changes": 7,
"deletions": 3,
"patch": "@@ -202,15 +202,16 @@ PlayerGeneric::PlayerGeneric(mp_sint32 frequency, AudioDriverInterface* audioDri\n \t\n PlayerGeneric::~PlayerGeneric()\n {\n-\tif (mixer)\n-\t\tdelete mixer;\n \n \tif (player)\n \t{\n-\t\tif (mixer->isActive() && !mixe... | cpp | CWE-416 | [
"src/milkyplay/PlayerGeneric.cpp"
] | src/milkyplay/PlayerGeneric.cpp | 1 |
} if ($action == "test") { $query = "SELECT * FROM `devices` WHERE `device_id` = $device_id LIMIT 1"; $device = dbFetchRow($query); $rawdata = snmp_get($device, $oid, '-Oqv'); | } if ($action == "test") { $query = "SELECT * FROM `devices` WHERE `device_id` = ? LIMIT 1"; $device = dbFetchRow($query, [$device_id]); $rawdata = snmp_get($device, $oid, '-Oqv'); | CVE-2020-15873 | {'CWE-89'} | 2.9 | {'https://github.com/librenms/librenms/commit/8f3a29cde5bbd8608f9b42923a7d7e2598bcac4e'} | nvd | In LibreNMS before 1.65.1, an authenticated attacker can achieve SQL Injection via the customoid.inc.php device_id POST parameter to ajax_form.php. | 2020-07-21 | 1 | https://github.com/librenms/librenms | https://github.com/librenms/librenms/commit/8f3a29cde5bbd8608f9b42923a7d7e2598bcac4e | 8f3a29cde5bbd8608f9b42923a7d7e2598bcac4e | SINGLE | ['8f3a29cde5bbd8608f9b42923a7d7e2598bcac4e'] | {'1bb6bd8405d19d7877b14daf7fbee77db1eed5fa'} | 8f3a29cde5bbd8608f9b42923a7d7e2598bcac4e | 1 | 07/10/2020, 08:45:39 | Fix sql injection (#11923)
in custom oid code
Thanks to loginsoft p.v.t l.t.d india for the report!
Website: https://www.loginsoft.com/ | Tony Murray | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -72,8 +72,8 @@\n }\n \n if ($action == \"test\") {\n- $query = \"SELECT * FROM `devices` WHERE `device_id` = $device_id LIMIT 1\";\n- $device = dbFetchRow($query);\n+ $query = \"SELECT * FROM `devices` WHERE `device_id` = ? LIMIT ... | php | CWE-89 | [
"includes/html/forms/customoid.inc.php"
] | includes/html/forms/customoid.inc.php | 1 |
static void finishgencycle (lua_State *L, global_State *g) { /* ** Does a young collection. First, mark 'OLD1' objects. (Only survival ** and "recent old" lists can contain 'OLD1' objects. New lists cannot ** contain 'OLD1' objects, at most 'OLD0' objects that were already ** visited when marked old.) Then does the... | static void finishgencycle (lua_State *L, global_State *g) { /* ** Does a young collection. First, mark 'OLD1' objects. Then does the ** atomic step. Then, sweep all lists and advance pointers. Finally, ** finish the collection. */ static void youngcollection (lua_State *L, global_State *g) { GCObject **psurvival;... | CVE-2020-15889 | {'CWE-125'} | 6.4 | {'https://github.com/lua/lua/commit/127e7a6c8942b362aa3c6627f44d660a4fb75312'} | nvd | Lua 5.4.0 has a getobjname heap-based buffer over-read because youngcollection in lgc.c uses markold for an insufficient number of list members. | 2020-07-21 | 1 | https://github.com/lua/lua | https://github.com/lua/lua/commit/127e7a6c8942b362aa3c6627f44d660a4fb75312 | 127e7a6c8942b362aa3c6627f44d660a4fb75312 | SINGLE | ['127e7a6c8942b362aa3c6627f44d660a4fb75312'] | {'6f5bd5072dff07679c390eecfeaa9d20cc45a9ef'} | 127e7a6c8942b362aa3c6627f44d660a4fb75312 | 1 | 07/10/2020, 17:13:50 | Fixed bug of old finalized objects in the GC
When an object aged OLD1 is finalized, it is moved from the list
'finobj' to the *beginning* of the list 'allgc'. So, this part of the
list (and not only the survival list) must be visited by 'markold'. | Roberto Ierusalimschy | {'com_1': {'author': 'BrunoVernay', 'datetime': '12/11/2020, 11:17:03', 'body': 'Is this really the FIX for https://nvd.nist.gov/vuln/detail/CVE-2020-15889 ??\r\nMaybe the commit should reference the CVE??\r\n\r\nOr does it creates the bug as hinted by https://bugzilla.redhat.com/show_bug.cgi?id=1860316 \r\n\r\nI am to... | {'additions': 4, 'deletions': 6, 'total': 10} | [
{
"additions": 4,
"changes": 10,
"deletions": 6,
"patch": "@@ -1131,16 +1131,14 @@ static void finishgencycle (lua_State *L, global_State *g) {\n \n \n /*\n-** Does a young collection. First, mark 'OLD1' objects. (Only survival\n-** and \"recent old\" lists can contain 'OLD1' objects. New lists can... | c | CWE-125 | [
"lgc.c"
] | lgc.c | 1 |
search_impl(i_ctx_t *i_ctx_p, bool forward) return 0; found: op->tas.type_attrs = op1->tas.type_attrs; op->value.bytes = ptr; r_set_size(op, size); push(2); op[-1] = *op1; r_set_size(op - 1, ptr - op[-1].value.bytes); op1->value.bytes = ptr + size; r_set_size(op1, count + (!forward ... | search_impl(i_ctx_t *i_ctx_p, bool forward) return 0; found: op->tas.type_attrs = op1->tas.type_attrs; op->value.bytes = ptr; /* match */ op->tas.rsize = size; /* match */ push(2); op[-1] = *op1; /* pre */ op[-3].value.bytes = ptr + size; /* post */ if (forward) { op... | CVE-2020-15900 | {'CWE-191', 'CWE-787'} | 6.4 | {'https://github.com/ArtifexSoftware/ghostpdl/commit/5d499272b95a6b890a1397e11d20937de000d31b'} | nvd | A memory corruption issue was found in Artifex Ghostscript 9.50 and 9.52. Use of a non-standard PostScript operator can allow overriding of file access controls. The 'rsearch' calculation for the 'post' size resulted in a size that was too large, and could underflow to max uint32_t. This was fixed in commit 5d499272b95... | 2020-07-28 | 1 | https://github.com/ArtifexSoftware/ghostpdl | https://github.com/ArtifexSoftware/ghostpdl/commit/5d499272b95a6b890a1397e11d20937de000d31b | 5d499272b95a6b890a1397e11d20937de000d31b | SINGLE | ['5d499272b95a6b890a1397e11d20937de000d31b'] | {'f77f99702c9c8418b9516056d5f4280105beafc4'} | 5d499272b95a6b890a1397e11d20937de000d31b | 1 | 07/22/2020, 16:57:54 | Bug 702582, CVE 2020-15900 Memory Corruption in Ghostscript 9.52
Fix the 'rsearch' calculation for the 'post' size to give the correct
size. Previous calculation would result in a size that was too large,
and could underflow to max uint32_t. Also fix 'rsearch' to return the
correct 'pre' string with empty string matc... | Ray Johnston | null | {'additions': 11, 'deletions': 6, 'total': 17} | [
{
"additions": 11,
"changes": 17,
"deletions": 6,
"patch": "@@ -142,13 +142,18 @@ search_impl(i_ctx_t *i_ctx_p, bool forward)\n return 0;\n found:\n op->tas.type_attrs = op1->tas.type_attrs;\n- op->value.bytes = ptr;\n- r_set_size(op, size);\n+ op->value.bytes = ptr;\t\t\t\t/* match... | c | CWE-787 | [
"psi/zstring.c"
] | psi/zstring.c | 1 |
/* $OpenBSD: ca.c,v 1.64 2020/07/15 14:45:15 tobhe Exp $ */ /* * Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org> ca_validate_pubkey(struct iked *env, struct iked_static_id *id, if (localkey == NULL) goto sslerr; if (peerkey && !EVP_PKEY_cmp(peerkey, localkey)) { log_debug("%s: public key does not matc... | /* $OpenBSD: ca.c,v 1.65 2020/07/27 14:22:53 tobhe Exp $ */ /* * Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org> ca_validate_pubkey(struct iked *env, struct iked_static_id *id, if (localkey == NULL) goto sslerr; if (peerkey && EVP_PKEY_cmp(peerkey, localkey) != 1) { log_debug("%s: public key does not ... | CVE-2020-16088 | {'CWE-287'} | 6.4 | {'https://github.com/openbsd/src/commit/7afb2d41c6d373cf965285840b85c45011357115'} | nvd | iked in OpenIKED, as used in OpenBSD through 6.7, allows authentication bypass because ca.c has the wrong logic for checking whether a public key matches. | 2020-07-28 | 1 | https://github.com/openbsd/src | https://github.com/openbsd/src/commit/7afb2d41c6d373cf965285840b85c45011357115 | 7afb2d41c6d373cf965285840b85c45011357115 | SINGLE | ['7afb2d41c6d373cf965285840b85c45011357115'] | {'4da86b847b93a312fd7ae1ef312850d95aeddf0a'} | 7afb2d41c6d373cf965285840b85c45011357115 | 1 | 07/27/2020, 14:22:53 | Fix return value check for openssl API used during pubkey validation.
Found thanks to bug report by Michael Scheibel <m.Scheibel (at) tuvit (dot) de>
ok patrick@, markus@, tb@ | tobhe | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -1,4 +1,4 @@\n-/*\t$OpenBSD: ca.c,v 1.64 2020/07/15 14:45:15 tobhe Exp $\t*/\n+/*\t$OpenBSD: ca.c,v 1.65 2020/07/27 14:22:53 tobhe Exp $\t*/\n \n /*\n * Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org>\n@@ -1420,7 +1420,7 @@ ca_val... | c | CWE-287 | [
"sbin/iked/ca.c"
] | sbin/iked/ca.c | 1 |
MultiPartInputFile::Data::chunkOffsetReconstruction(OPENEXR_IMF_INTERNAL_NAMESPA if(partNumber<0 || partNumber> static_cast<int>(parts.size())) { throw IEX_NAMESPACE::IoExc("part number out of range"); } | MultiPartInputFile::Data::chunkOffsetReconstruction(OPENEXR_IMF_INTERNAL_NAMESPA if(partNumber<0 || partNumber>= static_cast<int>(parts.size())) { throw IEX_NAMESPACE::IoExc("part number out of range"); } | CVE-2020-16587 | {'CWE-787'} | 2.9 | {'https://github.com/AcademySoftwareFoundation/openexr/commit/8b5370c688a7362673c3a5256d93695617a4cd9a'} | nvd | A heap-based buffer overflow vulnerability exists in Academy Software Foundation OpenEXR 2.3.0 in chunkOffsetReconstruction in ImfMultiPartInputFile.cpp that can cause a denial of service via a crafted EXR file. | 2020-12-09 | 1 | https://github.com/AcademySoftwareFoundation/openexr | https://github.com/AcademySoftwareFoundation/openexr/commit/8b5370c688a7362673c3a5256d93695617a4cd9a | 8b5370c688a7362673c3a5256d93695617a4cd9a | SINGLE | ['8b5370c688a7362673c3a5256d93695617a4cd9a'] | {'d5800c14296527b3540da7aefd28b5937158d2cc'} | 8b5370c688a7362673c3a5256d93695617a4cd9a | 1 | 07/25/2019, 08:01:56 | Fix #491, issue with part number range check reconstructing chunk offset table
The chunk offset was incorrectly testing for a part number that was the
same size (i.e. an invalid index)
Signed-off-by: Kimball Thurston <kdt3rd@gmail.com> | Kimball Thurston | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -571,7 +571,7 @@ MultiPartInputFile::Data::chunkOffsetReconstruction(OPENEXR_IMF_INTERNAL_NAMESPA\n \n \n \n- if(partNumber<0 || partNumber> static_cast<int>(parts.size()))\n+ if(pa... | cpp | CWE-787 | [
"OpenEXR/IlmImf/ImfMultiPartInputFile.cpp"
] | OpenEXR/IlmImf/ImfMultiPartInputFile.cpp | 1 |
generatePreview (const char inFileName[], previewHeight = max (int (h / (w * a) * previewWidth + .5f), 1); previewPixels.resizeErase (previewHeight, previewWidth); float fx = (previewWidth > 0)? (float (w - 1) / (previewWidth - 1)): 1; float fy = (previewHeight > 0)? (float (h - 1) / (previewHeight ... | generatePreview (const char inFileName[], previewHeight = max (int (h / (w * a) * previewWidth + .5f), 1); previewPixels.resizeErase (previewHeight, previewWidth); float fx = (previewWidth > 1)? (float (w - 1) / (previewWidth - 1)): 1; float fy = (previewHeight > 1)? (float (h - 1) / (previewHeight ... | CVE-2020-16588 | {'CWE-476'} | 2.9 | {'https://github.com/AcademySoftwareFoundation/openexr/commit/74504503cff86e986bac441213c403b0ba28d58f'} | nvd | A Null Pointer Deference issue exists in Academy Software Foundation OpenEXR 2.3.0 in generatePreview in makePreview.cpp that can cause a denial of service via a crafted EXR file. | 2020-12-09 | 1 | https://github.com/AcademySoftwareFoundation/openexr | https://github.com/AcademySoftwareFoundation/openexr/commit/74504503cff86e986bac441213c403b0ba28d58f | 74504503cff86e986bac441213c403b0ba28d58f | SINGLE | ['74504503cff86e986bac441213c403b0ba28d58f'] | {'6bb36714528a9563dd3b92720c5063a1284b86f8'} | 74504503cff86e986bac441213c403b0ba28d58f | 1 | 07/25/2019, 07:50:11 | Fix logic for 1 pixel high/wide preview images (Fixes #493) | Peter Hillman | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -120,8 +120,8 @@ generatePreview (const char inFileName[],\n previewHeight = max (int (h / (w * a) * previewWidth + .5f), 1);\n previewPixels.resizeErase (previewHeight, previewWidth);\n \n- float fx = (previewWidth > 0)? (floa... | cpp | CWE-476 | [
"OpenEXR/exrmakepreview/makePreview.cpp"
] | OpenEXR/exrmakepreview/makePreview.cpp | 1 |
TiledInputFile::rawTileData (int &dx, int &dy, throw IEX_NAMESPACE::ArgExc ("rawTileData read the wrong tile"); } } pixelData = tileBuffer->buffer; } catch (IEX_NAMESPACE::BaseExc &e) | TiledInputFile::rawTileData (int &dx, int &dy, throw IEX_NAMESPACE::ArgExc ("rawTileData read the wrong tile"); } } else { if(!isValidTile (dx, dy, lx, ly) ) { throw IEX_NAMESPACE::IoExc ("rawTileData read an invalid tile");... | CVE-2020-16589 | {'CWE-787'} | 2.9 | {'https://github.com/AcademySoftwareFoundation/openexr/commit/6bb36714528a9563dd3b92720c5063a1284b86f8'} | nvd | A head-based buffer overflow exists in Academy Software Foundation OpenEXR 2.3.0 in writeTileData in ImfTiledOutputFile.cpp that can cause a denial of service via a crafted EXR file. | 2020-12-09 | 1 | https://github.com/AcademySoftwareFoundation/openexr | https://github.com/AcademySoftwareFoundation/openexr/commit/6bb36714528a9563dd3b92720c5063a1284b86f8 | 6bb36714528a9563dd3b92720c5063a1284b86f8 | SINGLE | ['6bb36714528a9563dd3b92720c5063a1284b86f8'] | {'c04673810a86ba050d809da42339aeb7129fc910'} | 6bb36714528a9563dd3b92720c5063a1284b86f8 | 1 | 07/25/2019, 07:23:37 | Fix for #494: validate tile coordinates when doing copyPixels | Peter Hillman | null | {'additions': 7, 'deletions': 0, 'total': 7} | [
{
"additions": 7,
"changes": 7,
"deletions": 0,
"patch": "@@ -1313,6 +1313,13 @@ TiledInputFile::rawTileData (int &dx, int &dy,\n throw IEX_NAMESPACE::ArgExc (\"rawTileData read the wrong tile\");\n }\n }\n+ else\n+ {\n+ if(!isValidTile (... | cpp | CWE-787 | [
"OpenEXR/IlmImf/ImfTiledInputFile.cpp"
] | OpenEXR/IlmImf/ImfTiledInputFile.cpp | 1 |
void process_packet_tail(struct msg_digest *md) "%smessage ignored because it contains a payload type (%s) unexpected by state %s", excuse, enum_show(&ikev1_payload_names, np), st->st_state->name); if (!md->encrypted) { SEND_NOTIFICATION(INVALID_PAYLOAD_TYPE); } | void process_packet_tail(struct msg_digest *md) "%smessage ignored because it contains a payload type (%s) unexpected by state %s", excuse, enum_show(&ikev1_payload_names, np), finite_states[smc->state]->name); if (!md->encrypted) { SEND_NOTIFICATION(INVALID_PAYLOAD_TYPE); } | CVE-2020-1763 | {'CWE-125'} | 2.9 | {'https://github.com/libreswan/libreswan/commit/471a3e41a449d7c753bc4edbba4239501bb62ba8'} | nvd | An out-of-bounds buffer read flaw was found in the pluto daemon of libreswan from versions 3.27 till 3.31 where, an unauthenticated attacker could use this flaw to crash libreswan by sending specially-crafted IKEv1 Informational Exchange packets. The daemon respawns after the crash. | 2020-05-12 | 1 | https://github.com/libreswan/libreswan | https://github.com/libreswan/libreswan/commit/471a3e41a449d7c753bc4edbba4239501bb62ba8 | 471a3e41a449d7c753bc4edbba4239501bb62ba8 | SINGLE | ['471a3e41a449d7c753bc4edbba4239501bb62ba8'] | {'5f053398ade12ae1c4203278ebdc5f0ba29f5fd4'} | 471a3e41a449d7c753bc4edbba4239501bb62ba8 | 1 | 03/19/2020, 18:21:06 | security: Fix for CVE-2020-1763
pluto will crash on a null pointer dereference when trying to log an error
for an IKEv1 packet containing bogus information and/or flags.
Signed-off-by: Paul Wouters <pwouters@redhat.com> | D. Hugh Redelmeier | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -2129,7 +2129,7 @@ void process_packet_tail(struct msg_digest *md)\n \t\t\t\t\t\t\"%smessage ignored because it contains a payload type (%s) unexpected by state %s\",\n \t\t\t\t\t\texcuse,\n \t\t\t\t\t\tenum_show(&ikev1_payload_names, np),... | c | CWE-125 | [
"programs/pluto/ikev1.c"
] | programs/pluto/ikev1.c | 1 |
GF_Err ilst_item_box_read(GF_Box *s,GF_BitStream *bs) if (sub_type == GF_ISOM_BOX_TYPE_DATA ) { e = gf_isom_box_parse(&a, bs); if (!e && ptr->size < a->size) { GF_LOG(GF_LOG_ERROR, GF_LOG_CONTAINER, ("[isom] not enough bytes in box %s: %d left, reading %d (file %s, line %d)\n", gf_4cc_to_str(ptr->type), ptr->... | GF_Err ilst_item_box_read(GF_Box *s,GF_BitStream *bs) if (sub_type == GF_ISOM_BOX_TYPE_DATA ) { e = gf_isom_box_parse(&a, bs); if (!e && a && (ptr->size < a->size)) { GF_LOG(GF_LOG_ERROR, GF_LOG_CONTAINER, ("[isom] not enough bytes in box %s: %d left, reading %d (file %s, line %d)\n", gf_4cc_to_str(ptr->type)... | CVE-2020-19488 | {'CWE-476'} | 2.9 | {'https://github.com/gpac/gpac/commit/6170024568f4dda310e98ef7508477b425c58d09'} | nvd | An issue was discovered in box_code_apple.c:119 in Gpac MP4Box 0.8.0, allows attackers to cause a Denial of Service due to an invalid read on function ilst_item_Read. | 2021-07-21 | 1 | https://github.com/gpac/gpac | https://github.com/gpac/gpac/commit/6170024568f4dda310e98ef7508477b425c58d09 | 6170024568f4dda310e98ef7508477b425c58d09 | SINGLE | ['6170024568f4dda310e98ef7508477b425c58d09'] | {'4ea02810258c5f415462c76090098a97e6f038f8'} | 6170024568f4dda310e98ef7508477b425c58d09 | 1 | 07/07/2019, 14:51:36 | fixed potential crash - cf #1263 | jeanlf | null | {'additions': 2, 'deletions': 1, 'total': 3} | [
{
"additions": 2,
"changes": 3,
"deletions": 1,
"patch": "@@ -112,14 +112,15 @@ GF_Err ilst_item_box_read(GF_Box *s,GF_BitStream *bs)\n \tif (sub_type == GF_ISOM_BOX_TYPE_DATA ) {\n \t\te = gf_isom_box_parse(&a, bs);\n \n-\t\tif (!e && ptr->size < a->size) {\n+\t\tif (!e && a && (ptr->size < a->size... | c | CWE-476 | [
"src/isomedia/box_code_apple.c"
] | src/isomedia/box_code_apple.c | 1 |
int CGIFFF DGifSlurp(CGIFFF GifFileType *GifFile) memcpy(ep->Bytes,ExtData,ep->ByteCount * sizeof(char)); #else if (ExtData==NULL) break; AddExtensionBlock(sp, ExtData[0], ExtData+1); #endif } } | int CGIFFF DGifSlurp(CGIFFF GifFileType *GifFile) memcpy(ep->Bytes,ExtData,ep->ByteCount * sizeof(char)); #else if (ExtData==NULL) break; AddExtensionBlock(&ext, ExtData[0], ExtData+1); ext.ExtensionBlocks[ext.ExtensionBlockCount-1].code=ext_code; ... | CVE-2020-19491 | {'CWE-787'} | 6.4 | {'https://github.com/pts/sam2p/commit/1d62cf8964bfcafa6561c4c3bb66d4aa4c529a73'} | nvd | There is an invalid memory access bug in cgif.c that leads to a Segmentation fault in sam2p 0.49.4. A crafted input will lead to a denial of service or possibly unspecified other impact. | 2021-07-21 | 1 | https://github.com/pts/sam2p | https://github.com/pts/sam2p/commit/1d62cf8964bfcafa6561c4c3bb66d4aa4c529a73 | 1d62cf8964bfcafa6561c4c3bb66d4aa4c529a73 | SINGLE | ['1d62cf8964bfcafa6561c4c3bb66d4aa4c529a73'] | {'287209a5a8ca01577ef1f26dfeb109f62176e37b'} | 1d62cf8964bfcafa6561c4c3bb66d4aa4c529a73 | 1 | 07/18/2019, 14:56:16 | fixed segfault in GIF reading; this fixes https://github.com/pts/sam2p/issues/67 | Peter Szabo | null | {'additions': 2, 'deletions': 1, 'total': 3} | [
{
"additions": 2,
"changes": 3,
"deletions": 1,
"patch": "@@ -1551,7 +1551,8 @@ int CGIFFF DGifSlurp(CGIFFF GifFileType *GifFile)\n \t\t\t memcpy(ep->Bytes,ExtData,ep->ByteCount * sizeof(char));\n \t\t\t#else\n \t\t\t if (ExtData==NULL) break;\n- \t\t\t AddExtensionBlock(sp, ExtData[0], Ex... | c | CWE-787 | [
"cgif.c"
] | cgif.c | 1 |
ReadNextCell( mat_t *mat, matvar_t *matvar ) if ( uncomp_buf[0] == MAT_T_INT8 ) { /* Name not in tag */ mat_uint32_t len = uncomp_buf[1]; if ( len % 8 > 0 ) len = len+(8-(len % 8)); cells[i]->nam... | ReadNextCell( mat_t *mat, matvar_t *matvar ) if ( uncomp_buf[0] == MAT_T_INT8 ) { /* Name not in tag */ mat_uint32_t len = uncomp_buf[1]; if ( len % 8 > 0 ) { if ( len < UINT32_MAX - 8 + (len % 8) ) ... | CVE-2020-19497 | {'CWE-190'} | 6.4 | {'https://github.com/tbeu/matio/commit/5fa49ef9fc4368fe3d19b5fdaa36d8fa5e7f4606'} | nvd | Integer overflow vulnerability in Mat_VarReadNextInfo5 in mat5.c in tbeu matio (aka MAT File I/O Library) 1.5.17, allows attackers to cause a Denial of Service or possibly other unspecified impacts. | 2021-07-21 | 1 | https://github.com/tbeu/matio | https://github.com/tbeu/matio/commit/5fa49ef9fc4368fe3d19b5fdaa36d8fa5e7f4606 | 5fa49ef9fc4368fe3d19b5fdaa36d8fa5e7f4606 | SINGLE | ['5fa49ef9fc4368fe3d19b5fdaa36d8fa5e7f4606'] | {'bcf04478b207d6922a9d11692d25a514e79dc4fa'} | 5fa49ef9fc4368fe3d19b5fdaa36d8fa5e7f4606 | 1 | 07/29/2019, 12:25:56 | Fix integer addition overflow
As reported by https://github.com/tbeu/matio/issues/121 | tbeu | null | {'additions': 32, 'deletions': 7, 'total': 39} | [
{
"additions": 32,
"changes": 39,
"deletions": 7,
"patch": "@@ -1009,9 +1009,16 @@ ReadNextCell( mat_t *mat, matvar_t *matvar )\n if ( uncomp_buf[0] == MAT_T_INT8 ) { /* Name not in tag */\n mat_uint32_t len = uncomp_buf[1];\n \n- ... | c | CWE-190 | [
"src/mat5.c"
] | src/mat5.c | 1 |
PLT_HttpServer::ServeFile(const NPT_HttpRequest& request, NPT_FileInfo file_info; // prevent hackers from accessing files outside of our root if ((file_path.Find("/..") >= 0) || (file_path.Find("\\..") >= 0) || NPT_FAILED(NPT_File::GetInfo(file_path, &file_info))) { ... | PLT_HttpServer::ServeFile(const NPT_HttpRequest& request, NPT_FileInfo file_info; // prevent hackers from accessing files outside of our root if ((file_path.Find("../") >= 0) || (file_path.Find("..\\") >= 0) || NPT_FAILED(NPT_File::GetInfo(file_path, &file_info))) { ... | CVE-2020-19858 | {'CWE-22'} | 2.9 | {'https://github.com/plutinosoft/Platinum/commit/9a4ceaccb1585ec35c45fd8e2585538fff6a865e'} | nvd | Platinum Upnp SDK through 1.2.0 has a directory traversal vulnerability. The attack could remote attack victim by sending http://ip:port/../privacy.avi URL to compromise a victim's privacy. | 2022-01-21 | 1 | https://github.com/plutinosoft/Platinum | https://github.com/plutinosoft/Platinum/commit/9a4ceaccb1585ec35c45fd8e2585538fff6a865e | 9a4ceaccb1585ec35c45fd8e2585538fff6a865e | SINGLE | ['9a4ceaccb1585ec35c45fd8e2585538fff6a865e'] | {'39c91be082a7894928d15bfd45e334b64f6a6882'} | 9a4ceaccb1585ec35c45fd8e2585538fff6a865e | 1 | 07/23/2019, 06:07:31 | Fix vulnerability around urls crafter as http://host/../secret.foo (#24) | Sylvain Rebaud | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -190,7 +190,7 @@ PLT_HttpServer::ServeFile(const NPT_HttpRequest& request,\n NPT_FileInfo file_info;\n \n // prevent hackers from accessing files outside of our root\n- if ((file_path.Find(\"/..\") >= 0) |... | cpp | CWE-22 | [
"Source/Core/PltHttpServer.cpp"
] | Source/Core/PltHttpServer.cpp | 1 |
static void handle_PORT(ctrl_t *ctrl, char *str) /* Convert PORT command's argument to IP address + port */ sscanf(str, "%d,%d,%d,%d,%d,%d", &a, &b, &c, &d, &e, &f); sprintf(addr, "%d.%d.%d.%d", a, b, c, d); /* Check IPv4 address using inet_aton(), throw away converted result */ if (!inet_aton(addr, &(sin.sin_a... | static void handle_PORT(ctrl_t *ctrl, char *str) /* Convert PORT command's argument to IP address + port */ sscanf(str, "%d,%d,%d,%d,%d,%d", &a, &b, &c, &d, &e, &f); snprintf(addr, sizeof(addr), "%d.%d.%d.%d", a, b, c, d); /* Check IPv4 address using inet_aton(), throw away converted result */ if (!inet_aton(ad... | CVE-2020-20276 | {'CWE-787'} | 6.4 | {'https://github.com/troglobit/uftpd/commit/0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd'} | nvd | An unauthenticated stack-based buffer overflow vulnerability in common.c's handle_PORT in uftpd FTP server versions 2.10 and earlier can be abused to cause a crash and could potentially lead to remote code execution. | 2020-12-18 | 1 | https://github.com/troglobit/uftpd | https://github.com/troglobit/uftpd/commit/0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd | 0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd | SINGLE | ['0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd'] | {'e82248683ed7d53be1e01526f7b2a53dde545ef9'} | 0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd | 1 | 08/31/2019, 08:07:39 | FTP: Fix buffer overflow in PORT parser, reported by Aaron Esau
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> | Joachim Nilsson | {'com_1': {'author': 'abergmann', 'datetime': '12/21/2020, 07:49:38', 'body': '[CVE-2020-20276](https://nvd.nist.gov/vuln/detail/CVE-2020-20276) was assigned to this issue.'}, 'com_2': {'author': 'troglobit', 'datetime': '12/21/2020, 10:25:53', 'body': "@abergmann Hmm, another one? I thought CVE-2020-5204 was the offi... | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -441,7 +441,7 @@ static void handle_PORT(ctrl_t *ctrl, char *str)\n \n \t/* Convert PORT command's argument to IP address + port */\n \tsscanf(str, \"%d,%d,%d,%d,%d,%d\", &a, &b, &c, &d, &e, &f);\n-\tsprintf(addr, \"%d.%d.%d.%d\", a, b, c,... | c | CWE-787 | [
"src/ftpcmd.c"
] | src/ftpcmd.c | 1 |
char *compose_path(ctrl_t *ctrl, char *path) strlcat(rpath, name, sizeof(rpath)); } if (!chrooted && strncmp(dir, home, strlen(home))) { DBG("Failed non-chroot dir:%s vs home:%s", dir, home); return NULL; } | char *compose_path(ctrl_t *ctrl, char *path) strlcat(rpath, name, sizeof(rpath)); } if (!chrooted && strncmp(rpath, home, strlen(home))) { DBG("Failed non-chroot dir:%s vs home:%s", dir, home); return NULL; } | CVE-2020-20277 | {'CWE-22'} | 6.4 | {'https://github.com/troglobit/uftpd/commit/455b47d3756aed162d2d0ef7f40b549f3b5b30fe'} | nvd | There are multiple unauthenticated directory traversal vulnerabilities in different FTP commands in uftpd FTP server versions 2.7 to 2.10 due to improper implementation of a chroot jail in common.c's compose_abspath function that can be abused to read or write to arbitrary files on the filesystem, leak process memory, ... | 2020-12-18 | 1 | https://github.com/troglobit/uftpd | https://github.com/troglobit/uftpd/commit/455b47d3756aed162d2d0ef7f40b549f3b5b30fe | 455b47d3756aed162d2d0ef7f40b549f3b5b30fe | SINGLE | ['455b47d3756aed162d2d0ef7f40b549f3b5b30fe'] | {'0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd'} | 455b47d3756aed162d2d0ef7f40b549f3b5b30fe | 1 | 08/31/2019, 08:08:29 | FTP/TFTP: Fix directory traversal regression, reported by Aaron Esau
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> | Joachim Nilsson | {'com_1': {'author': 'abergmann', 'datetime': '12/21/2020, 07:56:15', 'body': '[CVE-2020-20277](https://nvd.nist.gov/vuln/detail/CVE-2020-20277) was assigned to this commit.'}, 'com_2': {'author': 'troglobit', 'datetime': '12/21/2020, 10:24:34', 'body': '@abergmann Weird, I thought it already had been assigned [CVE-202... | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -92,7 +92,7 @@ char *compose_path(ctrl_t *ctrl, char *path)\n \t\tstrlcat(rpath, name, sizeof(rpath));\n \t}\n \n-\tif (!chrooted && strncmp(dir, home, strlen(home))) {\n+\tif (!chrooted && strncmp(rpath, home, strlen(home))) {\n \t\tDBG(\... | c | CWE-22 | [
"src/common.c"
] | src/common.c | 1 |
typedef struct unsigned char suffix; } gif_lzw; typedef struct { int w, h; unsigned char *out; /* output buffer (always 4 components) */ int flags, bgindex, ratio, transparent, eflags; unsigned char pal[256][3]; unsigned char lpal[256][3]; gif_lzw codes[4096]; unsigned char *color_table; i... | typedef struct unsigned char suffix; } gif_lzw; enum { gif_lzw_max_code_size = 12 }; typedef struct { int w, h; unsigned char *out; /* output buffer (always 4 components) */ int flags, bgindex, ratio, transparent, eflags; unsigned char pal[256][3]; unsigned char lpal[256][3]; gif_lzw codes[1... | CVE-2020-21050 | {'CWE-787'} | 2.9 | {'https://github.com/saitoha/libsixel/commit/7808a06b88c11dbc502318cdd51fa374f8cd47ee'} | nvd | Libsixel prior to v1.8.3 contains a stack buffer overflow in the function gif_process_raster at fromgif.c. | 2021-09-14 | 1 | https://github.com/saitoha/libsixel | https://github.com/saitoha/libsixel/commit/7808a06b88c11dbc502318cdd51fa374f8cd47ee | 7808a06b88c11dbc502318cdd51fa374f8cd47ee | SINGLE | ['7808a06b88c11dbc502318cdd51fa374f8cd47ee'] | {'2df64373e58c4f48fbb72032a66473e71fc2a6ce'} | 7808a06b88c11dbc502318cdd51fa374f8cd47ee | 1 | 08/01/2018, 16:59:41 | gif loader: check LZW code size (Issue #75) | Hayaki Saito | null | {'additions': 14, 'deletions': 2, 'total': 16} | [
{
"additions": 14,
"changes": 16,
"deletions": 2,
"patch": "@@ -58,14 +58,18 @@ typedef struct\n unsigned char suffix;\n } gif_lzw;\n \n+enum {\n+ gif_lzw_max_code_size = 12\n+};\n+\n typedef struct\n {\n int w, h;\n unsigned char *out; /* output buffer (always 4 components) */\n int ... | c | CWE-787 | [
"src/fromgif.c"
] | src/fromgif.c | 1 |
function get_parent($schema,$table_name) { echo " ".$text['description-import']."\n"; echo " </td>\n"; echo " <td valign='top' width='70%' align='right'>\n"; echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='devices.php?".$_GET["query_string"]."'\" value='"... | function get_parent($schema,$table_name) { echo " ".$text['description-import']."\n"; echo " </td>\n"; echo " <td valign='top' width='70%' align='right'>\n"; echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='devices.php'\" value='".$text['button-back']."'>\... | CVE-2020-21053 | {'CWE-79'} | 2.9 | {'https://github.com/fusionpbx/fusionpbx/commit/2ce613f1e9fe8ffab7a4cb9d1384444622285335'} | nvd | Cross Site Scriptiong (XSS) vulnerability exists in FusionPBX 4.5.7 allows remote malicious users to inject arbitrary web script or HTML via an unsanitized "query_string" variable in app\devices\device_imports.php. | 2021-05-20 | 1 | https://github.com/fusionpbx/fusionpbx | https://github.com/fusionpbx/fusionpbx/commit/2ce613f1e9fe8ffab7a4cb9d1384444622285335 | 2ce613f1e9fe8ffab7a4cb9d1384444622285335 | SINGLE | ['2ce613f1e9fe8ffab7a4cb9d1384444622285335'] | {'d6ea02d896b2c57dec491ee3b36ec102639270be'} | 2ce613f1e9fe8ffab7a4cb9d1384444622285335 | 1 | 08/13/2019, 06:09:47 | Update device_imports.php | FusionPBX | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -363,7 +363,7 @@ function get_parent($schema,$table_name) {\n \techo \"\t\t\".$text['description-import'].\"\\n\";\r\n \techo \"\t</td>\\n\";\r\n \techo \"\t<td valign='top' width='70%' align='right'>\\n\";\r\n-\techo \"\t\t<input type='bu... | php | CWE-79 | [
"app/devices/device_imports.php"
] | app/devices/device_imports.php | 1 |
<?php /* FusionPBX Version: MPL 1.1 The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ Software distributed under the License is di... | \ No newline at end of file | CVE-2020-21054 | {'CWE-79'} | 2.9 | {'https://github.com/fusionpbx/fusionpbx/commit/2489004c7b7e0b14e21cd86cedaab87fed209415'} | nvd | Cross Site Scripting (XSS) vulnerability in FusionPBX 4.5.7 allows remote malicious users to inject arbitrary web script or HTML via an unsanitized "f" variable in app\vars\vars_textarea.php. | 2021-05-20 | 1 | https://github.com/fusionpbx/fusionpbx | https://github.com/fusionpbx/fusionpbx/commit/2489004c7b7e0b14e21cd86cedaab87fed209415 | 2489004c7b7e0b14e21cd86cedaab87fed209415 | SINGLE | ['2489004c7b7e0b14e21cd86cedaab87fed209415'] | {'a55f1cd5d8edd655058152e9acf212680d5b75f3'} | 2489004c7b7e0b14e21cd86cedaab87fed209415 | 1 | 08/21/2019, 06:29:59 | Delete vars_textarea.php | FusionPBX | null | {'additions': 0, 'deletions': 164, 'total': 164} | [
{
"additions": 0,
"changes": 164,
"deletions": 164,
"patch": "@@ -1,164 +0,0 @@\n-<?php\n-/*\n-\tFusionPBX\n-\tVersion: MPL 1.1\n-\n-\tThe contents of this file are subject to the Mozilla Public License Version\n-\t1.1 (the \"License\"); you may not use this file except in compliance with\n-\tthe Li... | php | CWE-79 | [
"app/vars/vars_textarea.php"
] | app/vars/vars_textarea.php | 1 |
James Rose <james.o.rose@gmail.com> */ //includes include "root.php"; require_once "resources/require.php"; //echo "folder: ".$folder."<br>"; //echo "orig filename: ".$filename."<br>";; rename($folder.$filename, $folder.$newfilename); header("Location: fileoptions.php"); } else { //create the token | James Rose <james.o.rose@gmail.com> */ //disable this feature exit; //includes include "root.php"; require_once "resources/require.php"; //echo "folder: ".$folder."<br>"; //echo "orig filename: ".$filename."<br>";; rename($folder.$filename, $folder.$newfilename); header("Location: file_options.php"); } ... | CVE-2020-21055 | {'CWE-22'} | 2.9 | {'https://github.com/fusionpbx/fusionpbx/commit/1a88ca61a744914d3336cc15a40fb3edbcde9085'} | nvd | A Directory Traversal vulnerability exists in FusionPBX 4.5.7 allows malicoius users to rename any file of the system.via the (1) folder, (2) filename, and (3) newfilename variables in app\edit\filerename.php. | 2021-05-20 | 1 | https://github.com/fusionpbx/fusionpbx | https://github.com/fusionpbx/fusionpbx/commit/1a88ca61a744914d3336cc15a40fb3edbcde9085 | 1a88ca61a744914d3336cc15a40fb3edbcde9085 | SINGLE | ['1a88ca61a744914d3336cc15a40fb3edbcde9085'] | {'592ed06597aebe5ac686e876b6a62a58ed43bb6c'} | 1a88ca61a744914d3336cc15a40fb3edbcde9085 | 1 | 08/21/2019, 07:21:21 | Update and rename filerename.php to file_rename.php | FusionPBX | null | {'additions': 4, 'deletions': 1, 'total': 5} | [
{
"additions": 4,
"changes": 5,
"deletions": 1,
"patch": "@@ -25,6 +25,9 @@\n \tJames Rose <james.o.rose@gmail.com>\n */\n \n+//disable this feature\n+\texit;\n+\n //includes\n \tinclude \"root.php\";\n \trequire_once \"resources/require.php\";\n@@ -65,7 +68,7 @@\n \t\t//echo \"folder: \".$folder.\"... | php | CWE-22 | [
"app/edit/file_rename.php"
] | app/edit/file_rename.php | 1 |
James Rose <james.o.rose@gmail.com> */ //includes include "root.php"; require_once "resources/require.php"; require_once "resources/check_auth.php"; //check permissions if (permission_exists('script_editor_save')) { //access granted } //create new folder mkdir($folder.'/'.$foldername); //, 0700 heade... | James Rose <james.o.rose@gmail.com> */ //disable this feature exit; //includes include "root.php"; require_once "resources/require.php"; require_once "resources/check_auth.php"; //check permissions if (permission_exists('script_editor_save')) { //access granted } //create new folder mkdir($folder.'/'.... | CVE-2020-21056 | {'CWE-22'} | 2.9 | {'https://github.com/fusionpbx/fusionpbx/commit/cad71240dee2a82cd5766dd67039a87849031aaa'} | nvd | Directory Traversal vulnerability exists in FusionPBX 4.5.7, which allows a remote malicious user to create folders via the folder variale to app\edit\foldernew.php. | 2021-05-20 | 1 | https://github.com/fusionpbx/fusionpbx | https://github.com/fusionpbx/fusionpbx/commit/cad71240dee2a82cd5766dd67039a87849031aaa | cad71240dee2a82cd5766dd67039a87849031aaa | SINGLE | ['cad71240dee2a82cd5766dd67039a87849031aaa'] | {'026c3958c3c7ca6b2ff067addc991aac8f41cf11'} | cad71240dee2a82cd5766dd67039a87849031aaa | 1 | 08/21/2019, 07:23:42 | Update and rename foldernew.php to folder_new.php | FusionPBX | null | {'additions': 5, 'deletions': 2, 'total': 7} | [
{
"additions": 5,
"changes": 7,
"deletions": 2,
"patch": "@@ -25,12 +25,15 @@\n \tJames Rose <james.o.rose@gmail.com>\n */\n \n+//disable this feature\n+\texit;\n+\n //includes\n \tinclude \"root.php\";\n \trequire_once \"resources/require.php\";\n \trequire_once \"resources/check_auth.php\";\n \n-\... | php | CWE-22 | [
"app/edit/folder_new.php"
] | app/edit/folder_new.php | 1 |
Mark J Crane <markjcrane@fusionpbx.com> */ //includes include "root.php"; require_once "resources/require.php"; //delete the folder rmdir($folder); //, 0700 header("Location: fileoptions.php"); } else { //create the token | Mark J Crane <markjcrane@fusionpbx.com> */ //disable this feature exit; //includes include "root.php"; require_once "resources/require.php"; //delete the folder rmdir($folder); //, 0700 header("Location: file_options.php"); } else { //create the token | CVE-2020-21057 | {'CWE-22'} | 4.9 | {'https://github.com/fusionpbx/fusionpbx/commit/026c3958c3c7ca6b2ff067addc991aac8f41cf11'} | nvd | Directory Traversal vulnerability in FusionPBX 4.5.7, which allows a remote malicious user to delete folders on the system via the folder variable to app/edit/folderdelete.php. | 2021-05-20 | 1 | https://github.com/fusionpbx/fusionpbx | https://github.com/fusionpbx/fusionpbx/commit/026c3958c3c7ca6b2ff067addc991aac8f41cf11 | 026c3958c3c7ca6b2ff067addc991aac8f41cf11 | SINGLE | ['026c3958c3c7ca6b2ff067addc991aac8f41cf11'] | {'1a88ca61a744914d3336cc15a40fb3edbcde9085'} | 026c3958c3c7ca6b2ff067addc991aac8f41cf11 | 1 | 08/21/2019, 07:22:17 | Update and rename folderdelete.php to folder_delete.php | FusionPBX | null | {'additions': 4, 'deletions': 1, 'total': 5} | [
{
"additions": 4,
"changes": 5,
"deletions": 1,
"patch": "@@ -24,6 +24,9 @@\n \tMark J Crane <markjcrane@fusionpbx.com>\n */\n \n+//disable this feature\n+\texit;\n+\n //includes\n \tinclude \"root.php\";\n \trequire_once \"resources/require.php\";\n@@ -54,7 +57,7 @@\n \n \t\t//delete the folder\n \... | php | CWE-22 | [
"app/edit/folder_delete.php"
] | app/edit/folder_delete.php | 1 |
static int src_parser_trans_stage_1_2_3(const int tmp_fd, const char *src, const (PBUF_TMP_PREV_CHAR(pbuf) == ' ' || PBUF_TMP_PREV_CHAR(pbuf) == '\t' || PBUF_TMP_PREV_CHAR(pbuf) == '\n')) { pbuf.f_indx++; } else if (pb... | static int src_parser_trans_stage_1_2_3(const int tmp_fd, const char *src, const (PBUF_TMP_PREV_CHAR(pbuf) == ' ' || PBUF_TMP_PREV_CHAR(pbuf) == '\t' || PBUF_TMP_PREV_CHAR(pbuf) == '\n')) { pbuf.f_indx++; } else if (pb... | CVE-2020-21572 | {'CWE-120'} | 2.9 | {'https://github.com/trgil/gilcc/commit/803969389ca9c06237075a7f8eeb1a19e6651759'} | nvd | Buffer overflow vulnerability in function src_parser_trans_stage_1_2_3 trgil gilcc before commit 803969389ca9c06237075a7f8eeb1a19e6651759, allows attackers to cause a denial of service. | 2021-11-02 | 1 | https://github.com/trgil/gilcc | https://github.com/trgil/gilcc/commit/803969389ca9c06237075a7f8eeb1a19e6651759 | 803969389ca9c06237075a7f8eeb1a19e6651759 | SINGLE | ['803969389ca9c06237075a7f8eeb1a19e6651759'] | {'9aa8b0bf8a8387b40517ac0bcc69c25beefac253'} | 803969389ca9c06237075a7f8eeb1a19e6651759 | 1 | 12/22/2019, 21:47:09 | Fix parser tmp-buffer overflow issue | gil | null | {'additions': 3, 'deletions': 1, 'total': 4} | [
{
"additions": 3,
"changes": 4,
"deletions": 1,
"patch": "@@ -171,7 +171,7 @@ static int src_parser_trans_stage_1_2_3(const int tmp_fd, const char *src, const\n (PBUF_TMP_PREV_CHAR(pbuf) == ' ' || PBUF_TMP_PREV_CHAR(pbuf) == '\\t' ||\n PBUF_TM... | c | CWE-120 | [
"src/src_parser.c"
] | src/src_parser.c | 1 |
__FBSDID("$FreeBSD: head/lib/libarchive/archive_string.c 201095 2009-12-28 02:33 #define wmemmove(a,b,i) (wchar_t *)memmove((a), (b), (i) * sizeof(wchar_t)) #endif struct archive_string_conv { struct archive_string_conv *next; char *from_charset; archive_string_append_from_wcs(struct archive_string *as, as->... | __FBSDID("$FreeBSD: head/lib/libarchive/archive_string.c 201095 2009-12-28 02:33 #define wmemmove(a,b,i) (wchar_t *)memmove((a), (b), (i) * sizeof(wchar_t)) #endif #undef max #define max(a, b) ((a)>(b)?(a):(b)) struct archive_string_conv { struct archive_string_conv *next; char *from_charset; archive_str... | CVE-2020-21674 | {'CWE-787'} | 2.9 | {'https://github.com/libarchive/libarchive/commit/4f085eea879e2be745f4d9bf57e8513ae48157f4'} | nvd | Heap-based buffer overflow in archive_string_append_from_wcs() (archive_string.c) in libarchive-3.4.1dev allows remote attackers to cause a denial of service (out-of-bounds write in heap memory resulting into a crash) via a crafted archive file. NOTE: this only affects users who downloaded the development code from Git... | 2020-10-15 | 1 | https://github.com/libarchive/libarchive | https://github.com/libarchive/libarchive/commit/4f085eea879e2be745f4d9bf57e8513ae48157f4 | 4f085eea879e2be745f4d9bf57e8513ae48157f4 | SINGLE | ['4f085eea879e2be745f4d9bf57e8513ae48157f4'] | {'fbd0e40471c996c4c78fa00318f0f7e2e40a5179'} | 4f085eea879e2be745f4d9bf57e8513ae48157f4 | 1 | 12/28/2019, 21:58:08 | Fix a possible heap-buffer-overflow in archive_string_append_from_wcs()
When we grow the archive_string buffer, we have to make sure it fits
at least one maximum-sized multibyte character in the current locale
and the null character.
Fixes #1298 | Martin Matuska | null | {'additions': 7, 'deletions': 2, 'total': 9} | [
{
"additions": 7,
"changes": 9,
"deletions": 2,
"patch": "@@ -75,6 +75,9 @@ __FBSDID(\"$FreeBSD: head/lib/libarchive/archive_string.c 201095 2009-12-28 02:33\n #define wmemmove(a,b,i) (wchar_t *)memmove((a), (b), (i) * sizeof(wchar_t))\n #endif\n \n+#undef max\n+#define max(a, b) ((a)>(b)?(a)... | c | CWE-787 | [
"libarchive/archive_string.c"
] | libarchive/archive_string.c | 1 |
public function applyedit() $aPermissiontemplate = Yii::app()->request->getPost('Permissiontemplates'); $model = $this->loadModel($aPermissiontemplate['ptid']); $newAttributes = array_merge($model->attributes, $aPermissiontemplate); $model->attributes = $newAttributes; | public function applyedit() $aPermissiontemplate = Yii::app()->request->getPost('Permissiontemplates'); $model = $this->loadModel($aPermissiontemplate['ptid']); // XSS filter $aPermissiontemplate['name'] = CHtml::encode($aPermissiontemplate['name']); $aPermissiontemplate['descr... | CVE-2020-22607 | {'CWE-79'} | 2.9 | {'https://github.com/LimeSurvey/LimeSurvey/commit/2aada33c76efbbc35d33c149ac02b1dc16a81f62'} | nvd | Cross Site Scripting vulnerabilty in LimeSurvey 4.1.11+200316 via the (1) name and (2) description parameters in application/controllers/admin/PermissiontemplatesController.php. | 2021-06-28 | 1 | https://github.com/LimeSurvey/LimeSurvey | https://github.com/LimeSurvey/LimeSurvey/commit/2aada33c76efbbc35d33c149ac02b1dc16a81f62 | 2aada33c76efbbc35d33c149ac02b1dc16a81f62 | SINGLE | ['2aada33c76efbbc35d33c149ac02b1dc16a81f62'] | {'a63c6f5a34b41f44111e4bde50226f32997bedc7'} | 2aada33c76efbbc35d33c149ac02b1dc16a81f62 | 1 | 04/02/2020, 08:30:51 | Fixed issue [security] #16068: Stored Cross Site Scripting Vulnerability in permission rules. (Thanks to Matthew Aberegg) | Patrick Teichmann | null | {'additions': 4, 'deletions': 0, 'total': 4} | [
{
"additions": 4,
"changes": 4,
"deletions": 0,
"patch": "@@ -83,6 +83,10 @@ public function applyedit()\n $aPermissiontemplate = Yii::app()->request->getPost('Permissiontemplates');\n $model = $this->loadModel($aPermissiontemplate['ptid']);\n \n+ // XSS filter\n+ $aPer... | php | CWE-79 | [
"application/controllers/admin/PermissiontemplatesController.php"
] | application/controllers/admin/PermissiontemplatesController.php | 1 |
function saveSearch($id=0) { } function _saveSearch(SavedSearch $search) { // Validate the form. $form = $search->getForm($_POST); | function saveSearch($id=0) { } function _saveSearch(SavedSearch $search) { $_POST['queue-name'] = Format::htmlchars($_POST['queue-name']); // Validate the form. $form = $search->getForm($_POST); | CVE-2020-22608 | {'CWE-79'} | 2.9 | {'https://github.com/osTicket/osTicket/commit/d54cca0b265128f119b6c398575175cb10cf1754'} | nvd | Cross Site Scripting vulnerability in Enhancesoft osTicket before v1.12.6 via the queue-name parameter to include/ajax.search.php. | 2021-06-28 | 1 | https://github.com/osTicket/osTicket | https://github.com/osTicket/osTicket/commit/d54cca0b265128f119b6c398575175cb10cf1754 | d54cca0b265128f119b6c398575175cb10cf1754 | SINGLE | ['d54cca0b265128f119b6c398575175cb10cf1754'] | {'fc4c8608fa122f38673b9dddcb8fef4a15a9c884'} | d54cca0b265128f119b6c398575175cb10cf1754 | 1 | 04/16/2020, 14:48:52 | xss: Saved Search Name
This mitigates an issue discovered by Matthew Aberegg where the Name field
for Saved Searches can be exploited via XSS to execute code. This sanitizes
the `$_POST['queue-name']` variable via `Format::htmlchars()` so we are
safe from any XSS attempts on creations and updates. All other Saved Sear... | JediKev | null | {'additions': 1, 'deletions': 0, 'total': 1} | [
{
"additions": 1,
"changes": 1,
"deletions": 0,
"patch": "@@ -202,6 +202,7 @@ function saveSearch($id=0) {\n }\n \n function _saveSearch(SavedSearch $search) {\n+ $_POST['queue-name'] = Format::htmlchars($_POST['queue-name']);\n \n // Validate the form.\n $form = $sear... | php | CWE-79 | [
"include/ajax.search.php"
] | include/ajax.search.php | 1 |
static XMLSharedNodeList* find_impl(xmlXPathContext* ctxt, const string& xpath) xmlXPathObject* result = xmlXPathEval((const xmlChar*)xpath.c_str(), ctxt); if (!result) { xmlXPathFreeContext(ctxt); xmlFreeDoc(ctxt->doc); throw XMLException("Invalid XPath: " + xpath); } if (result->type != XPATH_NODESET) {... | static XMLSharedNodeList* find_impl(xmlXPathContext* ctxt, const string& xpath) xmlXPathObject* result = xmlXPathEval((const xmlChar*)xpath.c_str(), ctxt); if (!result) { xmlFreeDoc(ctxt->doc); xmlXPathFreeContext(ctxt); throw XMLException("Invalid XPath: " + xpath); } if (result->type != XPATH_NODESET) {... | CVE-2020-22617 | {'CWE-416'} | 6.4 | {'https://github.com/Ardour/ardour/commit/96daa4036a425ff3f23a7dfcba57bfb0f942bec6'} | nvd | Ardour v5.12 contains a use-after-free vulnerability in the component ardour/libs/pbd/xml++.cc when using xmlFreeDoc and xmlXPathFreeContext. | 2021-10-08 | 1 | https://github.com/Ardour/ardour | https://github.com/Ardour/ardour/commit/96daa4036a425ff3f23a7dfcba57bfb0f942bec6 | 96daa4036a425ff3f23a7dfcba57bfb0f942bec6 | SINGLE | ['96daa4036a425ff3f23a7dfcba57bfb0f942bec6'] | {'12c4a88db690b0eed3a308a36c8e9cda3db5cca3'} | 96daa4036a425ff3f23a7dfcba57bfb0f942bec6 | 1 | 03/11/2020, 14:49:42 | fix apparent free-ordering issue reported in #7926 | Paul Davis | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -770,16 +770,16 @@ static XMLSharedNodeList* find_impl(xmlXPathContext* ctxt, const string& xpath)\n \txmlXPathObject* result = xmlXPathEval((const xmlChar*)xpath.c_str(), ctxt);\n \n \tif (!result) {\n-\t\txmlXPathFreeContext(ctxt);\n \t\... | cc | CWE-416 | [
"libs/pbd/xml++.cc"
] | libs/pbd/xml++.cc | 1 |
from app import apfell, links, use_ssl from sanic import response from jinja2 import Environment, PackageLoader from sanic_jwt.decorators import scoped, inject_user from app.routes.routes import respect_pivot import urllib.parse env = Environment(loader=PackageLoader('app', 'templates')) async def apiui_command_help... | from app import apfell, links, use_ssl, db_objects from sanic import response from jinja2 import Environment, PackageLoader from sanic_jwt.decorators import scoped, inject_user from app.routes.routes import respect_pivot import urllib.parse import app.database_models.model as db_model env = Environment(loader=Package... | CVE-2020-23014 | {'CWE-79'} | 2.9 | {'https://github.com/its-a-feature/Apfell/commit/5fc64502bc008388514f2b5d1160b677e3b4a7f3'} | nvd | APfell 1.4 is vulnerable to authenticated reflected cross-site scripting (XSS) in /apiui/command_ through the payloadtypes_callback function, which allows an attacker to steal remote admin/user session and/or adding new users to the administration panel. | 2021-01-26 | 1 | https://github.com/its-a-feature/Apfell | https://github.com/its-a-feature/Apfell/commit/5fc64502bc008388514f2b5d1160b677e3b4a7f3 | 5fc64502bc008388514f2b5d1160b677e3b4a7f3 | SINGLE | ['5fc64502bc008388514f2b5d1160b677e3b4a7f3'] | {'f0fa9e680c9cfdd74b4f9178b0da0829ab8ea45f'} | 5fc64502bc008388514f2b5d1160b677e3b4a7f3 | 1 | 04/19/2020, 16:58:23 | fixed an 'Authenticated Cross-Site Scripting' bug on the command help page reported by 'Mohamed A. Baset' of 'Seekurity SA de C.V.' at 'Seekurity.com' on April 17,2020 | Cody Thomas | null | {'additions': 7, 'deletions': 2, 'total': 9} | [
{
"additions": 7,
"changes": 9,
"deletions": 2,
"patch": "@@ -1,9 +1,10 @@\n-from app import apfell, links, use_ssl\n+from app import apfell, links, use_ssl, db_objects\n from sanic import response\n from jinja2 import Environment, PackageLoader\n from sanic_jwt.decorators import scoped, inject_user... | py | CWE-79 | [
"apfell-docker/app/routes/api_routes.py"
] | apfell-docker/app/routes/api_routes.py | 1 |
bool Decoder::canSplitFunctionOn( continue; } auto up = fncStarts.upper_bound(bAddr); --up; Address bFnc = *up; bool Decoder::canSplitFunctionOn( continue; } auto up = fncStarts.upper_bound(pAddr); --up; Address pFnc = *up; | bool Decoder::canSplitFunctionOn( continue; } auto up = fncStarts.upper_bound(bAddr); if (up == fncStarts.begin()) { return false; } --up; Address bFnc = *up; bool Decoder::canSplitFunctionOn( continue; } auto up = fncStarts.upper_bound(pAddr); if (up == fncStarts.begin()) ... | CVE-2020-23907 | {'CWE-787'} | 6.4 | {'https://github.com/avast/retdec/commit/517298bafaaff0a8e3dd60dd055a67c41b545807'} | nvd | An issue was discovered in retdec v3.3. In function canSplitFunctionOn() of ir_modifications.cpp, there is a possible out of bounds read due to a heap buffer overflow. The impact is: Deny of Service, Memory Disclosure, and Possible Code Execution. | 2021-04-21 | 1 | https://github.com/avast/retdec | https://github.com/avast/retdec/commit/517298bafaaff0a8e3dd60dd055a67c41b545807 | 517298bafaaff0a8e3dd60dd055a67c41b545807 | SINGLE | ['517298bafaaff0a8e3dd60dd055a67c41b545807'] | {'63f03e7994763abcbfa941d0def1a14caa48e058'} | 517298bafaaff0a8e3dd60dd055a67c41b545807 | 1 | 09/09/2019, 18:02:50 | Try to fix issue #637
Reference: https://github.com/avast/retdec/issues/637 | azhou | null | {'additions': 6, 'deletions': 0, 'total': 6} | [
{
"additions": 6,
"changes": 6,
"deletions": 0,
"patch": "@@ -423,6 +423,9 @@ bool Decoder::canSplitFunctionOn(\n \t\t\t\tcontinue;\n \t\t\t}\n \t\t\tauto up = fncStarts.upper_bound(bAddr);\n+\t\t\tif (up == fncStarts.begin()) {\n+\t\t\t\treturn false;\n+\t\t\t}\t\n \t\t\t--up;\n \t\t\tAddress bFnc ... | cpp | CWE-787 | [
"src/bin2llvmir/optimizations/decoder/ir_modifications.cpp"
] | src/bin2llvmir/optimizations/decoder/ir_modifications.cpp | 1 |
GF_Err abst_box_read(GF_Box *s, GF_BitStream *bs) i=0; if (ptr->size<8) return GF_ISOM_INVALID_FILE; tmp_strsize =(u32)ptr->size-8; tmp_str = gf_malloc(sizeof(char)*tmp_strsize); if (!tmp_str) return GF_OUT_OF_MEM; memset(tmp_str, 0, sizeof(char)*tmp_strsize); | GF_Err abst_box_read(GF_Box *s, GF_BitStream *bs) i=0; if (ptr->size<8) return GF_ISOM_INVALID_FILE; tmp_strsize =(u32)ptr->size; tmp_str = gf_malloc(sizeof(char)*tmp_strsize); if (!tmp_str) return GF_OUT_OF_MEM; memset(tmp_str, 0, sizeof(char)*tmp_strsize); | CVE-2020-23928 | {'CWE-125'} | 4.9 | {'https://github.com/gpac/gpac/commit/8e05648d6b4459facbc783025c5c42d301fef5c3'} | nvd | An issue was discovered in gpac before 1.0.1. The abst_box_read function in box_code_adobe.c has a heap-based buffer over-read. | 2021-04-21 | 1 | https://github.com/gpac/gpac | https://github.com/gpac/gpac/commit/8e05648d6b4459facbc783025c5c42d301fef5c3 | 8e05648d6b4459facbc783025c5c42d301fef5c3 | SINGLE | ['8e05648d6b4459facbc783025c5c42d301fef5c3'] | {'ce01bd15f711d4575b7424b54b3a395ec64c1784'} | 8e05648d6b4459facbc783025c5c42d301fef5c3 | 1 | 09/01/2020, 15:10:13 | fixed #1568 | jeanlf | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -93,7 +93,7 @@ GF_Err abst_box_read(GF_Box *s, GF_BitStream *bs)\n \n \ti=0;\n \tif (ptr->size<8) return GF_ISOM_INVALID_FILE;\n-\ttmp_strsize =(u32)ptr->size-8;\n+\ttmp_strsize =(u32)ptr->size;\n \ttmp_str = gf_malloc(sizeof(char)*tmp_str... | c | CWE-125 | [
"src/isomedia/box_code_adobe.c"
] | src/isomedia/box_code_adobe.c | 1 |
GF_Err abst_box_read(GF_Box *s, GF_BitStream *bs) memset(tmp_str, 0, sizeof(char)*tmp_strsize); while (tmp_strsize) { tmp_str[i] = gf_bs_read_u8(bs); tmp_strsize--; if (!tmp_str[i]) GF_Err abst_box_read(GF_Box *s, GF_BitStream *bs) ptr->movie_identifier = gf_strdup(tmp_str); } ptr->server_entry_count = g... | GF_Err abst_box_read(GF_Box *s, GF_BitStream *bs) memset(tmp_str, 0, sizeof(char)*tmp_strsize); while (tmp_strsize) { ISOM_DECREASE_SIZE(ptr, 1) tmp_str[i] = gf_bs_read_u8(bs); tmp_strsize--; if (!tmp_str[i]) GF_Err abst_box_read(GF_Box *s, GF_BitStream *bs) ptr->movie_identifier = gf_strdup(tmp_str); } ... | CVE-2020-23931 | {'CWE-125'} | 4.9 | {'https://github.com/gpac/gpac/commit/093283e727f396130651280609e687cd4778e0d1'} | nvd | An issue was discovered in gpac before 1.0.1. The abst_box_read function in box_code_adobe.c has a heap-based buffer over-read. | 2021-04-21 | 1 | https://github.com/gpac/gpac | https://github.com/gpac/gpac/commit/093283e727f396130651280609e687cd4778e0d1 | 093283e727f396130651280609e687cd4778e0d1 | SINGLE | ['093283e727f396130651280609e687cd4778e0d1'] | {'348365dd176f4b03e607aaafce39674a4a0c8165'} | 093283e727f396130651280609e687cd4778e0d1 | 1 | 09/01/2020, 14:42:40 | fixed #1564 | jeanlf | null | {'additions': 13, 'deletions': 4, 'total': 17} | [
{
"additions": 13,
"changes": 17,
"deletions": 4,
"patch": "@@ -99,6 +99,7 @@ GF_Err abst_box_read(GF_Box *s, GF_BitStream *bs)\n \tmemset(tmp_str, 0, sizeof(char)*tmp_strsize);\n \n \twhile (tmp_strsize) {\n+\t\tISOM_DECREASE_SIZE(ptr, 1)\n \t\ttmp_str[i] = gf_bs_read_u8(bs);\n \t\ttmp_strsize--;\n... | c | CWE-125 | [
"src/isomedia/box_code_adobe.c"
] | src/isomedia/box_code_adobe.c | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.