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
int read_header_tga(gdIOCtx *ctx, oTga *tga) return -1; } gdGetBuf(tga->ident, tga->identsize, ctx); } return 1;
int read_header_tga(gdIOCtx *ctx, oTga *tga) return -1; } if (gdGetBuf(tga->ident, tga->identsize, ctx) != tga->identsize) { gd_error("fail to read header ident"); return -1; } } return 1;
CVE-2021-38115
{'CWE-125'}
2.9
{'https://github.com/libgd/libgd/pull/711/commits/8b111b2b4a4842179be66db68d84dda91a246032'}
nvd
read_header_tga in gd_tga.c in the GD Graphics Library (aka LibGD) through 2.3.2 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted TGA file.
2021-08-04
1
https://github.com/libgd/libgd
https://github.com/libgd/libgd/pull/711/commits/8b111b2b4a4842179be66db68d84dda91a246032
8b111b2b4a4842179be66db68d84dda91a246032
SINGLE
['8b111b2b4a4842179be66db68d84dda91a246032']
{'98bdb211d359a6d41dcf2f6102386ec4d56f3b29'}
8b111b2b4a4842179be66db68d84dda91a246032
1
07/19/2021, 05:37:13
fix read out-of-bands in reading tga header file
maryam ebrahimzadeh
null
{'additions': 5, 'deletions': 1, 'total': 6}
[ { "additions": 5, "changes": 6, "deletions": 1, "patch": "@@ -191,7 +191,11 @@ int read_header_tga(gdIOCtx *ctx, oTga *tga)\n \t\t\treturn -1;\n \t\t}\n \n-\t\tgdGetBuf(tga->ident, tga->identsize, ctx);\n+\t\t\n+\t\tif (gdGetBuf(tga->ident, tga->identsize, ctx) != tga->identsize) {\n+\t\t\tgd_error(...
c
CWE-125
[ "src/gd_tga.c" ]
src/gd_tga.c
1
static struct port_buffer *get_inbuf(struct port *port) buf = virtqueue_get_buf(port->in_vq, &len); if (buf) { buf->len = len; buf->offset = 0; port->stats.bytes_received += len; } static void control_work_handler(struct work_struct *work) while ((buf = virtqueue_get_buf(vq, &len))) { spin_unlock(&portdev...
static struct port_buffer *get_inbuf(struct port *port) buf = virtqueue_get_buf(port->in_vq, &len); if (buf) { buf->len = min_t(size_t, len, buf->size); buf->offset = 0; port->stats.bytes_received += len; } static void control_work_handler(struct work_struct *work) while ((buf = virtqueue_get_buf(vq, &len))...
CVE-2021-38160
{'CWE-120'}
10
{'https://github.com/torvalds/linux/commit/d00d8da5869a2608e97cfede094dfc5e11462a46'}
nvd
** DISPUTED ** In drivers/char/virtio_console.c in the Linux kernel before 5.13.4, data corruption or loss can be triggered by an untrusted device that supplies a buf->len value exceeding the buffer size. NOTE: the vendor indicates that the cited data corruption is not a vulnerability in any existing use case; the leng...
2021-08-07
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/d00d8da5869a2608e97cfede094dfc5e11462a46
d00d8da5869a2608e97cfede094dfc5e11462a46
SINGLE
['d00d8da5869a2608e97cfede094dfc5e11462a46']
{'63947b3434f475418b9677a393d025c0962c2cf8'}
d00d8da5869a2608e97cfede094dfc5e11462a46
1
05/25/2021, 12:56:22
virtio_console: Assure used length from device is limited The buf->len might come from an untrusted device. This ensures the value would not exceed the size of the buffer to avoid data corruption or loss. Signed-off-by: Xie Yongji <xieyongji@bytedance.com> Acked-by: Jason Wang <jasowang@redhat.com> Link: https://lore...
Xie Yongji
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -475,7 +475,7 @@ static struct port_buffer *get_inbuf(struct port *port)\n \n \tbuf = virtqueue_get_buf(port->in_vq, &len);\n \tif (buf) {\n-\t\tbuf->len = len;\n+\t\tbuf->len = min_t(size_t, len, buf->size);\n \t\tbuf->offset = 0;\n \t\tp...
c
CWE-120
[ "drivers/char/virtio_console.c" ]
drivers/char/virtio_console.c
1
unsigned long perf_instruction_pointer(struct pt_regs *regs) bool use_siar = regs_use_siar(regs); unsigned long siar = mfspr(SPRN_SIAR); if (ppmu->flags & PPMU_P10_DD1) { if (siar) return siar; else
unsigned long perf_instruction_pointer(struct pt_regs *regs) bool use_siar = regs_use_siar(regs); unsigned long siar = mfspr(SPRN_SIAR); if (ppmu && (ppmu->flags & PPMU_P10_DD1)) { if (siar) return siar; else
CVE-2021-38200
{'CWE-476'}
2.9
{'https://github.com/torvalds/linux/commit/60b7ed54a41b550d50caf7f2418db4a7e75b5bdc'}
nvd
arch/powerpc/perf/core-book3s.c in the Linux kernel before 5.12.13, on systems with perf_event_paranoid=-1 and no specific PMU driver support registered, allows local users to cause a denial of service (perf_instruction_pointer NULL pointer dereference and OOPS) via a "perf record" command.
2021-08-08
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/60b7ed54a41b550d50caf7f2418db4a7e75b5bdc
60b7ed54a41b550d50caf7f2418db4a7e75b5bdc
SINGLE
['60b7ed54a41b550d50caf7f2418db4a7e75b5bdc']
{'478036c4cd1a16e613a2f883d79c03cf187faacb'}
60b7ed54a41b550d50caf7f2418db4a7e75b5bdc
1
06/17/2021, 17:55:06
powerpc/perf: Fix crash in perf_instruction_pointer() when ppmu is not set On systems without any specific PMU driver support registered, running perf record causes Oops. The relevant portion from call trace: BUG: Kernel NULL pointer dereference on read at 0x00000040 Faulting instruction address: 0xc0021f0c Oo...
Athira Rajeev
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -2254,7 +2254,7 @@ unsigned long perf_instruction_pointer(struct pt_regs *regs)\n \tbool use_siar = regs_use_siar(regs);\n \tunsigned long siar = mfspr(SPRN_SIAR);\n \n-\tif (ppmu->flags & PPMU_P10_DD1) {\n+\tif (ppmu && (ppmu->flags & PPM...
c
CWE-476
[ "arch/powerpc/perf/core-book3s.c" ]
arch/powerpc/perf/core-book3s.c
1
static unsigned int xdr_set_page_base(struct xdr_stream *xdr, void *kaddr; maxlen = xdr->buf->page_len; if (base >= maxlen) { base = maxlen; maxlen = 0; } else maxlen -= base; if (len > maxlen) len = maxlen;
static unsigned int xdr_set_page_base(struct xdr_stream *xdr, void *kaddr; maxlen = xdr->buf->page_len; if (base >= maxlen) return 0; else maxlen -= base; if (len > maxlen) len = maxlen;
CVE-2021-38201
{'CWE-119'}
2.9
{'https://github.com/torvalds/linux/commit/6d1c0f3d28f98ea2736128ed3e46821496dc3a8c'}
nvd
net/sunrpc/xdr.c in the Linux kernel before 5.13.4 allows remote attackers to cause a denial of service (xdr_set_page_base slab-out-of-bounds access) by performing many NFS 4.2 READ_PLUS operations.
2021-08-08
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/6d1c0f3d28f98ea2736128ed3e46821496dc3a8c
6d1c0f3d28f98ea2736128ed3e46821496dc3a8c
SINGLE
['6d1c0f3d28f98ea2736128ed3e46821496dc3a8c']
{'3731d44bba8e0116b052b1b374476c5f6dd9a456'}
6d1c0f3d28f98ea2736128ed3e46821496dc3a8c
1
06/09/2021, 21:07:29
sunrpc: Avoid a KASAN slab-out-of-bounds bug in xdr_set_page_base() This seems to happen fairly easily during READ_PLUS testing on NFS v4.2. I found that we could end up accessing xdr->buf->pages[pgnr] with a pgnr greater than the number of pages in the array. So let's just return early if we're setting base to a poin...
Anna Schumaker
null
{'additions': 3, 'deletions': 4, 'total': 7}
[ { "additions": 3, "changes": 7, "deletions": 4, "patch": "@@ -1230,10 +1230,9 @@ static unsigned int xdr_set_page_base(struct xdr_stream *xdr,\n \tvoid *kaddr;\n \n \tmaxlen = xdr->buf->page_len;\n-\tif (base >= maxlen) {\n-\t\tbase = maxlen;\n-\t\tmaxlen = 0;\n-\t} else\n+\tif (base >= maxlen)\n+\t...
c
CWE-119
[ "net/sunrpc/xdr.c" ]
net/sunrpc/xdr.c
1
struct max3421_hcd { */ struct urb *curr_urb; enum scheduling_pass sched_pass; struct usb_device *loaded_dev; /* dev that's loaded into the chip */ int loaded_epnum; /* epnum whose toggles are loaded */ int urb_done; /* > 0 -> no errors, < 0: errno */ size_t curr_len; u8 hien; max3421_set_speed(struct usb_...
struct max3421_hcd { */ struct urb *curr_urb; enum scheduling_pass sched_pass; int urb_done; /* > 0 -> no errors, < 0: errno */ size_t curr_len; u8 hien; max3421_set_speed(struct usb_hcd *hcd, struct usb_device *dev) * Caller must NOT hold HCD spinlock. */ static void max3421_set_address(struct usb_hcd *hcd...
CVE-2021-38204
{'CWE-416'}
6.4
{'https://github.com/torvalds/linux/commit/b5fdf5c6e6bee35837e160c00ac89327bdad031b'}
nvd
drivers/usb/host/max3421-hcd.c in the Linux kernel before 5.13.6 allows physically proximate attackers to cause a denial of service (use-after-free and panic) by removing a MAX-3421 USB device in certain situations.
2021-08-08
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/b5fdf5c6e6bee35837e160c00ac89327bdad031b
b5fdf5c6e6bee35837e160c00ac89327bdad031b
SINGLE
['b5fdf5c6e6bee35837e160c00ac89327bdad031b']
{'5b01248156bd75303e66985c351dee648c149979'}
b5fdf5c6e6bee35837e160c00ac89327bdad031b
1
06/25/2021, 03:14:56
usb: max-3421: Prevent corruption of freed memory The MAX-3421 USB driver remembers the state of the USB toggles for a device/endpoint. To save SPI writes, this was only done when a new device/endpoint was being used. Unfortunately, if the old device was removed, this would cause writes to freed memory. To fix this, ...
Mark Tomlinson
null
{'additions': 14, 'deletions': 30, 'total': 44}
[ { "additions": 14, "changes": 44, "deletions": 30, "patch": "@@ -153,8 +153,6 @@ struct max3421_hcd {\n \t */\n \tstruct urb *curr_urb;\n \tenum scheduling_pass sched_pass;\n-\tstruct usb_device *loaded_dev;\t/* dev that's loaded into the chip */\n-\tint loaded_epnum;\t\t/* epnum whose toggles are l...
c
CWE-416
[ "drivers/usb/host/max3421-hcd.c" ]
drivers/usb/host/max3421-hcd.c
1
temac_start_xmit(struct sk_buff *skb, struct net_device *ndev) smp_mb(); /* Space might have just been freed - check again */ if (temac_check_tx_bd_space(lp, num_frag)) return NETDEV_TX_BUSY; netif_wake_queue(ndev);
temac_start_xmit(struct sk_buff *skb, struct net_device *ndev) smp_mb(); /* Space might have just been freed - check again */ if (temac_check_tx_bd_space(lp, num_frag + 1)) return NETDEV_TX_BUSY; netif_wake_queue(ndev);
CVE-2021-38207
{'CWE-120'}
2.9
{'https://github.com/torvalds/linux/commit/c364df2489b8ef2f5e3159b1dff1ff1fdb16040d'}
nvd
drivers/net/ethernet/xilinx/ll_temac_main.c in the Linux kernel before 5.12.13 allows remote attackers to cause a denial of service (buffer overflow and lockup) by sending heavy network traffic for about ten minutes.
2021-08-08
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/c364df2489b8ef2f5e3159b1dff1ff1fdb16040d
c364df2489b8ef2f5e3159b1dff1ff1fdb16040d
SINGLE
['c364df2489b8ef2f5e3159b1dff1ff1fdb16040d']
{'28d9fab458b16bcd83f9dd07ede3d585c3e1a69e'}
c364df2489b8ef2f5e3159b1dff1ff1fdb16040d
1
06/18/2021, 10:52:33
net: ll_temac: Fix TX BD buffer overwrite Just as the initial check, we need to ensure num_frag+1 buffers available, as that is the number of buffers we are going to use. This fixes a buffer overflow, which might be seen during heavy network load. Complete lockup of TEMAC was reproducible within about 10 minutes of a...
Esben Haabendal
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -861,7 +861,7 @@ temac_start_xmit(struct sk_buff *skb, struct net_device *ndev)\n \t\tsmp_mb();\n \n \t\t/* Space might have just been freed - check again */\n-\t\tif (temac_check_tx_bd_space(lp, num_frag))\n+\t\tif (temac_check_tx_bd_spac...
c
CWE-120
[ "drivers/net/ethernet/xilinx/ll_temac_main.c" ]
drivers/net/ethernet/xilinx/ll_temac_main.c
1
static int llcp_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) if (!llcp_sock->service_name) { nfc_llcp_local_put(llcp_sock->local); llcp_sock->local = NULL; ret = -ENOMEM; goto put_dev; } static int llcp_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) llcp_sock->local = NU...
static int llcp_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) if (!llcp_sock->service_name) { nfc_llcp_local_put(llcp_sock->local); llcp_sock->local = NULL; llcp_sock->dev = NULL; ret = -ENOMEM; goto put_dev; } static int llcp_sock_bind(struct socket *sock, struct sockaddr *addr, int alen...
CVE-2021-38208
{'CWE-476'}
2.9
{'https://github.com/torvalds/linux/commit/4ac06a1e013cf5fdd963317ffd3b968560f33bba'}
nvd
net/nfc/llcp_sock.c in the Linux kernel before 5.12.10 allows local unprivileged users to cause a denial of service (NULL pointer dereference and BUG) by making a getsockname call after a certain type of failure of a bind call.
2021-08-08
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/4ac06a1e013cf5fdd963317ffd3b968560f33bba
4ac06a1e013cf5fdd963317ffd3b968560f33bba
SINGLE
['4ac06a1e013cf5fdd963317ffd3b968560f33bba']
{'593f555fbc6091bbaec8dd2a38b47ee643412e61'}
4ac06a1e013cf5fdd963317ffd3b968560f33bba
1
05/31/2021, 07:21:38
nfc: fix NULL ptr dereference in llcp_sock_getname() after failed connect It's possible to trigger NULL pointer dereference by local unprivileged user, when calling getsockname() after failed bind() (e.g. the bind fails because LLCP_SAP_MAX used as SAP): BUG: kernel NULL pointer dereference, address: 00000000000000...
Krzysztof Kozlowski
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -110,6 +110,7 @@ static int llcp_sock_bind(struct socket *sock, struct sockaddr *addr, int alen)\n \tif (!llcp_sock->service_name) {\n \t\tnfc_llcp_local_put(llcp_sock->local);\n \t\tllcp_sock->local = NULL;\n+\t\tllcp_sock->dev = NULL;\n ...
c
CWE-476
[ "net/nfc/llcp_sock.c" ]
net/nfc/llcp_sock.c
1
$unkind = 'send'; else if ($kind == 'send') $unkind = 'recv'; else alert(''.$kind .'값을 넘겨주세요.'); if ($page < 1) { $page = 1; } // 페이지가 없으면 첫 페이지 (1 페이지)
$unkind = 'send'; else if ($kind == 'send') $unkind = 'recv'; else { $kind = clean_xss_tags(trim($kind)); alert(''.$kind .'값을 넘겨주세요.'); } if ($page < 1) { $page = 1; } // 페이지가 없으면 첫 페이지 (1 페이지)
CVE-2021-3831
{'CWE-79'}
2.9
{'https://github.com/gnuboard/gnuboard5/commit/2e81619ea87bc9c0b4a073d8df3c7693a6fdbf0d'}
nvd
gnuboard5 is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
2021-12-14
1
https://github.com/gnuboard/gnuboard5
https://github.com/gnuboard/gnuboard5/commit/2e81619ea87bc9c0b4a073d8df3c7693a6fdbf0d
2e81619ea87bc9c0b4a073d8df3c7693a6fdbf0d
SINGLE
['2e81619ea87bc9c0b4a073d8df3c7693a6fdbf0d']
{'796b6d9ab135048c334182c0f959e5a0c1dcbe16'}
2e81619ea87bc9c0b4a073d8df3c7693a6fdbf0d
1
12/14/2021, 07:10:41
$kind 변수를 이용한 XSS 취약점 수정 (Pocas님,211214)
kagla
{'com_1': {'author': 'P0cas', 'datetime': '12/14/2021, 08:09:11', 'body': 'Thanks you for to patch. and Can I assign a CVE and publish it?'}, 'com_2': {'author': 'gnuboard', 'datetime': '12/14/2021, 08:25:34', 'body': '> Thanks you for to patch. and Can I assign a CVE and publish it?Can I assign a CVE and publish it?\r...
{'additions': 3, 'deletions': 1, 'total': 4}
[ { "additions": 3, "changes": 4, "deletions": 1, "patch": "@@ -15,8 +15,10 @@\n $unkind = 'send';\n else if ($kind == 'send')\n $unkind = 'recv';\n-else\n+else {\n+ $kind = clean_xss_tags(trim($kind));\n alert(''.$kind .'값을 넘겨주세요.');\n+}\n \n if ($page < 1) { $page = 1; } // 페이지가 없으면 첫...
php
CWE-79
[ "bbs/memo.php" ]
bbs/memo.php
1
net_bind(short unsigned *port, int type, const char *log_service_name) struct addrinfo hints = { 0 }; struct addrinfo *servinfo; struct addrinfo *ptr; const char *cfgaddr; char addr[INET6_ADDRSTRLEN]; char strport[8]; net_bind(short unsigned *port, int type, const char *log_service_name) goto error; ...
net_bind(short unsigned *port, int type, const char *log_service_name) struct addrinfo hints = { 0 }; struct addrinfo *servinfo; struct addrinfo *ptr; union net_sockaddr naddr = { 0 }; socklen_t naddr_len = sizeof(naddr); const char *cfgaddr; char addr[INET6_ADDRSTRLEN]; char strport[8]; net_bind(short...
CVE-2021-38383
{'CWE-416'}
6.4
{'https://github.com/owntone/owntone-server/commit/246d8ae0cef27377e5dfe9ee3ad87e864d6b6266'}
nvd
OwnTone (aka owntone-server) through 28.1 has a use-after-free in net_bind() in misc.c.
2021-08-10
1
https://github.com/owntone/owntone-server
https://github.com/owntone/owntone-server/commit/246d8ae0cef27377e5dfe9ee3ad87e864d6b6266
246d8ae0cef27377e5dfe9ee3ad87e864d6b6266
SINGLE
['246d8ae0cef27377e5dfe9ee3ad87e864d6b6266']
{'dc8e66109eb46a80383185f72eddc02e40704ca0'}
246d8ae0cef27377e5dfe9ee3ad87e864d6b6266
1
07/30/2021, 22:55:48
[misc] Fix use-after-free in net_bind() Thanks to Ba Jinsheng for reporting this bug
ejurgensen
null
{'additions': 13, 'deletions': 5, 'total': 18}
[ { "additions": 13, "changes": 18, "deletions": 5, "patch": "@@ -251,6 +251,8 @@ net_bind(short unsigned *port, int type, const char *log_service_name)\n struct addrinfo hints = { 0 };\n struct addrinfo *servinfo;\n struct addrinfo *ptr;\n+ union net_sockaddr naddr = { 0 };\n+ socklen_t naddr...
c
CWE-416
[ "src/misc.c" ]
src/misc.c
1
public function saveAttachmentFromApi(Attachment $attachment, string $content): $allowedMime = config('firefly.allowedMimes'); if (!in_array($mime, $allowedMime, true)) { Log::error(sprintf('Mime type %s is not allowed for API file upload.', $mime)); return false; }
public function saveAttachmentFromApi(Attachment $attachment, string $content): $allowedMime = config('firefly.allowedMimes'); if (!in_array($mime, $allowedMime, true)) { Log::error(sprintf('Mime type %s is not allowed for API file upload.', $mime)); fclose($resource); ...
CVE-2021-3846
{'CWE-434'}
6.4
{'https://github.com/firefly-iii/firefly-iii/commit/a85b6420c19ace35134f896e094e1971d8c7954b'}
nvd
firefly-iii is vulnerable to Unrestricted Upload of File with Dangerous Type
2021-10-19
1
https://github.com/firefly-iii/firefly-iii
https://github.com/firefly-iii/firefly-iii/commit/a85b6420c19ace35134f896e094e1971d8c7954b
a85b6420c19ace35134f896e094e1971d8c7954b
SINGLE
['a85b6420c19ace35134f896e094e1971d8c7954b']
{'3f1ec6a6d24cf79f65ca60c081da897c47168f4d'}
a85b6420c19ace35134f896e094e1971d8c7954b
1
10/01/2021, 09:33:45
Make sure temp file is closed (and thus deleted)
James Cole
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -171,6 +171,7 @@ public function saveAttachmentFromApi(Attachment $attachment, string $content):\n $allowedMime = config('firefly.allowedMimes');\n if (!in_array($mime, $allowedMime, true)) {\n Log::error(sprint...
php
CWE-434
[ "app/Helpers/Attachments/AttachmentHelper.php" ]
app/Helpers/Attachments/AttachmentHelper.php
1
MOBI_RET mobi_parse_huffdic(const MOBIData *m, MOBIHuffCdic *huffcdic) { } curr = curr->next; } return MOBI_SUCCESS; }
MOBI_RET mobi_parse_huffdic(const MOBIData *m, MOBIHuffCdic *huffcdic) { } curr = curr->next; } if (huffcdic->index_count != huffcdic->index_read) { debug_print("CDIC: wrong read index count: %zu, total: %zu\n", huffcdic->index_read, huffcdic->index_count); return MOBI_DATA_CORR...
CVE-2021-3888
{'CWE-119'}
4.9
{'https://github.com/bfabiszewski/libmobi/commit/c78e186739b50d156cb3da5d08d70294f0490853'}
nvd
libmobi is vulnerable to Use of Out-of-range Pointer Offset
2021-10-19
1
https://github.com/bfabiszewski/libmobi
https://github.com/bfabiszewski/libmobi/commit/c78e186739b50d156cb3da5d08d70294f0490853
c78e186739b50d156cb3da5d08d70294f0490853
SINGLE
['c78e186739b50d156cb3da5d08d70294f0490853']
{'bec783e6212439a335ba6e8df7ab8ed610ca9a21'}
c78e186739b50d156cb3da5d08d70294f0490853
1
09/18/2021, 19:56:15
Fix potential out-of-buffer read while parsing corrupt file, closes #38
Bartek Fabiszewski
null
{'additions': 4, 'deletions': 0, 'total': 4}
[ { "additions": 4, "changes": 4, "deletions": 0, "patch": "@@ -752,6 +752,10 @@ MOBI_RET mobi_parse_huffdic(const MOBIData *m, MOBIHuffCdic *huffcdic) {\n }\n curr = curr->next;\n }\n+ if (huffcdic->index_count != huffcdic->index_read) {\n+ debug_print(\"CDIC: wrong read...
c
CWE-119
[ "src/read.c" ]
src/read.c
1
public function __construct( */ public function imageExtensionSupported(string $extension): bool { return in_array(trim($extension, '. \t\n\r\0\x0B'), static::$supportedExtensions); } /**
public function __construct( */ public function imageExtensionSupported(string $extension): bool { return in_array(trim($extension, ". \t\n\r\0\x0B"), static::$supportedExtensions); } /**
CVE-2021-3906
{'CWE-434'}
2.9
{'https://github.com/bookstackapp/bookstack/commit/64937ab826b56d086af9ecea532510d37520ebc8'}
nvd
bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type
2021-10-27
1
https://github.com/bookstackapp/bookstack
https://github.com/bookstackapp/bookstack/commit/64937ab826b56d086af9ecea532510d37520ebc8
64937ab826b56d086af9ecea532510d37520ebc8
SINGLE
['64937ab826b56d086af9ecea532510d37520ebc8']
{'a5401eb00acbae579caca617caa30964fe230d03'}
64937ab826b56d086af9ecea532510d37520ebc8
1
10/26/2021, 01:39:16
Update ImageRepo.php fix image validation vulnerability
Haxatron
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -38,7 +38,7 @@ public function __construct(\n */\n public function imageExtensionSupported(string $extension): bool\n {\n- return in_array(trim($extension, '. \\t\\n\\r\\0\\x0B'), static::$supportedExtensions);\n+ ...
php
CWE-434
[ "app/Uploads/ImageRepo.php" ]
app/Uploads/ImageRepo.php
1
public function returnDates($org = 'all') // cakephp ORM would escape "DATE" datatype in CAST expression $condnotinaction = "'" . implode("', '", $conditions['AND']['NOT']['action']) . "'"; if (!empty($conditions['org'])) { $condOrg = ' AND org = "' . $conditions['or...
public function returnDates($org = 'all') // cakephp ORM would escape "DATE" datatype in CAST expression $condnotinaction = "'" . implode("', '", $conditions['AND']['NOT']['action']) . "'"; if (!empty($conditions['org'])) { $condOrg = sprintf('AND org = %s', $this->g...
CVE-2021-39302
{'CWE-89'}
6.4
{'https://github.com/MISP/MISP/commit/20d9020b76d1f6790c4d84e020d0cc97c929f66b'}
nvd
MISP 2.4.148, in certain configurations, allows SQL injection via the app/Model/Log.php $conditions['org'] value.
2021-08-19
1
https://github.com/MISP/MISP
https://github.com/MISP/MISP/commit/20d9020b76d1f6790c4d84e020d0cc97c929f66b
20d9020b76d1f6790c4d84e020d0cc97c929f66b
SINGLE
['20d9020b76d1f6790c4d84e020d0cc97c929f66b']
{'f91fd30440295add9adc50522418f6493a262d1b'}
20d9020b76d1f6790c4d84e020d0cc97c929f66b
1
08/19/2021, 12:53:10
security: fix unescaped parameter leading to sqli
Luciano Righetti
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -174,7 +174,7 @@ public function returnDates($org = 'all')\n // cakephp ORM would escape \"DATE\" datatype in CAST expression\n $condnotinaction = \"'\" . implode(\"', '\", $conditions['AND']['NOT']['action']) . \"'...
php
CWE-89
[ "app/Model/Log.php" ]
app/Model/Log.php
1
static Image *ReadDCMImage(const ImageInfo *image_info,ExceptionInfo *exception) (void) RelinquishUniqueFileResource(filename); } read_info=DestroyImageInfo(read_info); RelinquishDCMMemory(&info,&map,stream_info,stack,data); image=DestroyImageList(image); if ((status =...
static Image *ReadDCMImage(const ImageInfo *image_info,ExceptionInfo *exception) (void) RelinquishUniqueFileResource(filename); } read_info=DestroyImageInfo(read_info); image=DestroyImageList(image); if ((status == MagickFalse) && (exception->severity < ErrorException)) ...
CVE-2021-3962
{'CWE-416'}
6.4
{'https://github.com/ImageMagick/ImageMagick/commit/82775af03bbb10a0a1d0e15c0156c75673b4525e'}
nvd
A flaw was found in ImageMagick where it did not properly sanitize certain input before using it to invoke convert processes. This flaw allows an attacker to create a specially crafted image that leads to a use-after-free vulnerability when processed by ImageMagick. The highest threat from this vulnerability is to conf...
2021-11-19
1
https://github.com/ImageMagick/ImageMagick
https://github.com/ImageMagick/ImageMagick/commit/82775af03bbb10a0a1d0e15c0156c75673b4525e
82775af03bbb10a0a1d0e15c0156c75673b4525e
SINGLE
['82775af03bbb10a0a1d0e15c0156c75673b4525e']
{'7fef3c3ac8ef5397f8a7f318a5316f09a2c999c7'}
82775af03bbb10a0a1d0e15c0156c75673b4525e
1
11/06/2021, 08:23:02
Moved the free to the correct position to fix #4446.
Dirk Lemstra
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -3996,10 +3996,11 @@ static Image *ReadDCMImage(const ImageInfo *image_info,ExceptionInfo *exception)\n (void) RelinquishUniqueFileResource(filename);\n }\n read_info=DestroyImageInfo(read_info);\n- Relinqu...
c
CWE-416
[ "coders/dcm.c" ]
coders/dcm.c
1
_gd2PutHeader (gdImagePtr im, gdIOCtx * out, int cs, int fmt, int cx, int cy) } static void _gdImageGd2 (gdImagePtr im, gdIOCtx * out, int cs, int fmt) { int ncx, ncy, cx, cy; int x, y, ylo, yhi, xlo, xhi; int chunkLen; _gdImageGd2 (gdImagePtr im, gdIOCtx * out, int cs, int fmt) /* */ chunkData = gdCalloc (cs...
_gd2PutHeader (gdImagePtr im, gdIOCtx * out, int cs, int fmt, int cx, int cy) } /* returns 0 on success, 1 on failure */ static int _gdImageGd2 (gdImagePtr im, gdIOCtx * out, int cs, int fmt) { int ret = 0; int ncx, ncy, cx, cy; int x, y, ylo, yhi, xlo, xhi; int chunkLen; _gdImageGd2 (gdImagePtr im, gdIOCtx * ou...
CVE-2021-40145
{'CWE-415'}
2.9
{'https://github.com/libgd/libgd/commit/c5fd25ce0e48fd5618a972ca9f5e28d6d62006af'}
nvd
** DISPUTED ** gdImageGd2Ptr in gd_gd2.c in the GD Graphics Library (aka LibGD) through 2.3.2 has a double free. NOTE: the vendor's position is "The GD2 image format is a proprietary image format of libgd. It has to be regarded as being obsolete, and should only be used for development and testing purposes."
2021-08-26
1
https://github.com/libgd/libgd
https://github.com/libgd/libgd/commit/c5fd25ce0e48fd5618a972ca9f5e28d6d62006af
c5fd25ce0e48fd5618a972ca9f5e28d6d62006af
SINGLE
['c5fd25ce0e48fd5618a972ca9f5e28d6d62006af']
{'b61fc2dbad5d1a8c0b4f0cbfa0076d9938f723d3', 'a1d4caace613d31209b42d22d9f7ebe37c381f9a'}
c5fd25ce0e48fd5618a972ca9f5e28d6d62006af
1
08/24/2021, 09:34:59
Merge pull request #713 from me22bee/_gdImageGd2 gdImageGd2Ptr memory leak
Pierre Joye
null
{'additions': 15, 'deletions': 3, 'total': 18}
[ { "additions": 15, "changes": 18, "deletions": 3, "patch": "@@ -910,9 +910,11 @@ _gd2PutHeader (gdImagePtr im, gdIOCtx * out, int cs, int fmt, int cx, int cy)\n \n }\n \n-static void\n+/* returns 0 on success, 1 on failure */\n+static int\n _gdImageGd2 (gdImagePtr im, gdIOCtx * out, int cs, int fmt)...
c
CWE-415
[ "src/gd_gd2.c" ]
src/gd_gd2.c
1
void gitn_box_del(GF_Box *s) u32 i; GroupIdToNameBox *ptr = (GroupIdToNameBox *)s; if (ptr == NULL) return; for (i=0; i<ptr->nb_entries; i++) { if (ptr->entries[i].name) gf_free(ptr->entries[i].name); } if (ptr->entries) gf_free(ptr->entries); gf_free(ptr); }
void gitn_box_del(GF_Box *s) u32 i; GroupIdToNameBox *ptr = (GroupIdToNameBox *)s; if (ptr == NULL) return; if (ptr->entries) { for (i=0; i<ptr->nb_entries; i++) { if (ptr->entries[i].name) gf_free(ptr->entries[i].name); } gf_free(ptr->entries); } gf_free(ptr); }
CVE-2021-4043
{'CWE-476'}
2.9
{'https://github.com/gpac/gpac/commit/64a2e1b799352ac7d7aad1989bc06e7b0f2b01db'}
nvd
NULL Pointer Dereference in GitHub repository gpac/gpac prior to 1.1.0.
2022-02-04
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/64a2e1b799352ac7d7aad1989bc06e7b0f2b01db
64a2e1b799352ac7d7aad1989bc06e7b0f2b01db
SINGLE
['64a2e1b799352ac7d7aad1989bc06e7b0f2b01db']
{'50e6fd34a0220ea5ab0f1d3fc8558179bc10a596'}
64a2e1b799352ac7d7aad1989bc06e7b0f2b01db
1
02/01/2022, 14:28:23
fixed #2092
jeanlf
null
{'additions': 5, 'deletions': 3, 'total': 8}
[ { "additions": 5, "changes": 8, "deletions": 3, "patch": "@@ -11083,10 +11083,12 @@ void gitn_box_del(GF_Box *s)\n \tu32 i;\n \tGroupIdToNameBox *ptr = (GroupIdToNameBox *)s;\n \tif (ptr == NULL) return;\n-\tfor (i=0; i<ptr->nb_entries; i++) {\n-\t\tif (ptr->entries[i].name) gf_free(ptr->entries[i]....
c
CWE-476
[ "src/isomedia/box_code_base.c" ]
src/isomedia/box_code_base.c
1
void dostor(char *name, const int append, const int autorename) if (quota_update(&quota, 0LL, 0LL, &overflow) == 0 && (overflow > 0 || quota.files >= user_quota_files || quota.size > user_quota_size || (max_filesize >= (off_t) 0 && (max_filesize = user_quota_size - quota.size) <...
void dostor(char *name, const int append, const int autorename) if (quota_update(&quota, 0LL, 0LL, &overflow) == 0 && (overflow > 0 || quota.files >= user_quota_files || quota.size > user_quota_size || (max_filesize = user_quota_size - quota.size) < (off_t) 0)) { overflow = 1; ...
CVE-2021-40524
{'CWE-434'}
2.9
{'https://github.com/jedisct1/pure-ftpd/commit/37ad222868e52271905b94afea4fc780d83294b4'}
nvd
In Pure-FTPd before 1.0.50, an incorrect max_filesize quota mechanism in the server allows attackers to upload files of unbounded size, which may lead to denial of service or a server hang. This occurs because a certain greater-than-zero test does not anticipate an initial -1 value. (Versions 1.0.23 through 1.0.49 are ...
2021-09-05
1
https://github.com/jedisct1/pure-ftpd
https://github.com/jedisct1/pure-ftpd/commit/37ad222868e52271905b94afea4fc780d83294b4
37ad222868e52271905b94afea4fc780d83294b4
SINGLE
['37ad222868e52271905b94afea4fc780d83294b4']
{'fa21200d7786a8aee5b12cd24a995b902b51415a'}
37ad222868e52271905b94afea4fc780d83294b4
1
11/23/2021, 17:53:34
Initialize the max upload file size when quotas are enabled Due to an unwanted check, files causing the quota to be exceeded were deleted after the upload, but not during the upload. The bug was introduced in 2009 in version 1.0.23 Spotted by @DroidTest, thanks!
Frank Denis
null
{'additions': 1, 'deletions': 2, 'total': 3}
[ { "additions": 1, "changes": 3, "deletions": 2, "patch": "@@ -4247,8 +4247,7 @@ void dostor(char *name, const int append, const int autorename)\n if (quota_update(&quota, 0LL, 0LL, &overflow) == 0 &&\n (overflow > 0 || quota.files >= user_quota_files ||\n quota.size > user_quota...
c
CWE-434
[ "src/ftpd.c" ]
src/ftpd.c
1
static void naludmx_queue_param_set(GF_NALUDmxCtx *ctx, char *data, u32 size, u3 { GF_List *list = NULL, *alt_list = NULL; GF_NALUFFParam *sl; u32 i, count; u32 crc = gf_crc_32(data, size); if (ctx->codecid==GF_CODECID_HEVC) { switch (ps_type) {
static void naludmx_queue_param_set(GF_NALUDmxCtx *ctx, char *data, u32 size, u3 { GF_List *list = NULL, *alt_list = NULL; GF_NALUFFParam *sl; u32 i, count, crc; if (!size) return; crc = gf_crc_32(data, size); if (ctx->codecid==GF_CODECID_HEVC) { switch (ps_type) {
CVE-2021-40563
{'CWE-476'}
2.9
{'https://github.com/gpac/gpac/commit/5ce0c906ed8599d218036b18b78e8126a496f137'}
nvd
A Segmentation fault exists casued by null pointer dereference exists in Gpac through 1.0.1 via the naludmx_create_avc_decoder_config function in reframe_nalu.c when using mp4box, which causes a denial of service.
2022-01-12
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/5ce0c906ed8599d218036b18b78e8126a496f137
5ce0c906ed8599d218036b18b78e8126a496f137
SINGLE
['5ce0c906ed8599d218036b18b78e8126a496f137']
{'b03c9f252526bb42fbd1b87b9f5e339c3cf2390a'}
5ce0c906ed8599d218036b18b78e8126a496f137
1
08/30/2021, 14:06:09
fixed #1892
jeanlf
null
{'additions': 4, 'deletions': 2, 'total': 6}
[ { "additions": 4, "changes": 6, "deletions": 2, "patch": "@@ -1680,8 +1680,10 @@ static void naludmx_queue_param_set(GF_NALUDmxCtx *ctx, char *data, u32 size, u3\n {\n \tGF_List *list = NULL, *alt_list = NULL;\n \tGF_NALUFFParam *sl;\n-\tu32 i, count;\n-\tu32 crc = gf_crc_32(data, size);\n+\tu32 i, ...
c
CWE-476
[ "src/filters/reframe_nalu.c" ]
src/filters/reframe_nalu.c
1
u32 gf_bs_read_ue_log_idx3(GF_BitStream *bs, const char *fname, s32 idx1, s32 id } if (nb_lead) { val = gf_bs_read_int(bs, nb_lead); val += (1 << nb_lead) - 1; bits += nb_lead; } static s32 avc_parse_slice(GF_BitStream *bs, AVCState *avc, Bool svc_idr_flag, A if (si->slice_type > 9) return -1; pps_id = g...
u32 gf_bs_read_ue_log_idx3(GF_BitStream *bs, const char *fname, s32 idx1, s32 id } if (nb_lead) { u32 leads=1; val = gf_bs_read_int(bs, nb_lead); leads <<= nb_lead; leads -= 1; val += leads; // val += (1 << nb_lead) - 1; bits += nb_lead; } static s32 avc_parse_slice(GF_BitStream *bs, AVCState *avc, B...
CVE-2021-40564
{'CWE-476'}
2.9
{'https://github.com/gpac/gpac/commit/cf6771c857eb9a290e2c19ddacfdd3ed98b27618'}
nvd
A Segmentation fault caused by null pointer dereference vulnerability eists in Gpac through 1.0.2 via the avc_parse_slice function in av_parsers.c when using mp4box, which causes a denial of service.
2022-01-12
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/cf6771c857eb9a290e2c19ddacfdd3ed98b27618
cf6771c857eb9a290e2c19ddacfdd3ed98b27618
SINGLE
['cf6771c857eb9a290e2c19ddacfdd3ed98b27618']
{'30ac5e5236b790accd1f25347eebf2dc8c6c1bcb'}
cf6771c857eb9a290e2c19ddacfdd3ed98b27618
1
08/30/2021, 15:09:02
fixed #1898
jeanlf
null
{'additions': 6, 'deletions': 2, 'total': 8}
[ { "additions": 6, "changes": 8, "deletions": 2, "patch": "@@ -4705,8 +4705,12 @@ u32 gf_bs_read_ue_log_idx3(GF_BitStream *bs, const char *fname, s32 idx1, s32 id\n \t}\n \n \tif (nb_lead) {\n+\t\tu32 leads=1;\n \t\tval = gf_bs_read_int(bs, nb_lead);\n-\t\tval += (1 << nb_lead) - 1;\n+\t\tleads <<= n...
c
CWE-476
[ "src/media_tools/av_parsers.c" ]
src/media_tools/av_parsers.c
1
s32 gf_avc_parse_nalu(GF_BitStream *bs, AVCState *avc) ret = 1; break; } assert(avc->s_info.sps); if (avc->s_info.sps->poc_type == n_state.sps->poc_type) { if (!avc->s_info.sps->poc_type) {
s32 gf_avc_parse_nalu(GF_BitStream *bs, AVCState *avc) ret = 1; break; } if (!avc->s_info.sps) return -1; if (avc->s_info.sps->poc_type == n_state.sps->poc_type) { if (!avc->s_info.sps->poc_type) {
CVE-2021-40565
{'CWE-476'}
2.9
{'https://github.com/gpac/gpac/commit/893fb99b606eebfae46cde151846a980e689039b'}
nvd
A Segmentation fault caused by a null pointer dereference vulnerability exists in Gpac through 1.0.1 via the gf_avc_parse_nalu function in av_parsers.c when using mp4box, which causes a denial of service.
2022-01-12
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/893fb99b606eebfae46cde151846a980e689039b
893fb99b606eebfae46cde151846a980e689039b
SINGLE
['893fb99b606eebfae46cde151846a980e689039b']
{'5dd71c7201a3e5cf40732d585bfb21c906c171d3'}
893fb99b606eebfae46cde151846a980e689039b
1
08/30/2021, 15:29:13
fixed #1902
jeanlf
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -6113,7 +6113,8 @@ s32 gf_avc_parse_nalu(GF_BitStream *bs, AVCState *avc)\n \t\t\tret = 1;\n \t\t\tbreak;\n \t\t}\n-\t\tassert(avc->s_info.sps);\n+\t\tif (!avc->s_info.sps)\n+\t\t\treturn -1;\n \n \t\tif (avc->s_info.sps->poc_type == n_sta...
c
CWE-476
[ "src/media_tools/av_parsers.c" ]
src/media_tools/av_parsers.c
1
u32 gf_bs_read_ue_log_idx3(GF_BitStream *bs, const char *fname, s32 idx1, s32 id u32 bits = 0; for (code=0; !code; nb_lead++) { if (nb_lead>=32) { //gf_bs_read_int keeps returning 0 on EOS, so if no more bits available, rbsp was truncated otherwise code is broken in rbsp) //we only test once nb_lead>=32 to a...
u32 gf_bs_read_ue_log_idx3(GF_BitStream *bs, const char *fname, s32 idx1, s32 id u32 bits = 0; for (code=0; !code; nb_lead++) { if (nb_lead>=32) { break; } code = gf_bs_read_int(bs, 1); bits++; } if (nb_lead>=32) { //gf_bs_read_int keeps returning 0 on EOS, so if no more bits available, rbsp was trun...
CVE-2021-40568
{'CWE-120'}
6.4
{'https://github.com/gpac/gpac/commit/f1ae01d745200a258cdf62622f71754c37cb6c30'}
nvd
A buffer overflow vulnerability exists in Gpac through 1.0.1 via a malformed MP4 file in the svc_parse_slice function in av_parsers.c, which allows attackers to cause a denial of service, even code execution and escalation of privileges.
2022-01-13
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/f1ae01d745200a258cdf62622f71754c37cb6c30
f1ae01d745200a258cdf62622f71754c37cb6c30
SINGLE
['f1ae01d745200a258cdf62622f71754c37cb6c30']
{'04dbf08bff4d61948bab80c3f9096ecc60c7f302'}
f1ae01d745200a258cdf62622f71754c37cb6c30
1
08/30/2021, 15:20:00
fixed #1900
jeanlf
null
{'additions': 13, 'deletions': 10, 'total': 23}
[ { "additions": 13, "changes": 23, "deletions": 10, "patch": "@@ -4690,20 +4690,23 @@ u32 gf_bs_read_ue_log_idx3(GF_BitStream *bs, const char *fname, s32 idx1, s32 id\n \tu32 bits = 0;\n \tfor (code=0; !code; nb_lead++) {\n \t\tif (nb_lead>=32) {\n-\t\t\t//gf_bs_read_int keeps returning 0 on EOS, so ...
c
CWE-120
[ "src/media_tools/av_parsers.c" ]
src/media_tools/av_parsers.c
1
GF_Err iloc_box_read(GF_Box *s, GF_BitStream *bs) } for (i = 0; i < item_count; i++) { GF_ItemLocationEntry *location_entry = (GF_ItemLocationEntry *)gf_malloc(sizeof(GF_ItemLocationEntry)); if (!location_entry) return GF_OUT_OF_MEM; gf_list_add(ptr->location_entries, location_entry); GF_Err iloc_box_read(GF...
GF_Err iloc_box_read(GF_Box *s, GF_BitStream *bs) } for (i = 0; i < item_count; i++) { GF_ItemLocationEntry *location_entry; GF_SAFEALLOC(location_entry, GF_ItemLocationEntry); if (!location_entry) return GF_OUT_OF_MEM; gf_list_add(ptr->location_entries, location_entry); GF_Err iloc_box_read(GF_Box *s, GF_...
CVE-2021-40569
{'CWE-415'}
2.9
{'https://github.com/gpac/gpac/commit/b03c9f252526bb42fbd1b87b9f5e339c3cf2390a'}
nvd
The binary MP4Box in Gpac through 1.0.1 has a double-free vulnerability in the iloc_entry_del funciton in box_code_meta.c, which allows attackers to cause a denial of service.
2022-01-13
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/b03c9f252526bb42fbd1b87b9f5e339c3cf2390a
b03c9f252526bb42fbd1b87b9f5e339c3cf2390a
SINGLE
['b03c9f252526bb42fbd1b87b9f5e339c3cf2390a']
{'96047e0e6166407c40cc19f4e94fb35cd7624391'}
b03c9f252526bb42fbd1b87b9f5e339c3cf2390a
1
08/30/2021, 13:55:13
fixed #1890
jeanlf
null
{'additions': 4, 'deletions': 2, 'total': 6}
[ { "additions": 4, "changes": 6, "deletions": 2, "patch": "@@ -282,7 +282,8 @@ GF_Err iloc_box_read(GF_Box *s, GF_BitStream *bs)\n \t}\n \n \tfor (i = 0; i < item_count; i++) {\n-\t\tGF_ItemLocationEntry *location_entry = (GF_ItemLocationEntry *)gf_malloc(sizeof(GF_ItemLocationEntry));\n+\t\tGF_ItemL...
c
CWE-415
[ "src/isomedia/box_code_meta.c" ]
src/isomedia/box_code_meta.c
1
static s32 gf_avc_read_sps_bs_internal(GF_BitStream *bs, AVCState *avc, u32 subs sps->offset_for_top_to_bottom_field = gf_bs_read_se_log(bs, "offset_for_top_to_bottom_field"); sps->poc_cycle_length = gf_bs_read_ue_log(bs, "poc_cycle_length"); if (sps->poc_cycle_length > GF_ARRAY_LENGTH(sps->offset_for_ref_frame)...
static s32 gf_avc_read_sps_bs_internal(GF_BitStream *bs, AVCState *avc, u32 subs sps->offset_for_top_to_bottom_field = gf_bs_read_se_log(bs, "offset_for_top_to_bottom_field"); sps->poc_cycle_length = gf_bs_read_ue_log(bs, "poc_cycle_length"); if (sps->poc_cycle_length > GF_ARRAY_LENGTH(sps->offset_for_ref_frame)...
CVE-2021-40570
{'CWE-415'}
6.4
{'https://github.com/gpac/gpac/commit/04dbf08bff4d61948bab80c3f9096ecc60c7f302'}
nvd
The binary MP4Box in Gpac 1.0.1 has a double-free vulnerability in the avc_compute_poc function in av_parsers.c, which allows attackers to cause a denial of service, even code execution and escalation of privileges.
2022-01-13
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/04dbf08bff4d61948bab80c3f9096ecc60c7f302
04dbf08bff4d61948bab80c3f9096ecc60c7f302
SINGLE
['04dbf08bff4d61948bab80c3f9096ecc60c7f302']
{'cf6771c857eb9a290e2c19ddacfdd3ed98b27618'}
04dbf08bff4d61948bab80c3f9096ecc60c7f302
1
08/30/2021, 15:15:34
fixed #1899
jeanlf
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -5198,6 +5198,7 @@ static s32 gf_avc_read_sps_bs_internal(GF_BitStream *bs, AVCState *avc, u32 subs\n \t\tsps->offset_for_top_to_bottom_field = gf_bs_read_se_log(bs, \"offset_for_top_to_bottom_field\");\n \t\tsps->poc_cycle_length = gf_bs_...
c
CWE-415
[ "src/media_tools/av_parsers.c" ]
src/media_tools/av_parsers.c
1
GF_AV1Config *gf_odf_av1_cfg_read_bs_size(GF_BitStream *bs, u32 size) size -= (u32) obu_size; } gf_av1_reset_state(& state, GF_TRUE); return cfg; #else return NULL;
GF_AV1Config *gf_odf_av1_cfg_read_bs_size(GF_BitStream *bs, u32 size) size -= (u32) obu_size; } gf_av1_reset_state(& state, GF_TRUE); gf_bs_align(bs); return cfg; #else return NULL;
CVE-2021-40571
{'CWE-415'}
6.4
{'https://github.com/gpac/gpac/commit/a69b567b8c95c72f9560c873c5ab348be058f340'}
nvd
The binary MP4Box in Gpac 1.0.1 has a double-free vulnerability in the ilst_box_read function in box_code_apple.c, which allows attackers to cause a denial of service, even code execution and escalation of privileges.
2022-01-13
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/a69b567b8c95c72f9560c873c5ab348be058f340
a69b567b8c95c72f9560c873c5ab348be058f340
SINGLE
['a69b567b8c95c72f9560c873c5ab348be058f340']
{'86c1566f040b2b84c72afcb6cbd444c5aff56cfe'}
a69b567b8c95c72f9560c873c5ab348be058f340
1
08/30/2021, 14:24:05
fixed #1895
jeanlf
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -1613,6 +1613,7 @@ GF_AV1Config *gf_odf_av1_cfg_read_bs_size(GF_BitStream *bs, u32 size)\n \t\tsize -= (u32) obu_size;\n \t}\n \tgf_av1_reset_state(& state, GF_TRUE);\n+\tgf_bs_align(bs);\n \treturn cfg;\n #else\n \treturn NULL;", "pat...
c
CWE-415
[ "src/odf/descriptors.c" ]
src/odf/descriptors.c
1
void gf_av1_reset_state(AV1State *state, Bool is_destroy) gf_list_del(l1); gf_list_del(l2); if (state->bs) { if (gf_bs_get_position(state->bs)) { u32 size; gf_bs_get_content_no_truncate(state->bs, &state->frame_obus, &size, &state->frame_obus_alloc); } gf_bs_del(state->bs); } state->bs = NUL...
void gf_av1_reset_state(AV1State *state, Bool is_destroy) gf_list_del(l1); gf_list_del(l2); if (state->bs) { u32 size; gf_bs_get_content_no_truncate(state->bs, &state->frame_obus, &size, &state->frame_obus_alloc); gf_bs_del(state->bs); } state->bs = NULL;
CVE-2021-40572
{'CWE-415'}
2.9
{'https://github.com/gpac/gpac/commit/7bb1b4a4dd23c885f9db9f577dfe79ecc5433109'}
nvd
The binary MP4Box in Gpac 1.0.1 has a double-free bug in the av1dmx_finalize function in reframe_av1.c, which allows attackers to cause a denial of service.
2022-01-13
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/7bb1b4a4dd23c885f9db9f577dfe79ecc5433109
7bb1b4a4dd23c885f9db9f577dfe79ecc5433109
SINGLE
['7bb1b4a4dd23c885f9db9f577dfe79ecc5433109']
{'5ce0c906ed8599d218036b18b78e8126a496f137'}
7bb1b4a4dd23c885f9db9f577dfe79ecc5433109
1
08/30/2021, 14:15:32
fixed #1893
jeanlf
null
{'additions': 2, 'deletions': 4, 'total': 6}
[ { "additions": 2, "changes": 6, "deletions": 4, "patch": "@@ -3980,10 +3980,8 @@ void gf_av1_reset_state(AV1State *state, Bool is_destroy)\n \t\tgf_list_del(l1);\n \t\tgf_list_del(l2);\n \t\tif (state->bs) {\n-\t\t\tif (gf_bs_get_position(state->bs)) {\n-\t\t\t\tu32 size;\n-\t\t\t\tgf_bs_get_content...
c
CWE-415
[ "src/media_tools/av_parsers.c" ]
src/media_tools/av_parsers.c
1
char *gf_text_get_utf8_line(char *szLine, u32 lineSize, FILE *txt_in, s32 unicod { u32 i, j, len; char *sOK; char szLineConv[1024]; unsigned short *sptr; memset(szLine, 0, sizeof(char)*lineSize); char *gf_text_get_utf8_line(char *szLine, u32 lineSize, FILE *txt_in, s32 unicod } } sptr = (u16 *)szLine; i = (...
char *gf_text_get_utf8_line(char *szLine, u32 lineSize, FILE *txt_in, s32 unicod { u32 i, j, len; char *sOK; char szLineConv[2048]; unsigned short *sptr; memset(szLine, 0, sizeof(char)*lineSize); char *gf_text_get_utf8_line(char *szLine, u32 lineSize, FILE *txt_in, s32 unicod } } sptr = (u16 *)szLine; i = (...
CVE-2021-40574
{'CWE-415'}
6.4
{'https://github.com/gpac/gpac/commit/30ac5e5236b790accd1f25347eebf2dc8c6c1bcb'}
nvd
The binary MP4Box in Gpac 1.0.1 has a double-free vulnerability in the gf_text_get_utf8_line function in load_text.c, which allows attackers to cause a denial of service, even code execution and escalation of privileges.
2022-01-13
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/30ac5e5236b790accd1f25347eebf2dc8c6c1bcb
30ac5e5236b790accd1f25347eebf2dc8c6c1bcb
SINGLE
['30ac5e5236b790accd1f25347eebf2dc8c6c1bcb']
{'a69b567b8c95c72f9560c873c5ab348be058f340'}
30ac5e5236b790accd1f25347eebf2dc8c6c1bcb
1
08/30/2021, 14:57:38
fixed #1897
jeanlf
null
{'additions': 4, 'deletions': 2, 'total': 6}
[ { "additions": 4, "changes": 6, "deletions": 2, "patch": "@@ -255,7 +255,7 @@ char *gf_text_get_utf8_line(char *szLine, u32 lineSize, FILE *txt_in, s32 unicod\n {\n \tu32 i, j, len;\n \tchar *sOK;\n-\tchar szLineConv[1024];\n+\tchar szLineConv[2048];\n \tunsigned short *sptr;\n \n \tmemset(szLine, 0...
c
CWE-415
[ "src/filters/load_text.c" ]
src/filters/load_text.c
1
GF_Err mpgviddmx_process(GF_Filter *filter) mpgviddmx_enqueue_or_dispatch(ctx, dst_pck, GF_FALSE, GF_FALSE); } //parse headers //we have a start code loaded, eg the data packet does not have a full start code at the beginning if (sc_type_forced) { gf_bs_reassign_buffer(ctx->bs, start + hdr_offset, rema...
GF_Err mpgviddmx_process(GF_Filter *filter) mpgviddmx_enqueue_or_dispatch(ctx, dst_pck, GF_FALSE, GF_FALSE); } //not enough bytes to parse start code if (remain<5) { memcpy(ctx->hdr_store, start, remain); ctx->bytes_in_header = remain; break; } //parse headers //we have a start code loaded, e...
CVE-2021-40575
{'CWE-476'}
2.9
{'https://github.com/gpac/gpac/commit/5f2c2a16d30229b6241f02fa28e3d6b810d64858'}
nvd
The binary MP4Box in Gpac 1.0.1 has a null pointer dereference vulnerability in the mpgviddmx_process function in reframe_mpgvid.c, which allows attackers to cause a denial of service. This vulnerability is possibly due to an incomplete fix for CVE-2021-40566.
2022-01-13
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/5f2c2a16d30229b6241f02fa28e3d6b810d64858
5f2c2a16d30229b6241f02fa28e3d6b810d64858
SINGLE
['5f2c2a16d30229b6241f02fa28e3d6b810d64858']
{'ad18ece95fa064efc0995c4ab2c985f77fb166ec'}
5f2c2a16d30229b6241f02fa28e3d6b810d64858
1
09/01/2021, 11:50:54
fixed #1905
jeanlf
null
{'additions': 7, 'deletions': 1, 'total': 8}
[ { "additions": 7, "changes": 8, "deletions": 1, "patch": "@@ -784,8 +784,14 @@ GF_Err mpgviddmx_process(GF_Filter *filter)\n \t\t\tmpgviddmx_enqueue_or_dispatch(ctx, dst_pck, GF_FALSE, GF_FALSE);\n \t\t}\n \n-\t\t//parse headers\n+\t\t//not enough bytes to parse start code\n+\t\tif (remain<5) {\n+\t...
c
CWE-476
[ "src/filters/reframe_mpgvid.c" ]
src/filters/reframe_mpgvid.c
1
Bool IsHintTrack(GF_TrackBox *trak) u32 GetHintFormat(GF_TrackBox *trak) { GF_HintMediaHeaderBox *hmhd = (GF_HintMediaHeaderBox *)trak->Media->information->InfoHeader; if (hmhd->type != GF_ISOM_BOX_TYPE_HMHD) return 0; if (!hmhd || !hmhd->subType) {
Bool IsHintTrack(GF_TrackBox *trak) u32 GetHintFormat(GF_TrackBox *trak) { GF_HintMediaHeaderBox *hmhd = (GF_HintMediaHeaderBox *)trak->Media->information->InfoHeader; if (!hmhd || (hmhd->type != GF_ISOM_BOX_TYPE_HMHD)) return 0; if (!hmhd || !hmhd->subType) {
CVE-2021-40576
{'CWE-476'}
2.9
{'https://github.com/gpac/gpac/commit/ad18ece95fa064efc0995c4ab2c985f77fb166ec'}
nvd
The binary MP4Box in Gpac 1.0.1 has a null pointer dereference vulnerability in the gf_isom_get_payt_count function in hint_track.c, which allows attackers to cause a denial of service.
2022-01-13
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/ad18ece95fa064efc0995c4ab2c985f77fb166ec
ad18ece95fa064efc0995c4ab2c985f77fb166ec
SINGLE
['ad18ece95fa064efc0995c4ab2c985f77fb166ec']
{'b07a6ace2113f2dd22531151ba30215df4f449e9'}
ad18ece95fa064efc0995c4ab2c985f77fb166ec
1
09/01/2021, 11:45:04
fixed #1904
jeanlf
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -43,7 +43,7 @@ Bool IsHintTrack(GF_TrackBox *trak)\n u32 GetHintFormat(GF_TrackBox *trak)\n {\n \tGF_HintMediaHeaderBox *hmhd = (GF_HintMediaHeaderBox *)trak->Media->information->InfoHeader;\n-\tif (hmhd->type != GF_ISOM_BOX_TYPE_HMHD)\n+\...
c
CWE-476
[ "src/isomedia/hint_track.c" ]
src/isomedia/hint_track.c
1
static json_t * check_attestation_fido_u2f(json_t * j_params, unsigned char * cr gnutls_pubkey_t pubkey = NULL; gnutls_x509_crt_t cert = NULL; gnutls_datum_t cert_dat, data, signature, cert_issued_by; unsigned char data_signed[200], client_data_hash[32], cert_export[32], cert_export_b64[64]; size_t data_sign...
static json_t * check_attestation_fido_u2f(json_t * j_params, unsigned char * cr gnutls_pubkey_t pubkey = NULL; gnutls_x509_crt_t cert = NULL; gnutls_datum_t cert_dat, data, signature, cert_issued_by; unsigned char * data_signed = NULL, client_data_hash[32], cert_export[32], cert_export_b64[64]; size_t data_...
CVE-2021-40818
{'CWE-120'}
6.4
{'https://github.com/babelouest/glewlwyd/commit/0efd112bb62f566877750ad62ee828bff579b4e2'}
nvd
scheme/webauthn.c in Glewlwyd SSO server through 2.5.3 has a buffer overflow during FIDO2 signature validation in webauthn registration.
2021-09-08
1
https://github.com/babelouest/glewlwyd
https://github.com/babelouest/glewlwyd/commit/0efd112bb62f566877750ad62ee828bff579b4e2
0efd112bb62f566877750ad62ee828bff579b4e2
SINGLE
['0efd112bb62f566877750ad62ee828bff579b4e2']
{'66a7a6dc155e5604cb2543047494aa6ec5a0b80a'}
0efd112bb62f566877750ad62ee828bff579b4e2
1
06/14/2021, 23:40:56
Fix fido2 signature validation bug
babelouest
null
{'additions': 8, 'deletions': 1, 'total': 9}
[ { "additions": 8, "changes": 9, "deletions": 1, "patch": "@@ -1543,7 +1543,7 @@ static json_t * check_attestation_fido_u2f(json_t * j_params, unsigned char * cr\n gnutls_pubkey_t pubkey = NULL;\n gnutls_x509_crt_t cert = NULL;\n gnutls_datum_t cert_dat, data, signature, cert_issued_by;\n- uns...
c
CWE-120
[ "src/scheme/webauthn.c" ]
src/scheme/webauthn.c
1
void sdsclear(sds s) { sds sdsMakeRoomFor(sds s, size_t addlen) { void *sh, *newsh; size_t avail = sdsavail(s); size_t len, newlen; char type, oldtype = s[-1] & SDS_TYPE_MASK; int hdrlen; sds sdsMakeRoomFor(sds s, size_t addlen) { len = sdslen(s); sh = (char*)s-sdsHdrSize(oldtype); ne...
void sdsclear(sds s) { sds sdsMakeRoomFor(sds s, size_t addlen) { void *sh, *newsh; size_t avail = sdsavail(s); size_t len, newlen, reqlen; char type, oldtype = s[-1] & SDS_TYPE_MASK; int hdrlen; sds sdsMakeRoomFor(sds s, size_t addlen) { len = sdslen(s); sh = (char*)s-sdsHdrSize(oldtype)...
CVE-2021-41099
{'CWE-190'}
6.4
{'https://github.com/redis/redis/commit/c6ad876774f3cc11e32681ea02a2eead00f2c521'}
nvd
Redis is an open source, in-memory database that persists on disk. An integer overflow bug in the underlying string library can be used to corrupt the heap and potentially result with denial of service or remote code execution. The vulnerability involves changing the default proto-max-bulk-len configuration parameter t...
2021-10-04
1
https://github.com/redis/redis
https://github.com/redis/redis/commit/c6ad876774f3cc11e32681ea02a2eead00f2c521
c6ad876774f3cc11e32681ea02a2eead00f2c521
SINGLE
['c6ad876774f3cc11e32681ea02a2eead00f2c521']
{'f6a40570fa63d5afdd596c78083d754081d80ae3'}
c6ad876774f3cc11e32681ea02a2eead00f2c521
1
09/29/2021, 07:20:35
Fix integer overflow in _sdsMakeRoomFor (CVE-2021-41099)
YiyuanGUO
null
{'additions': 3, 'deletions': 3, 'total': 6}
[ { "additions": 3, "changes": 6, "deletions": 3, "patch": "@@ -205,7 +205,7 @@ void sdsclear(sds s) {\n sds sdsMakeRoomFor(sds s, size_t addlen) {\n void *sh, *newsh;\n size_t avail = sdsavail(s);\n- size_t len, newlen;\n+ size_t len, newlen, reqlen;\n char type, oldtype = s[-1] & S...
c
CWE-190
[ "src/sds.c" ]
src/sds.c
1
<?php /** * Copyright (c) Enalean, 2012. All Rights Reserved. * * This file is a part of Tuleap. * public function save($cardwall_tracker_id, $tracker_id, $field_id, $value_id, $c { $cardwall_tracker_id = $this->da->escapeInt($cardwall_tracker_id); $tracker_id = $this->da->escapeInt($t...
<?php /** * Copyright (c) Enalean, 2012-Present. All Rights Reserved. * * This file is a part of Tuleap. * public function save($cardwall_tracker_id, $tracker_id, $field_id, $value_id, $c { $cardwall_tracker_id = $this->da->escapeInt($cardwall_tracker_id); $tracker_id = $this->da->esca...
CVE-2021-41147
{'CWE-89'}
6.4
{'https://github.com/Enalean/tuleap/commit/d6b2f8b8c5098938bc094726a4826479ddbee941'}
nvd
Tuleap Open ALM is a libre and open source tool for end to end traceability of application and system developments. Prior to version 11.16.99.173 of Community Edition and versions 11.16-6 and 11.15-8 of Enterprise Edition, an attacker with admin rights in one agile dashboard service can execute arbitrary SQL queries. T...
2021-10-15
1
https://github.com/Enalean/tuleap
https://github.com/Enalean/tuleap/commit/d6b2f8b8c5098938bc094726a4826479ddbee941
d6b2f8b8c5098938bc094726a4826479ddbee941
SINGLE
['d6b2f8b8c5098938bc094726a4826479ddbee941']
{'65d246cea04dc068c7c2dab71aa29176b28e6229'}
d6b2f8b8c5098938bc094726a4826479ddbee941
1
07/20/2020, 08:11:59
request #15131: SQL injection in the planning edition panel Change-Id: Ifa9971534640010198196f34544f97eb8c7cc9c9
Thomas Gerbet
null
{'additions': 3, 'deletions': 1, 'total': 4}
[ { "additions": 3, "changes": 4, "deletions": 1, "patch": "@@ -1,6 +1,6 @@\n <?php\n /**\n- * Copyright (c) Enalean, 2012. All Rights Reserved.\n+ * Copyright (c) Enalean, 2012-Present. All Rights Reserved.\n *\n * This file is a part of Tuleap.\n *\n@@ -35,6 +35,8 @@ public function save($cardwal...
php
CWE-89
[ "plugins/cardwall/include/OnTop/ColumnMappingFieldValueDao.class.php" ]
plugins/cardwall/include/OnTop/ColumnMappingFieldValueDao.class.php
1
public function create(Codendi_Request $request) $vId->required(); if ($request->valid($vId)) { $job_id = $request->get($this->widget_id . '_job_id'); $sql = 'INSERT INTO plugin_hudson_widget (widget_name, owner_id, owner_type, job_id) VALUES ("' . $this->id . '", ' . $this->own...
public function create(Codendi_Request $request) $vId->required(); if ($request->valid($vId)) { $job_id = $request->get($this->widget_id . '_job_id'); $db = \Tuleap\DB\DBFactory::getMainTuleapDBConnection()->getDB(); $content_id = (int) $db->insertReturnId( ...
CVE-2021-41148
{'CWE-89'}
6.4
{'https://github.com/Enalean/tuleap/commit/91535add59f4b3a04b6b8eab123c002cd5af180d'}
nvd
Tuleap Open ALM is a libre and open source tool for end to end traceability of application and system developments. Prior to version 11.16.99.173 of Community Edition and versions 11.16-6 and 11.15-8 of Enterprise Edition, an attacker with the ability to add one the CI widget to its personal dashboard could execute arb...
2021-10-15
1
https://github.com/Enalean/tuleap
https://github.com/Enalean/tuleap/commit/91535add59f4b3a04b6b8eab123c002cd5af180d
91535add59f4b3a04b6b8eab123c002cd5af180d
SINGLE
['91535add59f4b3a04b6b8eab123c002cd5af180d']
{'7d8298ba9ee4d3a89357f088f5b229fd806bb9f4'}
91535add59f4b3a04b6b8eab123c002cd5af180d
1
06/26/2020, 13:27:50
request #15028: The update of the CI job targeted by a widget is vulnerable to blind SQL injections Change-Id: Ib02a01586740b990feb675a8728a006ea20f7777
Thomas Gerbet
null
{'additions': 37, 'deletions': 19, 'total': 56}
[ { "additions": 37, "changes": 56, "deletions": 19, "patch": "@@ -42,17 +42,29 @@ public function create(Codendi_Request $request)\n $vId->required();\n if ($request->valid($vId)) {\n $job_id = $request->get($this->widget_id . '_job_id');\n- $sql = 'INSERT INTO ...
php
CWE-89
[ "plugins/hudson/include/HudsonJobWidget.class.php" ]
plugins/hudson/include/HudsonJobWidget.class.php
1
function ProcessCSVData(WebPage $oPage, $bSimulate = true) { $sClassName = utils::ReadParam('class_name', '', false, 'class'); // Class access right check for the import if (UserRights::IsActionAllowed($sClassName, UR_ACTION_MODIFY) == UR_ALLOWED_NO) { throw new CoreException(Dict::S('UI:ActionNotAllowed')...
function ProcessCSVData(WebPage $oPage, $bSimulate = true) { $sClassName = utils::ReadParam('class_name', '', false, 'class'); // Class access right check for the import if (UserRights::IsActionAllowed($sClassName, UR_ACTION_MODIFY) == UR_ALLOWED_NO) { throw new CoreException(Dict::S('UI:ActionNotAllowed'));...
CVE-2021-41161
{'CWE-79'}
2.9
{'https://github.com/Combodo/iTop/commit/c8f3d23d30c018bc44189b38fa34a5fffb4edb22'}
nvd
Combodo iTop is a web based IT Service Management tool. In versions prior to 3.0.0-beta6 the export CSV page don't properly escape the user supplied parameters, allowing for javascript injection into rendered csv files. Users are advised to upgrade. There are no known workarounds for this issue.
2022-04-21
1
https://github.com/Combodo/iTop
https://github.com/Combodo/iTop/commit/c8f3d23d30c018bc44189b38fa34a5fffb4edb22
c8f3d23d30c018bc44189b38fa34a5fffb4edb22
SINGLE
['c8f3d23d30c018bc44189b38fa34a5fffb4edb22']
{'88fda1466eac8e38b1df0470b34cf92c405d0871'}
c8f3d23d30c018bc44189b38fa34a5fffb4edb22
1
10/19/2021, 09:08:47
N°4361 - XSS in csvimport on develop
acognet
null
{'additions': 4, 'deletions': 6, 'total': 10}
[ { "additions": 4, "changes": 10, "deletions": 6, "patch": "@@ -233,8 +233,7 @@ function ProcessCSVData(WebPage $oPage, $bSimulate = true)\n \t{\n \t\t$sClassName = utils::ReadParam('class_name', '', false, 'class');\n \t\t// Class access right check for the import\n-\t\tif (UserRights::IsActionAllow...
php
CWE-79
[ "pages/csvimport.php" ]
pages/csvimport.php
1
public function GetReturnNotEditableFields() */ public function GetJsForUpdateFields() { $sWizardHelperJsVar = (!is_null($this->m_aData['m_sWizHelperJsVarName'])) ? utils::Sanitize($this->m_aData['m_sWizHelperJsVarName'], utils::ENUM_SANITIZATION_FILTER_PARAMETER) : 'oWizardHelper'.$this->GetFormPrefix(); //st...
public function GetReturnNotEditableFields() */ public function GetJsForUpdateFields() { $sWizardHelperJsVar = (!is_null($this->m_aData['m_sWizHelperJsVarName'])) ? utils::Sanitize($this->m_aData['m_sWizHelperJsVarName'], '', utils::ENUM_SANITIZATION_FILTER_PARAMETER) : 'oWizardHelper'.$this->GetFormPrefix(); ...
CVE-2021-41162
{'CWE-79'}
2.9
{'https://github.com/Combodo/iTop/commit/83125d9ae16cfb2527b9d0ab0805a68b863244a0'}
nvd
Combodo iTop is a web based IT Service Management tool. In 3.0.0 beta releases prior to beta6 the `ajax.render.php?operation=wizard_helper` page did not properly escape the user supplied parameters, allowing for a cross site scripting attack vector. Users are advised to upgrade. There are no known workarounds for this ...
2022-04-21
1
https://github.com/Combodo/iTop
https://github.com/Combodo/iTop/commit/83125d9ae16cfb2527b9d0ab0805a68b863244a0
83125d9ae16cfb2527b9d0ab0805a68b863244a0
SINGLE
['83125d9ae16cfb2527b9d0ab0805a68b863244a0']
{'20f44190620e946d6864daf89b6971269c7e426c'}
83125d9ae16cfb2527b9d0ab0805a68b863244a0
1
10/14/2021, 13:45:43
N°4362 - XSS in ajax.render.php?operation=wizard_helper on develop
acognet
null
{'additions': 1, 'deletions': 2, 'total': 3}
[ { "additions": 1, "changes": 3, "deletions": 2, "patch": "@@ -350,8 +350,7 @@ public function GetReturnNotEditableFields()\n \t */\n \tpublic function GetJsForUpdateFields()\n \t{\n-\t\t$sWizardHelperJsVar = (!is_null($this->m_aData['m_sWizHelperJsVarName'])) ? utils::Sanitize($this->m_aData['m_sWiz...
php
CWE-79
[ "application/wizardhelper.class.inc.php" ]
application/wizardhelper.class.inc.php
1
function sendPrivateMsg(username) { text: JSON.stringify(message), error: function(reason) { bootbox.alert(reason); }, success: function() { $('#chatroom').append('<p style="color: purple;">[' + getDateString() + '] <b>[whisper to ' + display + ']</b> ' + result); $('#chatroom').get(0).scrollTop ...
function sendPrivateMsg(username) { text: JSON.stringify(message), error: function(reason) { bootbox.alert(reason); }, success: function() { $('#chatroom').append('<p style="color: purple;">[' + getDateString() + '] <b>[whisper to ' + display + ']</b> ' + escapeXmlTags(result)); $('#chatroom').ge...
CVE-2021-4124
{'CWE-79'}
2.9
{'https://github.com/meetecho/janus-gateway/commit/f62bba6513ec840761f2434b93168106c7c65a3d'}
nvd
janus-gateway is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
2021-12-16
1
https://github.com/meetecho/janus-gateway
https://github.com/meetecho/janus-gateway/commit/f62bba6513ec840761f2434b93168106c7c65a3d
f62bba6513ec840761f2434b93168106c7c65a3d
SINGLE
['f62bba6513ec840761f2434b93168106c7c65a3d']
{'fd589de767afbd82ca4d6ba2ff15700f8cf233f6'}
f62bba6513ec840761f2434b93168106c7c65a3d
1
12/15/2021, 13:10:01
Fixed missing XSS mitigation (see #2817)
Lorenzo Miniero
{'com_1': {'author': 'P0cas', 'datetime': '12/15/2021, 13:33:24', 'body': 'Good'}}
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -351,7 +351,7 @@ function sendPrivateMsg(username) {\n \t\t\t\ttext: JSON.stringify(message),\n \t\t\t\terror: function(reason) { bootbox.alert(reason); },\n \t\t\t\tsuccess: function() {\n-\t\t\t\t\t$('#chatroom').append('<p style=\"color...
js
CWE-79
[ "html/textroomtest.js" ]
html/textroomtest.js
1
async function set_up_api_server(app) { constants.API_BASE_PATH + 'settings', ]; // If the route is not one of the authentication required routes // then we can allow it through. if(!AUTHENTICATION_REQUIRED_ROUTES.includes(req.path)) { next(); return...
async function set_up_api_server(app) { constants.API_BASE_PATH + 'settings', ]; // Check if the path being accessed required authentication var requires_authentication = false; AUTHENTICATION_REQUIRED_ROUTES.map(authenticated_route => { if(req.path.toLowerCase(...
CVE-2021-41317
{'CWE-287'}
6.4
{'https://github.com/mandatoryprogrammer/xsshunter-express/commit/56bb44ed9024849f64173f71583ecb7d873baba0'}
nvd
XSS Hunter Express before 2021-09-17 does not properly enforce authentication requirements for paths.
2021-09-17
1
https://github.com/mandatoryprogrammer/xsshunter-express
https://github.com/mandatoryprogrammer/xsshunter-express/commit/56bb44ed9024849f64173f71583ecb7d873baba0
56bb44ed9024849f64173f71583ecb7d873baba0
SINGLE
['56bb44ed9024849f64173f71583ecb7d873baba0']
{'2f35dd9a84cb51c46c1e3676d5f2432903098422'}
56bb44ed9024849f64173f71583ecb7d873baba0
1
09/17/2021, 05:43:16
Better path checking
Matthew Bryant (mandatory)
null
{'additions': 9, 'deletions': 1, 'total': 10}
[ { "additions": 9, "changes": 10, "deletions": 1, "patch": "@@ -94,9 +94,17 @@ async function set_up_api_server(app) {\n constants.API_BASE_PATH + 'settings',\n ];\n \n+ // Check if the path being accessed required authentication\n+ var requires_authentication = fals...
js
CWE-287
[ "api.js" ]
api.js
1
typedef struct FLAC__StreamMetadata *metadata ; const int32_t * const * wbuffer ; int32_t * rbuffer [FLAC__MAX_CHANNELS] ; int32_t* encbuffer ; flac_buffer_copy (SF_PRIVATE *psf) return 0 ; } ; if (frame->header.channels > FLAC__MAX_CHANNELS) psf_log_printf (psf, "Ooops : frame->header.channels (%d) > FL...
typedef struct FLAC__StreamMetadata *metadata ; const int32_t * const * wbuffer ; unsigned wbuffer_size ; int32_t * rbuffer [FLAC__MAX_CHANNELS] ; int32_t* encbuffer ; flac_buffer_copy (SF_PRIVATE *psf) return 0 ; } ; if (frame->header.blocksize > pflac->wbuffer_size) { psf_log_printf (psf, "Ooops : fram...
CVE-2021-4156
{'CWE-125'}
4.9
{'https://github.com/libsndfile/libsndfile/pull/732/commits/4c30646abf7834e406f7e2429c70bc254e18beab'}
nvd
An out-of-bounds read flaw was found in libsndfile's FLAC codec functionality. An attacker who is able to submit a specially crafted file (via tricking a user to open or otherwise) to an application linked with libsndfile and using the FLAC codec, could trigger an out-of-bounds read that would most likely cause a crash...
2022-03-23
1
https://github.com/libsndfile/libsndfile
https://github.com/libsndfile/libsndfile/pull/732/commits/4c30646abf7834e406f7e2429c70bc254e18beab
4c30646abf7834e406f7e2429c70bc254e18beab
SINGLE
['4c30646abf7834e406f7e2429c70bc254e18beab']
{'34bd39b9b513ce6267d7b1b7cd2af56697eb2f24'}
4c30646abf7834e406f7e2429c70bc254e18beab
1
04/14/2021, 08:38:23
flac: Fix improper buffer reusing
yuawn
null
{'additions': 8, 'deletions': 0, 'total': 8}
[ { "additions": 8, "changes": 8, "deletions": 0, "patch": "@@ -62,6 +62,7 @@ typedef struct\n \tFLAC__StreamMetadata *metadata ;\n \n \tconst int32_t * const * wbuffer ;\n+\tunsigned wbuffer_size ;\n \tint32_t * rbuffer [FLAC__MAX_CHANNELS] ;\n \n \tint32_t* encbuffer ;\n@@ -188,6 +189,12 @@ flac_buf...
c
CWE-125
[ "src/flac.c" ]
src/flac.c
1
public static function makeSafeFilename($filename) /* Is the file extension safe? */ $fileExtension = self::getFileExtension($filename); if (in_array($fileExtension, $GLOBALS['badFileExtensions'])) { $filename .= '.txt'; } return $filename; } public st...
public static function makeSafeFilename($filename) /* Is the file extension safe? */ $fileExtension = self::getFileExtension($filename); /* Use a whitelist instead of a blacklist to prevent possible bypasses */ if (!preg_match("/(?i)\.(pdf|docx?|rtf|odt?g?|txt|wpd|jpe?g|png|cs...
CVE-2021-41560
{'CWE-434'}
10
{'https://github.com/opencats/OpenCATS/commit/b1af3bde1f68bec1c703ad66a3e390f15ed8ebe1'}
nvd
OpenCATS through 0.9.6 allows remote attackers to execute arbitrary code by uploading an executable file via lib/FileUtility.php.
2021-12-15
1
https://github.com/opencats/OpenCATS
https://github.com/opencats/OpenCATS/commit/b1af3bde1f68bec1c703ad66a3e390f15ed8ebe1
b1af3bde1f68bec1c703ad66a3e390f15ed8ebe1
SINGLE
['b1af3bde1f68bec1c703ad66a3e390f15ed8ebe1']
{'8c82b8a44e56ad4bf7abcdfcf6ffd5635d5f2c26'}
b1af3bde1f68bec1c703ad66a3e390f15ed8ebe1
1
11/10/2021, 09:10:49
Fixed critical upload vulnerability (#552) Co-authored-by: Nicholas Ferreira <nickguitar.dll@hotmail.com>
Nicholas Ferreira
{'com_1': {'author': 'Alt37', 'datetime': '08/06/2022, 10:36:42', 'body': '@Nickguitar , @RussH \r\nIt doesn\'t work for me as expected.\r\nWith this change each uploaded files (even with extension from the whitelist) gets "txt" extension appended at the end of the filename\r\nI\'m currently applying such workaround f...
{'additions': 9, 'deletions': 3, 'total': 12}
[ { "additions": 9, "changes": 12, "deletions": 3, "patch": "@@ -184,11 +184,17 @@ public static function makeSafeFilename($filename)\n \n /* Is the file extension safe? */\n $fileExtension = self::getFileExtension($filename);\n- if (in_array($fileExtension, $GLOBALS['badFileExt...
php
CWE-434
[ "lib/FileUtility.php" ]
lib/FileUtility.php
1
DU_getStringDOElement(DcmItem *obj, DcmTagKey t, char *s, size_t bufsize) s[0] = '\0'; } else { ec = elem->getString(aString); OFStandard::strlcpy(s, aString, bufsize); } } return (ec == EC_Normal);
DU_getStringDOElement(DcmItem *obj, DcmTagKey t, char *s, size_t bufsize) s[0] = '\0'; } else { ec = elem->getString(aString); if (ec == EC_Normal) OFStandard::strlcpy(s, aString, bufsize); } } return (ec == EC_Normal);
CVE-2021-41689
{'CWE-476'}
2.9
{'https://github.com/DCMTK/dcmtk/commit/5c14bf53fb42ceca12bbcc0016e8704b1580920d'}
nvd
DCMTK through 3.6.6 does not handle string copy properly. Sending specific requests to the dcmqrdb program, it would query its database and copy the result even if the result is null, which can incur a head-based overflow. An attacker can use it to launch a DoS attack.
2022-06-28
1
https://github.com/DCMTK/dcmtk
https://github.com/DCMTK/dcmtk/commit/5c14bf53fb42ceca12bbcc0016e8704b1580920d
5c14bf53fb42ceca12bbcc0016e8704b1580920d
SINGLE
['5c14bf53fb42ceca12bbcc0016e8704b1580920d']
{'79ddbd214b91820b0da4e2090e4eeba96e7937a1'}
5c14bf53fb42ceca12bbcc0016e8704b1580920d
1
09/15/2021, 07:04:12
Fixed possible NULL pointer dereference. Thanks to Jinsheng Ba <bajinsheng@u.nus.edu> for the report and patch.
Michael Onken
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -171,7 +171,8 @@ DU_getStringDOElement(DcmItem *obj, DcmTagKey t, char *s, size_t bufsize)\n s[0] = '\\0';\n } else {\n ec = elem->getString(aString);\n- OFStandard::strlcpy(s, aString, bufsize);...
cc
CWE-476
[ "dcmnet/libsrc/diutil.cc" ]
dcmnet/libsrc/diutil.cc
1
<div class="form-group"> <label>FCM Key</label> <input type="text" class="form-control" name="fcm_key" value="<?php isset($mb_options['fcm_key']) ? print $mb_options['fcm_key'] : ''?>" /> </div> <input type="submit" class="btn btn-secondary" name="StoreOptions" value="<?php echo erTransla...
<div class="form-group"> <label>FCM Key</label> <input type="text" class="form-control" name="fcm_key" value="<?php isset($mb_options['fcm_key']) ? print htmlspecialchars($mb_options['fcm_key']) : ''?>" /> </div> <input type="submit" class="btn btn-secondary" name="StoreOptions" value="<?...
CVE-2021-4175
{'CWE-79'}
2.9
{'https://github.com/livehelperchat/livehelperchat/commit/162892013eb07b21461ceffe6702140acc0fef57'}
nvd
livehelperchat is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
2021-12-29
1
https://github.com/livehelperchat/livehelperchat
https://github.com/livehelperchat/livehelperchat/commit/162892013eb07b21461ceffe6702140acc0fef57
162892013eb07b21461ceffe6702140acc0fef57
SINGLE
['162892013eb07b21461ceffe6702140acc0fef57']
{'b769480a92aec369824223afd03a204cfee6d43b'}
162892013eb07b21461ceffe6702140acc0fef57
1
12/27/2021, 05:38:31
Missing htmlspecialchars
Remigijus Kiminas
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -14,7 +14,7 @@\n \n <div class=\"form-group\">\n <label>FCM Key</label>\n- <input type=\"text\" class=\"form-control\" name=\"fcm_key\" value=\"<?php isset($mb_options['fcm_key']) ? print $mb_options['fcm_key'] : ''?>\" ...
php
CWE-79
[ "lhc_web/design/defaulttheme/tpl/lhmobile/settings.tpl.php" ]
lhc_web/design/defaulttheme/tpl/lhmobile/settings.tpl.php
1
parent.postMessage("lhc_ch:hash_resume:<?php echo $Result['chat']->id,'_',$Result['chat']->hash?>", '*'); <?php endif; ?> <?php if (isset($Result['additional_post_message'])) : ?> parent.postMessage("<?php echo $Result['additional_post_message']?>", '*'); <?php endif;?> <?php if (isset($Result['parent_messages']...
parent.postMessage("lhc_ch:hash_resume:<?php echo $Result['chat']->id,'_',$Result['chat']->hash?>", '*'); <?php endif; ?> <?php if (isset($Result['additional_post_message'])) : ?> parent.postMessage(<?php echo json_encode($Result['additional_post_message'])?>, '*'); <?php endif;?> <?php if (isset($Result['parent...
CVE-2021-4176
{'CWE-79'}
2.9
{'https://github.com/livehelperchat/livehelperchat/commit/1f67cf9f251289a5094774307c2c3d638f9f0ba6'}
nvd
livehelperchat is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
2021-12-29
1
https://github.com/livehelperchat/livehelperchat
https://github.com/livehelperchat/livehelperchat/commit/1f67cf9f251289a5094774307c2c3d638f9f0ba6
1f67cf9f251289a5094774307c2c3d638f9f0ba6
SINGLE
['1f67cf9f251289a5094774307c2c3d638f9f0ba6']
{'162892013eb07b21461ceffe6702140acc0fef57'}
1f67cf9f251289a5094774307c2c3d638f9f0ba6
1
12/27/2021, 05:47:39
Old widget postMessage escape string
Remigijus Kiminas
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -64,11 +64,11 @@\n \tparent.postMessage(\"lhc_ch:hash_resume:<?php echo $Result['chat']->id,'_',$Result['chat']->hash?>\", '*');\n \t<?php endif; ?>\n \t<?php if (isset($Result['additional_post_message'])) : ?>\n-\tparent.postMessage(\"<?p...
php
CWE-79
[ "lhc_web/design/defaulttheme/tpl/pagelayouts/widget.php" ]
lhc_web/design/defaulttheme/tpl/pagelayouts/widget.php
1
static inline int stack_map_data_size(struct bpf_map *map) static int prealloc_elems_and_freelist(struct bpf_stack_map *smap) { u32 elem_size = sizeof(struct stack_map_bucket) + smap->map.value_size; int err; smap->elems = bpf_map_area_alloc(elem_size * smap->map.max_entries,
static inline int stack_map_data_size(struct bpf_map *map) static int prealloc_elems_and_freelist(struct bpf_stack_map *smap) { u64 elem_size = sizeof(struct stack_map_bucket) + (u64)smap->map.value_size; int err; smap->elems = bpf_map_area_alloc(elem_size * smap->map.max_entries,
CVE-2021-41864
{'CWE-190'}
6.4
{'https://github.com/torvalds/linux/commit/30e29a9a2bc6a4888335a6ede968b75cd329657a'}
nvd
prealloc_elems_and_freelist in kernel/bpf/stackmap.c in the Linux kernel before 5.14.12 allows unprivileged users to trigger an eBPF multiplication integer overflow with a resultant out-of-bounds write.
2021-10-02
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/30e29a9a2bc6a4888335a6ede968b75cd329657a
30e29a9a2bc6a4888335a6ede968b75cd329657a
SINGLE
['30e29a9a2bc6a4888335a6ede968b75cd329657a']
{'79e3445b38e0cab94264a3894c0c3d57c930b97e'}
30e29a9a2bc6a4888335a6ede968b75cd329657a
1
09/30/2021, 13:55:45
bpf: Fix integer overflow in prealloc_elems_and_freelist() In prealloc_elems_and_freelist(), the multiplication to calculate the size passed to bpf_map_area_alloc() could lead to an integer overflow. As a result, out-of-bounds write could occur in pcpu_freelist_populate() as reported by KASAN: [...] [ 16.968613] BU...
Tatsuhiko Yasumatsu
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -63,7 +63,8 @@ static inline int stack_map_data_size(struct bpf_map *map)\n \n static int prealloc_elems_and_freelist(struct bpf_stack_map *smap)\n {\n-\tu32 elem_size = sizeof(struct stack_map_bucket) + smap->map.value_size;\n+\tu64 elem_...
c
CWE-190
[ "kernel/bpf/stackmap.c" ]
kernel/bpf/stackmap.c
1
mrb_ary_shift(mrb_state *mrb, mrb_value self) static mrb_value mrb_ary_shift_m(mrb_state *mrb, mrb_value self) { struct RArray *a = mrb_ary_ptr(self); mrb_int len = ARY_LEN(a); mrb_int n; mrb_value val; if (mrb_get_args(mrb, "|i", &n) == 0) { return mrb_ary_shift(mrb, self); }; ary_modify_check(mrb,...
mrb_ary_shift(mrb_state *mrb, mrb_value self) static mrb_value mrb_ary_shift_m(mrb_state *mrb, mrb_value self) { mrb_int n; if (mrb_get_args(mrb, "|i", &n) == 0) { return mrb_ary_shift(mrb, self); } struct RArray *a = mrb_ary_ptr(self); mrb_int len = ARY_LEN(a); mrb_value val; ary_modify_check(mrb...
CVE-2021-4188
{'CWE-476'}
2.9
{'https://github.com/mruby/mruby/commit/27d1e0132a0804581dca28df042e7047fd27eaa8'}
nvd
mruby is vulnerable to NULL Pointer Dereference
2021-12-30
1
https://github.com/mruby/mruby
https://github.com/mruby/mruby/commit/27d1e0132a0804581dca28df042e7047fd27eaa8
27d1e0132a0804581dca28df042e7047fd27eaa8
SINGLE
['27d1e0132a0804581dca28df042e7047fd27eaa8']
{'83f2e75d179e73be999da43ee586512807e03031'}
27d1e0132a0804581dca28df042e7047fd27eaa8
1
12/29/2021, 06:50:28
array.c: fix `mrb_ary_shift_m` initialization bug. The `ARY_PTR` and `ARY_LEN` may be modified in `mrb_get_args`.
Yukihiro "Matz" Matsumoto
null
{'additions': 6, 'deletions': 4, 'total': 10}
[ { "additions": 6, "changes": 10, "deletions": 4, "patch": "@@ -581,14 +581,16 @@ mrb_ary_shift(mrb_state *mrb, mrb_value self)\n static mrb_value\n mrb_ary_shift_m(mrb_state *mrb, mrb_value self)\n {\n- struct RArray *a = mrb_ary_ptr(self);\n- mrb_int len = ARY_LEN(a);\n mrb_int n;\n- mrb_value...
c
CWE-476
[ "src/array.c" ]
src/array.c
1
public function __construct(&$log = null) */ public function createDatabase($dbname = null) { Database::query("CREATE DATABASE `" . $dbname . "`"); } /**
public function __construct(&$log = null) */ public function createDatabase($dbname = null) { $stmt = Database::prepare("CREATE DATABASE :dbname"); Database::pexecute($stmt, [ 'dbname' => $dbname ]); } /**
CVE-2021-42325
{'CWE-89'}
6.4
{'https://github.com/Froxlor/Froxlor/commit/eb592340b022298f62a0a3e8450dbfbe29585782'}
nvd
Froxlor through 0.10.29.1 allows SQL injection in Database/Manager/DbManagerMySQL.php via a custom DB name.
2021-10-12
1
https://github.com/Froxlor/Froxlor
https://github.com/Froxlor/Froxlor/commit/eb592340b022298f62a0a3e8450dbfbe29585782
eb592340b022298f62a0a3e8450dbfbe29585782
SINGLE
['eb592340b022298f62a0a3e8450dbfbe29585782']
{'c6f556c8d98e8aa1bacfea85881165b6c3931f8f'}
eb592340b022298f62a0a3e8450dbfbe29585782
1
10/11/2021, 16:33:48
use prepared statement for creating databases to avoid sql injections in custom db-names Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
Michael Kaufmann
null
{'additions': 4, 'deletions': 1, 'total': 5}
[ { "additions": 4, "changes": 5, "deletions": 1, "patch": "@@ -60,7 +60,10 @@ public function __construct(&$log = null)\n \t */\n \tpublic function createDatabase($dbname = null)\n \t{\n-\t\tDatabase::query(\"CREATE DATABASE `\" . $dbname . \"`\");\n+\t\t$stmt = Database::prepare(\"CREATE DATABASE :d...
php
CWE-89
[ "lib/Froxlor/Database/Manager/DbManagerMySQL.php" ]
lib/Froxlor/Database/Manager/DbManagerMySQL.php
1
sc_oberthur_read_file(struct sc_pkcs15_card *p15card, const char *in_path, if (verify_pin && rv == SC_ERROR_SECURITY_STATUS_NOT_SATISFIED) { struct sc_pkcs15_object *objs[0x10], *pin_obj = NULL; const struct sc_acl_entry *acl = sc_file_get_acl_entry(file, SC_AC_OP_READ); int ii; if (acl == NULL) { sc_fi...
sc_oberthur_read_file(struct sc_pkcs15_card *p15card, const char *in_path, if (verify_pin && rv == SC_ERROR_SECURITY_STATUS_NOT_SATISFIED) { struct sc_pkcs15_object *objs[0x10], *pin_obj = NULL; const struct sc_acl_entry *acl = sc_file_get_acl_entry(file, SC_AC_OP_READ); int ii, nobjs; if (acl == NULL) { ...
CVE-2021-42779
{'CWE-416'}
2.9
{'https://github.com/OpenSC/OpenSC/commit/1db88374bb7706a115d5c3617c6f16115c33bf27'}
nvd
A heap use after free issue was found in Opensc before version 0.22.0 in sc_file_valid.
2022-04-18
1
https://github.com/OpenSC/OpenSC
https://github.com/OpenSC/OpenSC/commit/1db88374bb7706a115d5c3617c6f16115c33bf27
1db88374bb7706a115d5c3617c6f16115c33bf27
SINGLE
['1db88374bb7706a115d5c3617c6f16115c33bf27']
{'ba85ae75e31d5503ff98fc2085038c0db8fd399e'}
1db88374bb7706a115d5c3617c6f16115c33bf27
1
01/07/2021, 13:20:31
oberthur: Correctly check for return values Thanks oss-fuzz https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28843
Jakub Jelen
null
{'additions': 7, 'deletions': 6, 'total': 13}
[ { "additions": 7, "changes": 13, "deletions": 6, "patch": "@@ -304,7 +304,7 @@ sc_oberthur_read_file(struct sc_pkcs15_card *p15card, const char *in_path,\n \tif (verify_pin && rv == SC_ERROR_SECURITY_STATUS_NOT_SATISFIED) {\n \t\tstruct sc_pkcs15_object *objs[0x10], *pin_obj = NULL;\n \t\tconst st...
c
CWE-416
[ "src/libopensc/pkcs15-oberthur.c" ]
src/libopensc/pkcs15-oberthur.c
1
static bool tipc_crypto_key_rcv(struct tipc_crypto *rx, struct tipc_msg *hdr) u16 key_gen = msg_key_gen(hdr); u16 size = msg_data_sz(hdr); u8 *data = msg_data(hdr); spin_lock(&rx->lock); if (unlikely(rx->skey || (key_gen == rx->key_gen && rx->key.keys))) { pr_err("%s: key existed <%p>, gen %d vs %d\n", rx->nam...
static bool tipc_crypto_key_rcv(struct tipc_crypto *rx, struct tipc_msg *hdr) u16 key_gen = msg_key_gen(hdr); u16 size = msg_data_sz(hdr); u8 *data = msg_data(hdr); unsigned int keylen; /* Verify whether the size can exist in the packet */ if (unlikely(size < sizeof(struct tipc_aead_key) + TIPC_AEAD_KEYLEN_MIN)...
CVE-2021-43267
{'CWE-20'}
6.4
{'https://github.com/torvalds/linux/commit/fa40d9734a57bcbfa79a280189799f76c88f7bb0'}
nvd
An issue was discovered in net/tipc/crypto.c in the Linux kernel before 5.14.16. The Transparent Inter-Process Communication (TIPC) functionality allows remote attackers to exploit insufficient validation of user-supplied sizes for the MSG_CRYPTO message type.
2021-11-02
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/fa40d9734a57bcbfa79a280189799f76c88f7bb0
fa40d9734a57bcbfa79a280189799f76c88f7bb0
SINGLE
['fa40d9734a57bcbfa79a280189799f76c88f7bb0']
{'2195f2062e4cc93870da8e71c318ef98a1c51cef'}
fa40d9734a57bcbfa79a280189799f76c88f7bb0
1
10/25/2021, 15:31:53
tipc: fix size validations for the MSG_CRYPTO type The function tipc_crypto_key_rcv is used to parse MSG_CRYPTO messages to receive keys from other nodes in the cluster in order to decrypt any further messages from them. This patch verifies that any supplied sizes in the message body are valid for the received message...
Max VA
null
{'additions': 21, 'deletions': 11, 'total': 32}
[ { "additions": 21, "changes": 32, "deletions": 11, "patch": "@@ -2285,43 +2285,53 @@ static bool tipc_crypto_key_rcv(struct tipc_crypto *rx, struct tipc_msg *hdr)\n \tu16 key_gen = msg_key_gen(hdr);\n \tu16 size = msg_data_sz(hdr);\n \tu8 *data = msg_data(hdr);\n+\tunsigned int keylen;\n+\n+\t/* Ver...
c
CWE-20
[ "net/tipc/crypto.c" ]
net/tipc/crypto.c
1
function fax_split_dtmf(&$fax_number, &$fax_dtmf){ $disallowed_file_extensions = explode(',','sh,ssh,so,dll,exe,bat,vbs,zip,rar,z,tar,tbz,tgz,gz'); if (in_array($fax_file_extension, $disallowed_file_extensions) || $fax_file_extension == '') { continue; } $fax_name = $_files['name'][$index]; $fax_name ...
function fax_split_dtmf(&$fax_number, &$fax_dtmf){ $disallowed_file_extensions = explode(',','sh,ssh,so,dll,exe,bat,vbs,zip,rar,z,tar,tbz,tgz,gz'); if (in_array($fax_file_extension, $disallowed_file_extensions) || $fax_file_extension == '') { continue; } //use a safe file name $fax_name = md5($_files[...
CVE-2021-43404
{'CWE-20'}
6.4
{'https://github.com/fusionpbx/fusionpbx/commit/487afc371e5c0dfbbc07cd002333c5bcd949d0f4'}
nvd
An issue was discovered in FusionPBX before 4.5.30. The FAX file name may have risky characters.
2021-11-05
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/487afc371e5c0dfbbc07cd002333c5bcd949d0f4
487afc371e5c0dfbbc07cd002333c5bcd949d0f4
SINGLE
['487afc371e5c0dfbbc07cd002333c5bcd949d0f4']
{'57b7bf0d6b67bda07d550b07d984a44755510d9c'}
487afc371e5c0dfbbc07cd002333c5bcd949d0f4
1
11/03/2021, 21:30:01
Change the fax file name to md5 to avoid characters that present a security risk.
FusionPBX
null
{'additions': 4, 'deletions': 22, 'total': 26}
[ { "additions": 4, "changes": 26, "deletions": 22, "patch": "@@ -351,28 +351,10 @@ function fax_split_dtmf(&$fax_number, &$fax_dtmf){\n \t\t\t\t$disallowed_file_extensions = explode(',','sh,ssh,so,dll,exe,bat,vbs,zip,rar,z,tar,tbz,tgz,gz');\n \t\t\t\tif (in_array($fax_file_extension, $disallowed_file...
php
CWE-20
[ "app/fax/fax_send.php" ]
app/fax/fax_send.php
1
The Initial Developer of the Original Code is Mark J Crane <markjcrane@fusionpbx.com> Portions created by the Initial Developer are Copyright (C) 2008-2020 the Initial Developer. All Rights Reserved. Contributor(s): $text = $language->get(); //get the fax_extension and save it as a variable if (strlen($_R...
The Initial Developer of the Original Code is Mark J Crane <markjcrane@fusionpbx.com> Portions created by the Initial Developer are Copyright (C) 2008-2021 the Initial Developer. All Rights Reserved. Contributor(s): $text = $language->get(); //get the fax_extension and save it as a variable if (isset($_RE...
CVE-2021-43405
{'CWE-20'}
6.4
{'https://github.com/fusionpbx/fusionpbx/commit/2d2869c1a1e874c46a8c3c5475614ce769bbbd59'}
nvd
An issue was discovered in FusionPBX before 4.5.30. The fax_extension may have risky characters (it is not constrained to be numeric).
2021-11-05
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/2d2869c1a1e874c46a8c3c5475614ce769bbbd59
2d2869c1a1e874c46a8c3c5475614ce769bbbd59
SINGLE
['2d2869c1a1e874c46a8c3c5475614ce769bbbd59']
{'fa0d7d4e58999b8bf3761d74d69df5ddbdc38210'}
2d2869c1a1e874c46a8c3c5475614ce769bbbd59
1
11/03/2021, 03:55:15
Require the fax_extension to be numeric. Need to validate that the fax_extension really is numeric. Also replace event_socket_mkdir that makes a directory with mkdir.lua and use a php mkdir function instead. We want to offload this off of FreeSWITCH and its safer to use the PHP function.
FusionPBX
null
{'additions': 10, 'deletions': 10, 'total': 20}
[ { "additions": 10, "changes": 20, "deletions": 10, "patch": "@@ -17,7 +17,7 @@\n \n \tThe Initial Developer of the Original Code is\n \tMark J Crane <markjcrane@fusionpbx.com>\n-\tPortions created by the Initial Developer are Copyright (C) 2008-2020\n+\tPortions created by the Initial Developer are ...
php
CWE-20
[ "app/fax/fax_send.php" ]
app/fax/fax_send.php
1
function fax_split_dtmf(&$fax_number, &$fax_dtmf){ $page_height = 14; //in break; case 'letter' : default : $page_width = 8.5; //in $page_height = 11; //in } //set resolution
function fax_split_dtmf(&$fax_number, &$fax_dtmf){ $page_height = 14; //in break; case 'letter' : $page_width = 8.5; //in $page_height = 11; //in break; default : $page_width = 8.5; //in $page_height = 11; //in $fax_page_size = 'letter'; } //set resolution
CVE-2021-43406
{'CWE-20'}
6.4
{'https://github.com/fusionpbx/fusionpbx/commit/0377b2152c0e59c8f35297f9a9b6ee335a62d963'}
nvd
An issue was discovered in FusionPBX before 4.5.30. The fax_post_size may have risky characters (it is not constrained to preset values).
2021-11-05
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/0377b2152c0e59c8f35297f9a9b6ee335a62d963
0377b2152c0e59c8f35297f9a9b6ee335a62d963
SINGLE
['0377b2152c0e59c8f35297f9a9b6ee335a62d963']
{'2d2869c1a1e874c46a8c3c5475614ce769bbbd59'}
0377b2152c0e59c8f35297f9a9b6ee335a62d963
1
11/03/2021, 15:38:01
Force the fax_page_size to only preset allowed values.
FusionPBX
null
{'additions': 4, 'deletions': 0, 'total': 4}
[ { "additions": 4, "changes": 4, "deletions": 0, "patch": "@@ -310,9 +310,13 @@ function fax_split_dtmf(&$fax_number, &$fax_dtmf){\n \t\t\t\t$page_height = 14; //in\n \t\t\t\tbreak;\n \t\t\tcase 'letter' :\n+\t\t\t\t$page_width = 8.5; //in\n+\t\t\t\t$page_height = 11; //in\n+\t\t\t\tbreak;\n \t\t\tde...
php
CWE-20
[ "app/fax/fax_send.php" ]
app/fax/fax_send.php
1
extern int __encode_answer(struct resolv_answer *a, int maxlen) attribute_hidden; extern void __open_nameservers(void) attribute_hidden; extern void __close_nameservers(void) attribute_hidden; #define __encode_dotted(dotted,dest,maxlen) \ dn_comp((dotted), (dest), (maxlen), NULL, NULL) int __dns_lookup(const char ...
extern int __encode_answer(struct resolv_answer *a, int maxlen) attribute_hidden; extern void __open_nameservers(void) attribute_hidden; extern void __close_nameservers(void) attribute_hidden; extern int __hnbad(const char *dotted) attribute_hidden; #define __encode_dotted(dotted,dest,maxlen) \ dn_comp((dotted), (...
CVE-2021-43523
{'CWE-79'}
6.4
{'https://github.com/wbx-github/uclibc-ng/commit/0f822af0445e5348ce7b7bd8ce1204244f31d174'}
nvd
In uClibc and uClibc-ng before 1.0.39, incorrect handling of special characters in domain names returned by DNS servers via gethostbyname, getaddrinfo, gethostbyaddr, and getnameinfo can lead to output of wrong hostnames (leading to domain hijacking) or injection into applications (leading to remote code execution, XSS...
2021-11-10
1
https://github.com/wbx-github/uclibc-ng
https://github.com/wbx-github/uclibc-ng/commit/0f822af0445e5348ce7b7bd8ce1204244f31d174
0f822af0445e5348ce7b7bd8ce1204244f31d174
SINGLE
['0f822af0445e5348ce7b7bd8ce1204244f31d174']
{'e966cf302aa3b7fc0748d5cdb510d2757bbff4a5'}
0f822af0445e5348ce7b7bd8ce1204244f31d174
1
08/09/2021, 01:37:31
libc/inet/resolv.c: add __hnbad to check DNS entries for validity… … using the same rules glibc does also call __hnbad in some places to check answers
mirabilos
null
{'additions': 62, 'deletions': 2, 'total': 64}
[ { "additions": 62, "changes": 64, "deletions": 2, "patch": "@@ -409,6 +409,7 @@ extern int __encode_answer(struct resolv_answer *a,\n \t\tint maxlen) attribute_hidden;\n extern void __open_nameservers(void) attribute_hidden;\n extern void __close_nameservers(void) attribute_hidden;\n+extern int __hn...
c
CWE-79
[ "libc/inet/resolv.c" ]
libc/inet/resolv.c
1
public function render() // bring the form action into the local scope $formAction = $this->_loginForm['action']; // Are we already submitting the form login? if (!empty($formAction)) { // make sure we can simply assume all fields are there
public function render() // bring the form action into the local scope $formAction = $this->_loginForm['action']; // Check redirect for chevrons, deny if found. if (preg_match('/[<>]/i', $this->_params['data']['performredirect'])) { $result->addError(_('Script is not allo...
CVE-2021-43725
{'CWE-79'}
2.9
{'https://github.com/spotweb/spotweb/commit/2bfa001689aae96009688a193c64478647ba45a1'}
nvd
There is a Cross Site Scripting (XSS) vulnerability in SpotPage_login.php of Spotweb 1.5.1 and below, which allows remote attackers to inject arbitrary web script or HTML via the data[performredirect] parameter.
2022-03-28
1
https://github.com/spotweb/spotweb
https://github.com/spotweb/spotweb/commit/2bfa001689aae96009688a193c64478647ba45a1
2bfa001689aae96009688a193c64478647ba45a1
SINGLE
['2bfa001689aae96009688a193c64478647ba45a1']
{'044bbd2bfb089e7921a8806cc3b30b8930860e3f'}
2bfa001689aae96009688a193c64478647ba45a1
1
11/13/2021, 09:29:17
Update SpotPage_login.php For for issue: https://github.com/spotweb/spotweb/issues/718
Sweepr
null
{'additions': 6, 'deletions': 1, 'total': 7}
[ { "additions": 6, "changes": 7, "deletions": 1, "patch": "@@ -37,7 +37,12 @@ public function render()\n \n // bring the form action into the local scope\n $formAction = $this->_loginForm['action'];\n-\n+ \n+ // Check redirect for chevrons, deny if found.\n+ if (p...
php
CWE-79
[ "lib/page/SpotPage_login.php" ]
lib/page/SpotPage_login.php
1
echo "Security attack !!!"; Toolbox::logDebug("[Plugin barcode][security][sendfile] ". $_SESSION["glpiname"]." try to get a non standard file : ".$filename); } $file = $docDir.'/'.$filename;
echo "Security attack !!!"; Toolbox::logDebug("[Plugin barcode][security][sendfile] ". $_SESSION["glpiname"]." try to get a non standard file : ".$filename); exit; } $file = $docDir.'/'.$filename;
CVE-2021-43778
{'CWE-22'}
2.9
{'https://github.com/pluginsGLPI/barcode/commit/428c3d9adfb446e8492b1c2b7affb3d34072ff46'}
nvd
Barcode is a GLPI plugin for printing barcodes and QR codes. GLPI instances version 2.x prior to version 2.6.1 with the barcode plugin installed are vulnerable to a path traversal vulnerability. This issue was patched in version 2.6.1. As a workaround, delete the `front/send.php` file.
2021-11-24
1
https://github.com/pluginsGLPI/barcode
https://github.com/pluginsGLPI/barcode/commit/428c3d9adfb446e8492b1c2b7affb3d34072ff46
428c3d9adfb446e8492b1c2b7affb3d34072ff46
SINGLE
['428c3d9adfb446e8492b1c2b7affb3d34072ff46']
{'b5f445a5a1b5b5f39c115a9caef851410cd16b25'}
428c3d9adfb446e8492b1c2b7affb3d34072ff46
1
11/08/2021, 10:27:21
die on insecure file request, fix #85
Alexandre Delaunay
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -54,6 +54,7 @@\n echo \"Security attack !!!\";\n Toolbox::logDebug(\"[Plugin barcode][security][sendfile] \".\n $_SESSION[\"glpiname\"].\" try to get a non standard file : \".$filename);\n+ exit;\n }\n \n...
php
CWE-22
[ "front/send.php" ]
front/send.php
1
module.exports = { rawPath = rawPath.replace(unsafeCharsRegex, '') if (rawPath === '') { rawPath = 'home' } // Extract Info let pathParts = _.filter(_.split(rawPath, '/'), p => { p = _.trim(p)
module.exports = { rawPath = rawPath.replace(unsafeCharsRegex, '') if (rawPath === '') { rawPath = 'home' } rawPath = rawPath.replaceAll('\\', '').replaceAll('//', '').replaceAll(/\.\.+/ig, '') // Extract Info let pathParts = _.filter(_.split(rawPath, '/'), p => { p = _.trim(p)
CVE-2021-43800
{'CWE-22'}
2.9
{'https://github.com/Requarks/wiki/commit/414033de9dff66a327e3f3243234852f468a9d85'}
nvd
Wiki.js is a wiki app built on Node.js. Prior to version 2.5.254, directory traversal outside of Wiki.js context is possible when a storage module with local asset cache fetching is enabled on a Windows host. A malicious user can potentially read any file on the file system by crafting a special URL that allows for dir...
2021-12-06
1
https://github.com/Requarks/wiki
https://github.com/Requarks/wiki/commit/414033de9dff66a327e3f3243234852f468a9d85
414033de9dff66a327e3f3243234852f468a9d85
SINGLE
['414033de9dff66a327e3f3243234852f468a9d85']
{'112d0707301306843b748bfa43fa4ce4cc63197f'}
414033de9dff66a327e3f3243234852f468a9d85
1
12/04/2021, 03:30:22
fix: asset path traversal on windows
NGPixel
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -35,6 +35,8 @@ module.exports = {\n rawPath = rawPath.replace(unsafeCharsRegex, '')\n if (rawPath === '') { rawPath = 'home' }\n \n+ rawPath = rawPath.replaceAll('\\\\', '').replaceAll('//', '').replaceAll(/\\.\\.+/ig, '')\n+\n ...
js
CWE-22
[ "server/helpers/page.js" ]
server/helpers/page.js
1
static void parse_rtcp_bye(pjmedia_rtcp_session *sess, /* Check and get BYE reason */ if (size > 8) { reason.slen = PJ_MIN(sizeof(sess->stat.peer_sdes_buf_), *((pj_uint8_t*)pkt+8)); pj_memcpy(sess->stat.peer_sdes_buf_, ((pj_uint8_t*)pkt+9), reason.slen); reason.ptr = sess->...
static void parse_rtcp_bye(pjmedia_rtcp_session *sess, /* Check and get BYE reason */ if (size > 8) { /* Make sure the BYE reason does not exceed: * - the size of the available buffer * - the declared reason's length * - the actual packet size */ reason.slen = PJ_MIN(sizeof(sess-...
CVE-2021-43804
{'CWE-125'}
6.4
{'https://github.com/pjsip/pjproject/commit/8b621f192cae14456ee0b0ade52ce6c6f258af1e'}
nvd
PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In affected versions if the incoming RTCP BYE message contains a reason's length, this declared length is not checked against the actual received packe...
2021-12-22
1
https://github.com/pjsip/pjproject
https://github.com/pjsip/pjproject/commit/8b621f192cae14456ee0b0ade52ce6c6f258af1e
8b621f192cae14456ee0b0ade52ce6c6f258af1e
SINGLE
['8b621f192cae14456ee0b0ade52ce6c6f258af1e']
{'cc339ac6234d5a65e7c41a8daaeb2c7a5b248419'}
8b621f192cae14456ee0b0ade52ce6c6f258af1e
1
12/22/2021, 00:49:27
Merge pull request from GHSA-3qx3-cg72-wrh9
sauwming
null
{'additions': 7, 'deletions': 0, 'total': 7}
[ { "additions": 7, "changes": 7, "deletions": 0, "patch": "@@ -757,8 +757,15 @@ static void parse_rtcp_bye(pjmedia_rtcp_session *sess,\n \n /* Check and get BYE reason */\n if (size > 8) {\n+ \t/* Make sure the BYE reason does not exceed:\n+ \t * - the size of the available buffer\n+ ...
c
CWE-125
[ "pjmedia/src/pjmedia/rtcp.c" ]
pjmedia/src/pjmedia/rtcp.c
1
function cvs_get_revisions($project, $offset, $chunksz, $_tag = 100, $_branch = $query = "SELECT id from cvs_repositories where cvs_repositories.repository='$cvs_repository' "; $rs = db_query($query); $repo_id = db_result($rs, 0, 0); $repo_id = $repo_id ? $repo_id : -...
function cvs_get_revisions($project, $offset, $chunksz, $_tag = 100, $_branch = $query = "SELECT id from cvs_repositories where cvs_repositories.repository='$cvs_repository' "; $rs = db_query($query); $repo_id = db_result($rs, 0, 0); $repo_id = db_ei($repo_id ? $repo_...
CVE-2021-43806
{'CWE-89'}
6.4
{'https://github.com/Enalean/tuleap/commit/b82be896b00a787ed46a77bd4700e8fccfe2e5ba'}
nvd
Tuleap is a Libre and Open Source tool for end to end traceability of application and system developments. In affected versions Tuleap does not sanitize properly user settings when constructing the SQL query to browse and search commits in the CVS repositories. A authenticated malicious user with read access to a CVS r...
2021-12-15
1
https://github.com/Enalean/tuleap
https://github.com/Enalean/tuleap/commit/b82be896b00a787ed46a77bd4700e8fccfe2e5ba
b82be896b00a787ed46a77bd4700e8fccfe2e5ba
SINGLE
['b82be896b00a787ed46a77bd4700e8fccfe2e5ba']
{'94fa870fd5194045166dd119b6cf526b1fe38703'}
b82be896b00a787ed46a77bd4700e8fccfe2e5ba
1
12/07/2021, 15:05:44
request #24202: SQL injection via the user settings of the CVS commits browser Change-Id: I9dff1d45d703de5c9a55182d673a70c21ea53d89
Thomas Gerbet
null
{'additions': 3, 'deletions': 3, 'total': 6}
[ { "additions": 3, "changes": 6, "deletions": 3, "patch": "@@ -713,12 +713,12 @@ function cvs_get_revisions($project, $offset, $chunksz, $_tag = 100, $_branch =\n $query = \"SELECT id from cvs_repositories where cvs_repositories.repository='$cvs_repository' \";\n $rs = db...
php
CWE-89
[ "src/www/cvs/commit_utils.php" ]
src/www/cvs/commit_utils.php
1
void pjmedia_rtcp_xr_rx_rtcp_xr( pjmedia_rtcp_xr_session *sess, if (rb_len) { switch (rb_hdr->bt) { case BT_RR_TIME: rb_rr_time = (pjmedia_rtcp_xr_rb_rr_time*) rb_hdr; break; case BT_DLRR: rb_dlrr = (pjmedia_rtcp_xr_rb_dlrr*) rb_hdr; break; case BT_STATS: rb_stats = (pjmedia_r...
void pjmedia_rtcp_xr_rx_rtcp_xr( pjmedia_rtcp_xr_session *sess, if (rb_len) { switch (rb_hdr->bt) { case BT_RR_TIME: if ((char*)rb_hdr + sizeof(*rb_rr_time) <= (char*)pkt + size) { rb_rr_time = (pjmedia_rtcp_xr_rb_rr_time*)rb_hdr; } break; case BT_DLRR: if ((char*)rb_hdr ...
CVE-2021-43845
{'CWE-125'}
4.9
{'https://github.com/pjsip/pjproject/commit/f74c1fc22b760d2a24369aa72c74c4a9ab985859'}
nvd
PJSIP is a free and open source multimedia communication library. In version 2.11.1 and prior, if incoming RTCP XR message contain block, the data field is not checked against the received packet size, potentially resulting in an out-of-bound read access. This affects all users that use PJMEDIA and RTCP XR. A malicious...
2021-12-27
1
https://github.com/pjsip/pjproject
https://github.com/pjsip/pjproject/commit/f74c1fc22b760d2a24369aa72c74c4a9ab985859
f74c1fc22b760d2a24369aa72c74c4a9ab985859
SINGLE
['f74c1fc22b760d2a24369aa72c74c4a9ab985859']
{'833c983029dc7fba01766fd6afeb133154b37034'}
f74c1fc22b760d2a24369aa72c74c4a9ab985859
1
12/24/2021, 04:17:15
Merge pull request from GHSA-r374-qrwv-86hh
Riza Sulistyo
null
{'additions': 20, 'deletions': 4, 'total': 24}
[ { "additions": 20, "changes": 24, "deletions": 4, "patch": "@@ -436,16 +436,32 @@ void pjmedia_rtcp_xr_rx_rtcp_xr( pjmedia_rtcp_xr_session *sess,\n \tif (rb_len) {\n \t switch (rb_hdr->bt) {\n \t\tcase BT_RR_TIME:\n-\t\t rb_rr_time = (pjmedia_rtcp_xr_rb_rr_time*) rb_hdr;\n+\t\t if ((char*)r...
c
CWE-125
[ "pjmedia/src/pjmedia/rtcp_xr.c" ]
pjmedia/src/pjmedia/rtcp_xr.c
1
module.exports = class Asset extends Model { } // Sanitize SVG contents if (WIKI.config.uploads.scanSVG && opts.mimetype === 'image/svg+xml') { const svgSanitizeJob = await WIKI.scheduler.registerJob({ name: 'sanitize-svg', immediate: true,
module.exports = class Asset extends Model { } // Sanitize SVG contents if ( WIKI.config.uploads.scanSVG && ( opts.mimetype.toLowerCase().startsWith('image/svg') || opts.ext.toLowerCase() === 'svg' ) ) { const svgSanitizeJob = await WIKI.scheduler.registerJob({ ...
CVE-2021-43855
{'CWE-79'}
2.9
{'https://github.com/Requarks/wiki/commit/57b56d3a5b9c00358814e76f3ee5b4bb353ad62f'}
nvd
Wiki.js is a wiki app built on node.js. Wiki.js 2.5.263 and earlier is vulnerable to stored cross-site scripting through a SVG file upload made via a custom request with a fake MIME type. By creating a crafted SVG file, a malicious Wiki.js user may stage a stored cross-site scripting attack. This allows the attacker to...
2021-12-27
1
https://github.com/Requarks/wiki
https://github.com/Requarks/wiki/commit/57b56d3a5b9c00358814e76f3ee5b4bb353ad62f
57b56d3a5b9c00358814e76f3ee5b4bb353ad62f
SINGLE
['57b56d3a5b9c00358814e76f3ee5b4bb353ad62f']
{'e79e591f9e3268089fbf4029876c6cedb26a2055'}
57b56d3a5b9c00358814e76f3ee5b4bb353ad62f
1
12/25/2021, 00:36:30
fix: validate svg file extension in addition to client mime type
NGPixel
null
{'additions': 7, 'deletions': 1, 'total': 8}
[ { "additions": 7, "changes": 8, "deletions": 1, "patch": "@@ -100,7 +100,13 @@ module.exports = class Asset extends Model {\n }\n \n // Sanitize SVG contents\n- if (WIKI.config.uploads.scanSVG && opts.mimetype === 'image/svg+xml') {\n+ if (\n+ WIKI.config.uploads.scanSVG &&\n+ ...
js
CWE-79
[ "server/models/assets.js" ]
server/models/assets.js
1
$sta_cache = $CACHE->readCache('sta'); $user_cache = $CACHE->readCache('user'); $action = isset($_GET['action']) ? addslashes($_GET['action']) : ''; $admin_path_code = isset($_GET['s']) ? addslashes($_GET['s']) : ''; if ($action == 'login') { if (defined('ADMIN_PATH_CODE') && $admin_path_code !== ADMIN_PATH_CODE) {
$sta_cache = $CACHE->readCache('sta'); $user_cache = $CACHE->readCache('user'); $action = isset($_GET['action']) ? addslashes($_GET['action']) : ''; $admin_path_code = isset($_GET['s']) ? addslashes(htmlClean($_GET['s'])) : ''; if ($action == 'login') { if (defined('ADMIN_PATH_CODE') && $admin_path_code !== ADMIN_PA...
CVE-2021-44584
{'CWE-79'}
2.9
{'https://github.com/emlog/emlog/commit/3f89610f721120ded3ff491cb9cd99d9927c7582'}
nvd
Cross-site scripting (XSS) vulnerability in index.php in emlog version <= pro-1.0.7 allows remote attackers to inject arbitrary web script or HTML via the s parameter.
2022-01-06
1
https://github.com/emlog/emlog
https://github.com/emlog/emlog/commit/3f89610f721120ded3ff491cb9cd99d9927c7582
3f89610f721120ded3ff491cb9cd99d9927c7582
SINGLE
['3f89610f721120ded3ff491cb9cd99d9927c7582']
{'32d38b41d1f84b8eeb44a738027f78f16eb92b9b'}
3f89610f721120ded3ff491cb9cd99d9927c7582
1
11/17/2021, 07:36:11
fix:fix xss #113 Signed-off-by: snow <>
snow
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -20,7 +20,7 @@\n $sta_cache = $CACHE->readCache('sta');\n $user_cache = $CACHE->readCache('user');\n $action = isset($_GET['action']) ? addslashes($_GET['action']) : '';\n-$admin_path_code = isset($_GET['s']) ? addslashes($_GET['s']) : '';...
php
CWE-79
[ "admin/globals.php" ]
admin/globals.php
1
require $xerte_toolkits_site->php_library_path . "template_library.php"; require $xerte_toolkits_site->php_library_path . "template_status.php"; // be slightly paranoid over the path the user is requesting to download. $unsafe_file_path = $_GET['file']; if(!preg_match('/^([0-9]+)-([a-z0-9]+)-/', $unsafe_file_path, $m...
require $xerte_toolkits_site->php_library_path . "template_library.php"; require $xerte_toolkits_site->php_library_path . "template_status.php"; // be VERY paranoid over the path the user is requesting to download. // Even if the file starts with a correct pattern (old implementation) the user could travers path // l...
CVE-2021-44665
{'CWE-22'}
2.9
{'https://github.com/thexerteproject/xerteonlinetoolkits/commit/48a9880c6ac38f4d215f9143baf3d6e6062a1871'}
nvd
A Directory Traversal vulnerability exists in the Xerte Project Xerte through 3.10.3 when downloading a project file via download.php.
2022-02-24
1
https://github.com/thexerteproject/xerteonlinetoolkits
https://github.com/thexerteproject/xerteonlinetoolkits/commit/48a9880c6ac38f4d215f9143baf3d6e6062a1871
48a9880c6ac38f4d215f9143baf3d6e6062a1871
SINGLE
['48a9880c6ac38f4d215f9143baf3d6e6062a1871']
{'44ae784c13b125c347eb320c1504d3b12ef71aae'}
48a9880c6ac38f4d215f9143baf3d6e6062a1871
1
11/18/2021, 15:41:49
Fix vulnarebility
Tom Reijnders
null
{'additions': 33, 'deletions': 26, 'total': 59}
[ { "additions": 33, "changes": 59, "deletions": 26, "patch": "@@ -23,38 +23,45 @@\n require $xerte_toolkits_site->php_library_path . \"template_library.php\";\n require $xerte_toolkits_site->php_library_path . \"template_status.php\";\n \n-// be slightly paranoid over the path the user is requesting ...
php
CWE-22
[ "getfile.php" ]
getfile.php
1
function output_convert($data) function create_url($query_parameters = null) { $CI = & get_instance(); $proto = 'http://'; if ($CI->config->config['is_ssl'] === true) { $proto = 'https://'; } $link = $proto . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] . '?...
function output_convert($data) function create_url($query_parameters = null) { $link = '?'; if (!empty($query_parameters)) { for ($i=0; $i < count($query_parameters); $i++) { if (!empty($query_parameters[$i]->name)) {
CVE-2021-44916
{'CWE-79'}
2.9
{'https://github.com/Opmantek/open-audit/commit/e37b64bbd0219f03cb71cc1cd5bb010166a2b846'}
nvd
Opmantek Open-AudIT Community 4.2.0 (Fixed in 4.3.0) is affected by a Cross Site Scripting (XSS) vulnerability. If a bad value is passed to the routine via a URL, malicious JavaScript code can be executed in the victim's browser.
2021-12-20
1
https://github.com/Opmantek/open-audit
https://github.com/Opmantek/open-audit/commit/e37b64bbd0219f03cb71cc1cd5bb010166a2b846
e37b64bbd0219f03cb71cc1cd5bb010166a2b846
SINGLE
['e37b64bbd0219f03cb71cc1cd5bb010166a2b846']
{'1ce039306d85598880ff25fbeb20195ef3b7a993'}
e37b64bbd0219f03cb71cc1cd5bb010166a2b846
1
10/31/2021, 23:49:41
Bug - Fix link creation for html template function to negate JS issue.
Mark Unwin
null
{'additions': 1, 'deletions': 6, 'total': 7}
[ { "additions": 1, "changes": 7, "deletions": 6, "patch": "@@ -1076,12 +1076,7 @@ function output_convert($data)\n \n function create_url($query_parameters = null)\n {\n- $CI = & get_instance();\n- $proto = 'http://';\n- if ($CI->config->config['is_ssl'] === true) {\n- ...
php
CWE-79
[ "code_igniter/application/helpers/output_helper.php" ]
code_igniter/application/helpers/output_helper.php
1
static void addjump(JF, enum js_AstType type, js_Ast *target, int inst) target->jumps = jump; } static void labeljumps(JF, js_JumpList *jump, int baddr, int caddr) { while (jump) { if (jump->type == STM_BREAK) labelto(J, F, jump->inst, baddr); if (jump->type == STM_CONTINUE) labelto(J, F, jump->inst, cadd...
static void addjump(JF, enum js_AstType type, js_Ast *target, int inst) target->jumps = jump; } static void labeljumps(JF, js_Ast *stm, int baddr, int caddr) { js_JumpList *jump = stm->jumps; while (jump) { js_JumpList *next = jump->next; if (jump->type == STM_BREAK) labelto(J, F, jump->inst, baddr); if (...
CVE-2021-45005
{'CWE-787'}
6.4
{'https://github.com/ccxvii/mujs/commit/df8559e7bdbc6065276e786217eeee70f28fce66'}
nvd
Artifex MuJS v1.1.3 was discovered to contain a heap buffer overflow which is caused by conflicting JumpList of nested try/finally statements.
2022-02-14
1
https://github.com/ccxvii/mujs
https://github.com/ccxvii/mujs/commit/df8559e7bdbc6065276e786217eeee70f28fce66
df8559e7bdbc6065276e786217eeee70f28fce66
SINGLE
['df8559e7bdbc6065276e786217eeee70f28fce66']
{'90a63426ee93d9079a032740e519988e26d1949c'}
df8559e7bdbc6065276e786217eeee70f28fce66
1
12/06/2021, 10:47:31
Bug 704749: Clear jump list after patching jump addresses. Since we can emit a statement multiple times when compiling try/finally we have to use a new patch list for each instance.
Tor Andersson
null
{'additions': 12, 'deletions': 8, 'total': 20}
[ { "additions": 12, "changes": 20, "deletions": 8, "patch": "@@ -794,15 +794,19 @@ static void addjump(JF, enum js_AstType type, js_Ast *target, int inst)\n \ttarget->jumps = jump;\n }\n \n-static void labeljumps(JF, js_JumpList *jump, int baddr, int caddr)\n+static void labeljumps(JF, js_Ast *stm, i...
c
CWE-787
[ "jscompile.c" ]
jscompile.c
1
function get_file_path () { $targetPath = $path . $ds; if ( is_writable($targetPath) ) { $fullPath = $path . '/' . $_REQUEST['fullpath']; $folder = substr($fullPath, 0, strrpos($fullPath, "/")); if(file_exists ($fullPath) && !$override_file_name) {
function get_file_path () { $targetPath = $path . $ds; if ( is_writable($targetPath) ) { $fullPath = $path . '/' . str_replace("./","_",$_REQUEST['fullpath']); $folder = substr($fullPath, 0, strrpos($fullPath, "/")); if(file_exists ($fullPath) && !$override_file_name) {
CVE-2021-45010
{'CWE-22'}
6.4
{'https://github.com/prasathmani/tinyfilemanager/commit/2046bbde72ed76af0cfdcae082de629bcc4b44c7'}
nvd
A path traversal vulnerability in the file upload functionality in tinyfilemanager.php in Tiny File Manager before 2.4.7 allows remote attackers (with valid user accounts) to upload malicious PHP files to the webroot, leading to code execution.
2022-03-15
1
https://github.com/prasathmani/tinyfilemanager
https://github.com/prasathmani/tinyfilemanager/commit/2046bbde72ed76af0cfdcae082de629bcc4b44c7
2046bbde72ed76af0cfdcae082de629bcc4b44c7
SINGLE
['2046bbde72ed76af0cfdcae082de629bcc4b44c7']
{'c1718ff4c5569ecd7e2c062aa6236def7ba28614'}
2046bbde72ed76af0cfdcae082de629bcc4b44c7
1
11/12/2021, 03:01:02
Patched the RCE (#636) I have patched the file upload directory traversal to Authenticated Remote Code Execution Vulnerability.
febinrev
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -880,7 +880,7 @@ function get_file_path () {\n \n $targetPath = $path . $ds;\n if ( is_writable($targetPath) ) {\n- $fullPath = $path . '/' . $_REQUEST['fullpath'];\n+ $fullPath = $path . '/' . str_replace(\"./\",\"_\...
php
CWE-22
[ "tinyfilemanager.php" ]
tinyfilemanager.php
1
static struct sock *pep_sock_accept(struct sock *sk, int flags, int *errp, err = pep_accept_conn(newsk, skb); if (err) { sock_put(newsk); newsk = NULL; goto drop;
static struct sock *pep_sock_accept(struct sock *sk, int flags, int *errp, err = pep_accept_conn(newsk, skb); if (err) { __sock_put(sk); sock_put(newsk); newsk = NULL; goto drop;
CVE-2021-45095
{'CWE-200'}
2.9
{'https://github.com/torvalds/linux/commit/bcd0f93353326954817a4f9fa55ec57fb38acbb0'}
nvd
pep_sock_accept in net/phonet/pep.c in the Linux kernel through 5.15.8 has a refcount leak.
2021-12-16
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/bcd0f93353326954817a4f9fa55ec57fb38acbb0
bcd0f93353326954817a4f9fa55ec57fb38acbb0
SINGLE
['bcd0f93353326954817a4f9fa55ec57fb38acbb0']
{'ab443c53916730862cec202078d36fd4008bea79'}
bcd0f93353326954817a4f9fa55ec57fb38acbb0
1
12/09/2021, 08:28:39
phonet: refcount leak in pep_sock_accep sock_hold(sk) is invoked in pep_sock_accept(), but __sock_put(sk) is not invoked in subsequent failure branches(pep_accept_conn() != 0). Signed-off-by: Hangyu Hua <hbh25y@gmail.com> Link: https://lore.kernel.org/r/20211209082839.33985-1-hbh25y@gmail.com Signed-off-by: Jakub Kic...
Hangyu Hua
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -868,6 +868,7 @@ static struct sock *pep_sock_accept(struct sock *sk, int flags, int *errp,\n \n \terr = pep_accept_conn(newsk, skb);\n \tif (err) {\n+\t\t__sock_put(sk);\n \t\tsock_put(newsk);\n \t\tnewsk = NULL;\n \t\tgoto drop;", "p...
c
CWE-200
[ "net/phonet/pep.c" ]
net/phonet/pep.c
1
int callback_glewlwyd_user_auth (const struct _u_request * request, struct _u_re if (check_result_value(j_result, G_ERROR_UNAUTHORIZED)) { y_log_message(Y_LOG_LEVEL_WARNING, "Security - Authorization invalid for username %s at IP Address %s", json_string_value(json_object_get(j_param, "userna...
int callback_glewlwyd_user_auth (const struct _u_request * request, struct _u_re if (check_result_value(j_result, G_ERROR_UNAUTHORIZED)) { y_log_message(Y_LOG_LEVEL_WARNING, "Security - Authorization invalid for username %s at IP Address %s", json_string_value(json_object_get(j_param, "userna...
CVE-2021-45379
{'CWE-287'}
6.4
{'https://github.com/babelouest/glewlwyd/commit/125281f1c0d4b6a8b49f7e55a757205a2ef01fbe'}
nvd
Glewlwyd 2.0.0, fixed in 2.6.1 is affected by an incorrect access control vulnerability. One user can attempt to log in as another user without its password.
2021-12-30
1
https://github.com/babelouest/glewlwyd
https://github.com/babelouest/glewlwyd/commit/125281f1c0d4b6a8b49f7e55a757205a2ef01fbe
125281f1c0d4b6a8b49f7e55a757205a2ef01fbe
SINGLE
['125281f1c0d4b6a8b49f7e55a757205a2ef01fbe']
{'d4a16025c619e6fd689fa81b594298d404e116ee'}
125281f1c0d4b6a8b49f7e55a757205a2ef01fbe
1
12/15/2021, 14:49:03
Fix update session when auth fail
babelouest
null
{'additions': 0, 'deletions': 4, 'total': 4}
[ { "additions": 0, "changes": 4, "deletions": 4, "patch": "@@ -278,10 +278,6 @@ int callback_glewlwyd_user_auth (const struct _u_request * request, struct _u_re\n if (check_result_value(j_result, G_ERROR_UNAUTHORIZED)) {\n y_log_message(Y_LOG_LEVEL_WARNING, \"Security - Auth...
c
CWE-287
[ "src/webservice.c" ]
src/webservice.c
1
static struct rds_connection *__rds_conn_create(struct net *net, * should end up here, but if it * does, reset/destroy the connection. */ kmem_cache_free(rds_conn_slab, conn); conn = ERR_PTR(-EOPNOTSUPP); goto out;
static struct rds_connection *__rds_conn_create(struct net *net, * should end up here, but if it * does, reset/destroy the connection. */ kfree(conn->c_path); kmem_cache_free(rds_conn_slab, conn); conn = ERR_PTR(-EOPNOTSUPP); goto out;
CVE-2021-45480
{'CWE-401'}
6.9
{'https://github.com/torvalds/linux/commit/5f9562ebe710c307adc5f666bf1a2162ee7977c0'}
nvd
An issue was discovered in the Linux kernel before 5.15.11. There is a memory leak in the __rds_conn_create() function in net/rds/connection.c in a certain combination of circumstances.
2021-12-24
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/5f9562ebe710c307adc5f666bf1a2162ee7977c0
5f9562ebe710c307adc5f666bf1a2162ee7977c0
SINGLE
['5f9562ebe710c307adc5f666bf1a2162ee7977c0']
{'d971650e17a985a0275b20f04fa67b62b4944897'}
5f9562ebe710c307adc5f666bf1a2162ee7977c0
1
12/14/2021, 10:46:59
rds: memory leak in __rds_conn_create() __rds_conn_create() did not release conn->c_path when loop_trans != 0 and trans->t_prefer_loopback != 0 and is_outgoing == 0. Fixes: aced3ce57cd3 ("RDS tcp loopback connection can hang") Signed-off-by: Hangyu Hua <hbh25y@gmail.com> Reviewed-by: Sharath Srinivasan <sharath.srini...
Hangyu Hua
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -253,6 +253,7 @@ static struct rds_connection *__rds_conn_create(struct net *net,\n \t\t\t\t * should end up here, but if it\n \t\t\t\t * does, reset/destroy the connection.\n \t\t\t\t */\n+\t\t\t\tkfree(conn->c_path);\n \t\t\t\tkmem_cache...
c
CWE-401
[ "net/rds/connection.c" ]
net/rds/connection.c
1
#include "pcidsk_exception.h" #include "core/pcidsk_utils.h" #include <vector> #include <string> #include <cassert> void CPCIDSKBinarySegment::Load() if (loaded_) { return; } seg_data.SetSize((int)data_size - 1024); ReadFromFile(seg_data.buffer, 0, data_size - 1024);
#include "pcidsk_exception.h" #include "core/pcidsk_utils.h" #include <limits> #include <vector> #include <string> #include <cassert> void CPCIDSKBinarySegment::Load() if (loaded_) { return; } if( data_size - 1024 > static_cast<uint64_t>(std::numeric_limits<int>::max()) ) { return Thro...
CVE-2021-45943
{'CWE-787'}
2.9
{'https://github.com/OSGeo/gdal/commit/1ca6a3e5168c200763fa46d8aa7e698d0b757e7e'}
nvd
GDAL 3.3.0 through 3.4.0 has a heap-based buffer overflow in PCIDSK::CPCIDSKFile::ReadFromFile (called from PCIDSK::CPCIDSKSegment::ReadFromFile and PCIDSK::CPCIDSKBinarySegment::CPCIDSKBinarySegment).
2022-01-01
1
https://github.com/OSGeo/gdal
https://github.com/OSGeo/gdal/commit/1ca6a3e5168c200763fa46d8aa7e698d0b757e7e
1ca6a3e5168c200763fa46d8aa7e698d0b757e7e
SINGLE
['1ca6a3e5168c200763fa46d8aa7e698d0b757e7e']
{'93913a849dc1d217a40dbf9d6e6a3a23c42b61a6', '9bcef6b5b206466538fc64e1fb1fce8ffba8755f'}
1ca6a3e5168c200763fa46d8aa7e698d0b757e7e
1
12/04/2021, 23:26:39
Merge pull request #4944 from rouault/fix_ossfuzz_41993 PCIDSK: fix write heap-buffer-overflow. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41993
Even Rouault
null
{'additions': 6, 'deletions': 1, 'total': 7}
[ { "additions": 6, "changes": 7, "deletions": 1, "patch": "@@ -31,6 +31,7 @@\n #include \"pcidsk_exception.h\"\n #include \"core/pcidsk_utils.h\"\n \n+#include <limits>\n #include <vector>\n #include <string>\n #include <cassert>\n@@ -73,8 +74,12 @@ void CPCIDSKBinarySegment::Load()\n if (loaded_...
cpp
CWE-787
[ "frmts/pcidsk/sdk/segment/cpcidskbinarysegment.cpp" ]
frmts/pcidsk/sdk/segment/cpcidskbinarysegment.cpp
1
public function specialLogin( $error = null ) { $username = $request->getVal( 'username', '', ); if (!preg_match(SOA2_USERNAME_REGEX, $username)) { $this->specialLogin( wfMessage('soa2-invalid-username', $username)->plain() ); return; }
public function specialLogin( $error = null ) { $username = $request->getVal( 'username', '', ); if (!preg_match(SOA2_USERNAME_REGEX, $username)) { $this->specialLogin( wfMessage('soa2-invalid-username')->plaintextParams($username)->parse() ); return; }
CVE-2021-46251
{'CWE-79'}
2.9
{'https://github.com/ScratchVerifier/ScratchOAuth2/commit/1603f04e44ef67dde6ccffe866d2dca16defb293'}
nvd
A reflected cross-site scripting (XSS) in ScratchOAuth2 before commit 1603f04e44ef67dde6ccffe866d2dca16defb293 allows attackers to execute arbitrary web scripts or HTML via a crafted POST request.
2022-02-15
1
https://github.com/ScratchVerifier/ScratchOAuth2
https://github.com/ScratchVerifier/ScratchOAuth2/commit/1603f04e44ef67dde6ccffe866d2dca16defb293
1603f04e44ef67dde6ccffe866d2dca16defb293
SINGLE
['1603f04e44ef67dde6ccffe866d2dca16defb293']
{'d856dc704b2504cd3b92cf089fdd366dd40775d6'}
1603f04e44ef67dde6ccffe866d2dca16defb293
1
04/12/2021, 11:52:03
SECURITY: Escape username in invalid username error POST request with invalid usernames to SpecialScratchOAuth2 page in ScratchOAuth2 may lead to reflected cross-site scripting.
apple502j
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -69,7 +69,7 @@ public function specialLogin( $error = null ) {\n \t\t\t$username = $request->getVal( 'username', '', );\n \t\t\tif (!preg_match(SOA2_USERNAME_REGEX, $username)) {\n \t\t\t\t$this->specialLogin(\n-\t\t\t\t\twfMessage('soa2-i...
php
CWE-79
[ "includes/special/SpecialScratchOAuth2.php" ]
includes/special/SpecialScratchOAuth2.php
1
R_API bool r_io_bank_map_add_top(RIO *io, const ut32 bankid, const ut32 mapid) { //delete all submaps that are completly included in sm RRBNode *next = r_rbnode_next (entry); // this can be optimized, there is no need to do search here r_crbtree_delete (bank->submaps, entry->data, _find_sm_by_from_vaddr_cb, NU...
R_API bool r_io_bank_map_add_top(RIO *io, const ut32 bankid, const ut32 mapid) { //delete all submaps that are completly included in sm RRBNode *next = r_rbnode_next (entry); // this can be optimized, there is no need to do search here bool a = r_crbtree_delete (bank->submaps, entry->data, _find_sm_by_from_vad...
CVE-2022-0139
{'CWE-416'}
6.4
{'https://github.com/radareorg/radare2/commit/37897226a1a31f982bfefdc4aeefc2e50355c73c'}
nvd
Use After Free in GitHub repository radareorg/radare2 prior to 5.6.0.
2022-02-08
1
https://github.com/radareorg/radare2
https://github.com/radareorg/radare2/commit/37897226a1a31f982bfefdc4aeefc2e50355c73c
37897226a1a31f982bfefdc4aeefc2e50355c73c
SINGLE
['37897226a1a31f982bfefdc4aeefc2e50355c73c']
{'7cfd3678f9dcdca9b14306f803c790d575527fde'}
37897226a1a31f982bfefdc4aeefc2e50355c73c
1
01/06/2022, 18:33:28
Fix use-after-free in iobank rbtree usage ##io * See havoc4 bin for reproducer * Reported via huntr.dev by 'Cen Zhang'
Sergi Àlvarez i Capilla
null
{'additions': 4, 'deletions': 1, 'total': 5}
[ { "additions": 4, "changes": 5, "deletions": 1, "patch": "@@ -230,7 +230,10 @@ R_API bool r_io_bank_map_add_top(RIO *io, const ut32 bankid, const ut32 mapid) {\n \t\t//delete all submaps that are completly included in sm\n \t\tRRBNode *next = r_rbnode_next (entry);\n \t\t// this can be optimized, th...
c
CWE-416
[ "libr/io/io_bank.c" ]
libr/io/io_bank.c
1
static uint8_t authorize_req(struct bt_gatt_server *server, server->authorize_data); } static void write_cb(struct bt_att_chan *chan, uint8_t opcode, const void *pdu, uint16_t length, void *user_data) { static void write_cb(struct bt_att_chan *chan, uint8_t opcode, const void *pdu, (opcode == BT_ATT_OP...
static uint8_t authorize_req(struct bt_gatt_server *server, server->authorize_data); } static uint8_t check_length(uint16_t length, uint16_t offset) { if (length > BT_ATT_MAX_VALUE_LEN) return BT_ATT_ERROR_INVALID_ATTRIBUTE_VALUE_LEN; if (offset > BT_ATT_MAX_VALUE_LEN) return BT_ATT_ERROR_INVALID_OFFSET;...
CVE-2022-0204
{'CWE-787'}
6.4
{'https://github.com/bluez/bluez/commit/591c546c536b42bef696d027f64aa22434f8c3f0'}
nvd
A heap overflow vulnerability was found in bluez in versions prior to 5.63. An attacker with local network access could pass specially crafted files causing an application to halt or crash, leading to a denial of service.
2022-03-10
1
https://github.com/bluez/bluez
https://github.com/bluez/bluez/commit/591c546c536b42bef696d027f64aa22434f8c3f0
591c546c536b42bef696d027f64aa22434f8c3f0
SINGLE
['591c546c536b42bef696d027f64aa22434f8c3f0']
{'e79417ed7185b150a056d4eb3a1ab528b91d2fc0'}
591c546c536b42bef696d027f64aa22434f8c3f0
1
06/08/2021, 23:46:49
shared/gatt-server: Fix heap overflow when appending prepare writes The code shall check if the prepare writes would append more the allowed maximum attribute length. Fixes https://github.com/bluez/bluez/security/advisories/GHSA-479m-xcq5-9g2q
Luiz Augusto von Dentz
null
{'additions': 22, 'deletions': 0, 'total': 22}
[ { "additions": 22, "changes": 22, "deletions": 0, "patch": "@@ -779,6 +779,20 @@ static uint8_t authorize_req(struct bt_gatt_server *server,\n \t\t\t\t\t\tserver->authorize_data);\n }\n \n+static uint8_t check_length(uint16_t length, uint16_t offset)\n+{\n+\tif (length > BT_ATT_MAX_VALUE_LEN)\n+\t\t...
c
CWE-787
[ "src/shared/gatt-server.c" ]
src/shared/gatt-server.c
1
prepare_singleton_class(mrb_state *mrb, struct RBasic *o) { struct RClass *sc, *c; if (o->c->tt == MRB_TT_SCLASS) return; sc = MRB_OBJ_ALLOC(mrb, MRB_TT_SCLASS, mrb->class_class); sc->flags |= MRB_FL_CLASS_IS_INHERITED; mrb_singleton_class_ptr(mrb_state *mrb, mrb_value v) break; } obj = mrb_basic_ptr(...
prepare_singleton_class(mrb_state *mrb, struct RBasic *o) { struct RClass *sc, *c; mrb_assert(o->c); if (o->c->tt == MRB_TT_SCLASS) return; sc = MRB_OBJ_ALLOC(mrb, MRB_TT_SCLASS, mrb->class_class); sc->flags |= MRB_FL_CLASS_IS_INHERITED; mrb_singleton_class_ptr(mrb_state *mrb, mrb_value v) break; } ...
CVE-2022-0240
{'CWE-476'}
2.9
{'https://github.com/mruby/mruby/commit/31fa3304049fc406a201a72293cce140f0557dca'}
nvd
mruby is vulnerable to NULL Pointer Dereference
2022-01-17
1
https://github.com/mruby/mruby
https://github.com/mruby/mruby/commit/31fa3304049fc406a201a72293cce140f0557dca
31fa3304049fc406a201a72293cce140f0557dca
SINGLE
['31fa3304049fc406a201a72293cce140f0557dca']
{'475b868b7236fd8e8824618e8724b587f08fbe9d'}
31fa3304049fc406a201a72293cce140f0557dca
1
01/16/2022, 13:22:46
class.c: add `obj->c` check before `prepare_singleton_class()`.
Yukihiro "Matz" Matsumoto
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -357,6 +357,7 @@ prepare_singleton_class(mrb_state *mrb, struct RBasic *o)\n {\n struct RClass *sc, *c;\n \n+ mrb_assert(o->c);\n if (o->c->tt == MRB_TT_SCLASS) return;\n sc = MRB_OBJ_ALLOC(mrb, MRB_TT_SCLASS, mrb->class_class);\n ...
c
CWE-476
[ "src/class.c" ]
src/class.c
1
gen_hash(codegen_scope *s, node *tree, int val, int limit) } } if (update) { if (len > 0) { pop_n(len*2+1); genop_2(s, OP_HASHADD, cursp(), len); push(); } return -1; /* variable length */ } if (update) return -1; return len; }
gen_hash(codegen_scope *s, node *tree, int val, int limit) } } if (update) { if (val && len > 0) { pop_n(len*2+1); genop_2(s, OP_HASHADD, cursp(), len); push(); } return -1; /* variable length */ } return len; }
CVE-2022-0326
{'CWE-476'}
2.9
{'https://github.com/mruby/mruby/commit/b611c43a5de061ec21b343967e1b64c45c373d7e'}
nvd
NULL Pointer Dereference in Homebrew mruby prior to 3.2.
2022-01-21
1
https://github.com/mruby/mruby
https://github.com/mruby/mruby/commit/b611c43a5de061ec21b343967e1b64c45c373d7e
b611c43a5de061ec21b343967e1b64c45c373d7e
SINGLE
['b611c43a5de061ec21b343967e1b64c45c373d7e']
{'adb16fc6dfc27a39b783782e3a12d877e71c78ac'}
b611c43a5de061ec21b343967e1b64c45c373d7e
1
01/21/2022, 06:42:51
codegen.c: no `OP_HASHADD` required when `val` is false.
Yukihiro "Matz" Matsumoto
null
{'additions': 1, 'deletions': 2, 'total': 3}
[ { "additions": 1, "changes": 3, "deletions": 2, "patch": "@@ -1644,14 +1644,13 @@ gen_hash(codegen_scope *s, node *tree, int val, int limit)\n }\n }\n if (update) {\n- if (len > 0) {\n+ if (val && len > 0) {\n pop_n(len*2+1);\n genop_2(s, OP_HASHADD, cursp(), len);\n ...
c
CWE-476
[ "mrbgems/mruby-compiler/core/codegen.c" ]
mrbgems/mruby-compiler/core/codegen.c
1
static bool load_buffer(RBinFile *bf, void **bin_obj, RBuffer *buf, ut64 loadadd beach: r_buf_free (fbuf); obj->cache_buf = NULL; MACH0_(mach0_free) (main_mach0); return false; }
static bool load_buffer(RBinFile *bf, void **bin_obj, RBuffer *buf, ut64 loadadd beach: r_buf_free (fbuf); if (obj) { obj->cache_buf = NULL; } MACH0_(mach0_free) (main_mach0); return false; }
CVE-2022-0419
{'CWE-476'}
2.9
{'https://github.com/radareorg/radare2/commit/feaa4e7f7399c51ee6f52deb84dc3f795b4035d6'}
nvd
NULL Pointer Dereference in GitHub repository radareorg/radare2 prior to 5.6.0.
2022-02-01
1
https://github.com/radareorg/radare2
https://github.com/radareorg/radare2/commit/feaa4e7f7399c51ee6f52deb84dc3f795b4035d6
feaa4e7f7399c51ee6f52deb84dc3f795b4035d6
SINGLE
['feaa4e7f7399c51ee6f52deb84dc3f795b4035d6']
{'72ffc0271f8505b5a419218366fd5b9f4c5ced6f'}
feaa4e7f7399c51ee6f52deb84dc3f795b4035d6
1
01/31/2022, 01:32:50
Fix null deref in xnu.kernelcache ##crash * Reported by @xshad3 via huntr.dev
pancake
{'com_1': {'author': 'dglynos', 'datetime': '05/24/2022, 13:49:24', 'body': 'FYI, the relevant issue was assigned CVE-2022-0419 as per https://census-labs.com/news/2022/05/24/multiple-vulnerabilities-in-radare2/'}}
{'additions': 3, 'deletions': 1, 'total': 4}
[ { "additions": 3, "changes": 4, "deletions": 1, "patch": "@@ -242,7 +242,9 @@ static bool load_buffer(RBinFile *bf, void **bin_obj, RBuffer *buf, ut64 loadadd\n \n beach:\n \tr_buf_free (fbuf);\n-\tobj->cache_buf = NULL;\n+\tif (obj) {\n+\t\tobj->cache_buf = NULL;\n+\t}\n \tMACH0_(mach0_free) (main_...
c
CWE-476
[ "libr/bin/p/bin_xnu_kernelcache.c" ]
libr/bin/p/bin_xnu_kernelcache.c
1
static bool r_bin_mdmp_init_hdr(struct r_bin_mdmp_obj *obj) { return true; } static void read_module(RBuffer *b, ut64 addr, struct minidump_module *module) { st64 o_addr = r_buf_seek (b, 0, R_BUF_CUR); r_buf_seek (b, addr, R_BUF_SET); module->base_of_image = r_buf_read_le64 (b); module->size_of_image = r_buf_rea...
static bool r_bin_mdmp_init_hdr(struct r_bin_mdmp_obj *obj) { return true; } static struct minidump_module *read_module(RBuffer *b, ut64 addr) { st64 o_addr = r_buf_seek (b, 0, R_BUF_CUR); if (r_buf_seek (b, addr, R_BUF_SET) == -1) { return NULL; } struct minidump_module *module = R_NEW0 (struct minidump_modul...
CVE-2022-0476
{'CWE-400'}
2.9
{'https://github.com/radareorg/radare2/commit/27fe8031782d3a06c3998eaa94354867864f9f1b'}
nvd
Denial of Service in GitHub repository radareorg/radare2 prior to 5.6.4.
2022-02-23
1
https://github.com/radareorg/radare2
https://github.com/radareorg/radare2/commit/27fe8031782d3a06c3998eaa94354867864f9f1b
27fe8031782d3a06c3998eaa94354867864f9f1b
SINGLE
['27fe8031782d3a06c3998eaa94354867864f9f1b']
{'4fa23038b3bccb01acf7915910c1e487ef920218'}
27fe8031782d3a06c3998eaa94354867864f9f1b
1
02/21/2022, 17:01:56
Fix DoS in the minidump parser ##crash * Reported by lazymio via huntr.dev * Reproducer: mdmp-dos
pancake
null
{'additions': 20, 'deletions': 14, 'total': 34}
[ { "additions": 20, "changes": 34, "deletions": 14, "patch": "@@ -369,9 +369,15 @@ static bool r_bin_mdmp_init_hdr(struct r_bin_mdmp_obj *obj) {\n \treturn true;\n }\n \n-static void read_module(RBuffer *b, ut64 addr, struct minidump_module *module) {\n+static struct minidump_module *read_module(RBuf...
c
CWE-400
[ "libr/bin/format/mdmp/mdmp.c" ]
libr/bin/format/mdmp/mdmp.c
1
gen_hash(codegen_scope *s, node *tree, int val, int limit) while (tree) { if (nint(tree->car->car->car) == NODE_KW_REST_ARGS) { if (len > 0) { pop_n(len*2); if (!update) { genop_2(s, OP_HASH, cursp(), len); gen_hash(codegen_scope *s, node *tree, int val, int limit) push()...
gen_hash(codegen_scope *s, node *tree, int val, int limit) while (tree) { if (nint(tree->car->car->car) == NODE_KW_REST_ARGS) { if (val && len > 0) { pop_n(len*2); if (!update) { genop_2(s, OP_HASH, cursp(), len); gen_hash(codegen_scope *s, node *tree, int val, int limit) ...
CVE-2022-0481
{'CWE-476'}
6.9
{'https://github.com/mruby/mruby/commit/ae3c99767a27f5c6c584162e2adc6a5d0eb2c54e'}
nvd
NULL Pointer Dereference in Homebrew mruby prior to 3.2.
2022-02-04
1
https://github.com/mruby/mruby
https://github.com/mruby/mruby/commit/ae3c99767a27f5c6c584162e2adc6a5d0eb2c54e
ae3c99767a27f5c6c584162e2adc6a5d0eb2c54e
SINGLE
['ae3c99767a27f5c6c584162e2adc6a5d0eb2c54e']
{'8d06e79c578a3b24c45ae4881c5122b73b3bff59'}
ae3c99767a27f5c6c584162e2adc6a5d0eb2c54e
1
02/03/2022, 01:40:05
codegen.c: fixed a bug in hash code generation with `!val`.
Yukihiro "Matz" Matsumoto
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -1603,7 +1603,7 @@ gen_hash(codegen_scope *s, node *tree, int val, int limit)\n \n while (tree) {\n if (nint(tree->car->car->car) == NODE_KW_REST_ARGS) {\n- if (len > 0) {\n+ if (val && len > 0) {\n pop_n(len*2);\n ...
c
CWE-476
[ "mrbgems/mruby-compiler/core/codegen.c" ]
mrbgems/mruby-compiler/core/codegen.c
1
Route::post('login', [LoginController::class, 'login']); Route::get('auth/logout', function () { Auth::guard('web')->logout(); });
Route::post('login', [LoginController::class, 'login']); Route::post('auth/logout', function () { Auth::guard('web')->logout(); });
CVE-2022-0515
{'CWE-352'}
2.9
{'https://github.com/crater-invoice/crater/commit/2b7028b7c83fd6e8897f244a2e6723baa20479e5'}
nvd
Cross-Site Request Forgery (CSRF) in GitHub repository crater-invoice/crater prior to 6.0.4.
2022-03-21
1
https://github.com/crater-invoice/crater
https://github.com/crater-invoice/crater/commit/2b7028b7c83fd6e8897f244a2e6723baa20479e5
2b7028b7c83fd6e8897f244a2e6723baa20479e5
SINGLE
['2b7028b7c83fd6e8897f244a2e6723baa20479e5']
{'e1e1157f2d45ed82fd868dc2454b3b2b99ce4b9b'}
2b7028b7c83fd6e8897f244a2e6723baa20479e5
1
02/11/2022, 04:09:11
changed route method
harshjagad20
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -42,7 +42,7 @@\n \n Route::post('login', [LoginController::class, 'login']);\n \n-Route::get('auth/logout', function () {\n+Route::post('auth/logout', function () {\n Auth::guard('web')->logout();\n });", "path": "routes/web.php", ...
php
CWE-352
[ "routes/web.php" ]
routes/web.php
1
R_API RBinJavaAttrInfo *r_bin_java_inner_classes_attr_new(RBinJavaObj *bin, ut8 ut64 offset = 0, curpos; attr = r_bin_java_default_attr_new (bin, buffer, sz, buf_offset); offset += 6; if (attr == NULL) { // TODO eprintf return attr; R_API RBinJavaAttrInfo *r_bin_java_inner_classes_attr_new(RBinJavaObj *bin, ut...
R_API RBinJavaAttrInfo *r_bin_java_inner_classes_attr_new(RBinJavaObj *bin, ut8 ut64 offset = 0, curpos; attr = r_bin_java_default_attr_new (bin, buffer, sz, buf_offset); offset += 6; if (buf_offset + offset + 8 > sz) { eprintf ("Invalid amount of inner classes\n"); return NULL; } if (attr == NULL) { // TO...
CVE-2022-0518
{'CWE-787', 'CWE-122'}
4.9
{'https://github.com/radareorg/radare2/commit/9650e3c352f675687bf6c6f65ff2c4a3d0e288fa'}
nvd
Heap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to 5.6.2.
2022-02-08
1
https://github.com/radareorg/radare2
https://github.com/radareorg/radare2/commit/9650e3c352f675687bf6c6f65ff2c4a3d0e288fa
9650e3c352f675687bf6c6f65ff2c4a3d0e288fa
SINGLE
['9650e3c352f675687bf6c6f65ff2c4a3d0e288fa']
{'79b39bb54d840442dccea0ddaa11077edd4b8b99'}
9650e3c352f675687bf6c6f65ff2c4a3d0e288fa
1
02/07/2022, 20:21:21
Fix oobread segfault in java arith8.class ##crash * Reported by Cen Zhang via huntr.dev
Sergi Àlvarez i Capilla
null
{'additions': 5, 'deletions': 1, 'total': 6}
[ { "additions": 5, "changes": 6, "deletions": 1, "patch": "@@ -3733,6 +3733,10 @@ R_API RBinJavaAttrInfo *r_bin_java_inner_classes_attr_new(RBinJavaObj *bin, ut8\n \tut64 offset = 0, curpos;\n \tattr = r_bin_java_default_attr_new (bin, buffer, sz, buf_offset);\n \toffset += 6;\n+\tif (buf_offset + of...
c
CWE-787
[ "shlr/java/class.c" ]
shlr/java/class.c
1
R_API ut64 r_bin_java_signature_attr_calc_size(RBinJavaAttrInfo *attr) { R_API RBinJavaAttrInfo *r_bin_java_enclosing_methods_attr_new(RBinJavaObj *bin, ut8 *buffer, ut64 sz, ut64 buf_offset) { ut64 offset = 6; RBinJavaAttrInfo *attr = r_bin_java_default_attr_new (bin, buffer, sz, buf_offset); if (!attr || sz < 10...
R_API ut64 r_bin_java_signature_attr_calc_size(RBinJavaAttrInfo *attr) { R_API RBinJavaAttrInfo *r_bin_java_enclosing_methods_attr_new(RBinJavaObj *bin, ut8 *buffer, ut64 sz, ut64 buf_offset) { ut64 offset = 6; if (sz < 8) { return NULL; } RBinJavaAttrInfo *attr = r_bin_java_default_attr_new (bin, buffer, sz, b...
CVE-2022-0519
{'CWE-805', 'CWE-119'}
4.9
{'https://github.com/radareorg/radare2/commit/6c4428f018d385fc80a33ecddcb37becea685dd5'}
nvd
Buffer Access with Incorrect Length Value in GitHub repository radareorg/radare2 prior to 5.6.2.
2022-02-08
1
https://github.com/radareorg/radare2
https://github.com/radareorg/radare2/commit/6c4428f018d385fc80a33ecddcb37becea685dd5
6c4428f018d385fc80a33ecddcb37becea685dd5
SINGLE
['6c4428f018d385fc80a33ecddcb37becea685dd5']
{'a638f6a073629bf711779cdba83f39bbf2f14c42'}
6c4428f018d385fc80a33ecddcb37becea685dd5
1
02/08/2022, 13:50:10
Improve boundary checks to fix oobread segfaults ##crash * Reported by Cen Zhang via huntr.dev * Reproducer: bins/fuzzed/javaoob-havoc.class
Sergi Àlvarez i Capilla
null
{'additions': 67, 'deletions': 51, 'total': 118}
[ { "additions": 67, "changes": 118, "deletions": 51, "patch": "@@ -3627,6 +3627,9 @@ R_API ut64 r_bin_java_signature_attr_calc_size(RBinJavaAttrInfo *attr) {\n \n R_API RBinJavaAttrInfo *r_bin_java_enclosing_methods_attr_new(RBinJavaObj *bin, ut8 *buffer, ut64 sz, ut64 buf_offset) {\n \tut64 offset =...
c
CWE-119
[ "shlr/java/class.c" ]
shlr/java/class.c
1
static pyc_object *get_object(RBuffer *buffer) { break; case TYPE_UNKNOWN: eprintf ("Get not implemented for type 0x%x\n", type); r_list_pop (refs); free_object (ret); return NULL; case 0:
static pyc_object *get_object(RBuffer *buffer) { break; case TYPE_UNKNOWN: eprintf ("Get not implemented for type 0x%x\n", type); // r_list_pop (refs); free_object (ret); return NULL; case 0:
CVE-2022-0520
{'CWE-416'}
6.4
{'https://github.com/radareorg/radare2/commit/8525ad0b9fd596f4b251bb3d7b114e6dc7ce1ee8'}
nvd
Use After Free in NPM radare2.js prior to 5.6.2.
2022-02-08
1
https://github.com/radareorg/radare2
https://github.com/radareorg/radare2/commit/8525ad0b9fd596f4b251bb3d7b114e6dc7ce1ee8
8525ad0b9fd596f4b251bb3d7b114e6dc7ce1ee8
SINGLE
['8525ad0b9fd596f4b251bb3d7b114e6dc7ce1ee8']
{'9650e3c352f675687bf6c6f65ff2c4a3d0e288fa'}
8525ad0b9fd596f4b251bb3d7b114e6dc7ce1ee8
1
02/07/2022, 20:35:54
Fix bins/*/rep8 - UAF crash in pyc parser ##crash * Reported by Cen Zhang via huntr.dev
Sergi Àlvarez i Capilla
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -1098,7 +1098,7 @@ static pyc_object *get_object(RBuffer *buffer) {\n \t\tbreak;\n \tcase TYPE_UNKNOWN:\n \t\teprintf (\"Get not implemented for type 0x%x\\n\", type);\n-\t\tr_list_pop (refs);\n+\t\t// r_list_pop (refs);\n \t\tfree_object ...
c
CWE-416
[ "libr/bin/format/pyc/marshal.c" ]
libr/bin/format/pyc/marshal.c
1
static const char *arg(RAnal *a, csh *handle, cs_insn *insn, char *buf, int n) { #define VEC64(n) insn->detail->arm64.operands[n].vess #define VEC64_APPEND(sb, n, i) vector64_append(sb, handle, insn, n, i) #define VEC64_MASK(sh, sz) (bitmask_by_width[63]^(bitmask_by_width[sz-1]<<sh)) static void vector64_append(RStr...
static const char *arg(RAnal *a, csh *handle, cs_insn *insn, char *buf, int n) { #define VEC64(n) insn->detail->arm64.operands[n].vess #define VEC64_APPEND(sb, n, i) vector64_append(sb, handle, insn, n, i) #define VEC64_MASK(sh, sz) (bitmask_by_width[63]^(bitmask_by_width[sz>0?sz-1:0]<<sh)) static void vector64_appe...
CVE-2022-0522
{'CWE-119', 'CWE-786'}
4.9
{'https://github.com/radareorg/radare2/commit/d17a7bdf166108a29a27cd89bf454f9fa6c050d6'}
nvd
Access of Memory Location Before Start of Buffer in NPM radare2.js prior to 5.6.2.
2022-02-08
1
https://github.com/radareorg/radare2
https://github.com/radareorg/radare2/commit/d17a7bdf166108a29a27cd89bf454f9fa6c050d6
d17a7bdf166108a29a27cd89bf454f9fa6c050d6
SINGLE
['d17a7bdf166108a29a27cd89bf454f9fa6c050d6']
{'8525ad0b9fd596f4b251bb3d7b114e6dc7ce1ee8'}
d17a7bdf166108a29a27cd89bf454f9fa6c050d6
1
02/07/2022, 20:52:26
Fix negative index in anal.arm64.cs ##crash * Reported by Cen Zhang via huntr.dev
Sergi Àlvarez i Capilla
null
{'additions': 1, 'deletions': 2, 'total': 3}
[ { "additions": 1, "changes": 3, "deletions": 2, "patch": "@@ -1015,7 +1015,7 @@ static const char *arg(RAnal *a, csh *handle, cs_insn *insn, char *buf, int n) {\n \n #define VEC64(n) insn->detail->arm64.operands[n].vess\n #define VEC64_APPEND(sb, n, i) vector64_append(sb, handle, insn, n, i)\n-#defi...
c
CWE-119
[ "libr/anal/p/anal_arm_cs.c" ]
libr/anal/p/anal_arm_cs.c
1
/* radare - LGPL3 - Copyright 2016-2021 - Matthieu (c0riolis) Tardy - l0stb1t*/ #include <r_io.h> #include <r_bin.h> #define if_true_return(cond,ret) if(cond){return(ret);} // TODO: kill globals static ut32 magic_int; static ut32 symbols_ordinal = 0; static RList *refs = NULL; // If you don't have a good reason, do ...
/* radare - LGPL3 - Copyright 2016-2022 - Matthieu (c0riolis) Tardy - l0stb1t */ #include <r_io.h> #include <r_bin.h> #define if_true_return(cond,ret) if(cond){return(ret);} // TODO: kill globals static R_TH_LOCAL ut32 magic_int; static R_TH_LOCAL ut32 symbols_ordinal = 0; static R_TH_LOCAL RList *refs = NULL; // If...
CVE-2022-0523
{'CWE-119', 'CWE-825'}
6.4
{'https://github.com/radareorg/radare2/commit/35482cb760db10f87a62569e2f8872dbd95e9269'}
nvd
Expired Pointer Dereference in GitHub repository radareorg/radare2 prior to 5.6.2.
2022-02-08
1
https://github.com/radareorg/radare2
https://github.com/radareorg/radare2/commit/35482cb760db10f87a62569e2f8872dbd95e9269
35482cb760db10f87a62569e2f8872dbd95e9269
SINGLE
['35482cb760db10f87a62569e2f8872dbd95e9269']
{'d17a7bdf166108a29a27cd89bf454f9fa6c050d6'}
35482cb760db10f87a62569e2f8872dbd95e9269
1
02/07/2022, 21:05:23
Fix UAF in pyc parser ##crash * Reported by Cen Zhang via huntr.dev * Reproducer: bins/fuzzed/harep2.pyc
Sergi Àlvarez i Capilla
null
{'additions': 13, 'deletions': 26, 'total': 39}
[ { "additions": 13, "changes": 39, "deletions": 26, "patch": "@@ -1,4 +1,4 @@\n-/* radare - LGPL3 - Copyright 2016-2021 - Matthieu (c0riolis) Tardy - l0stb1t*/\n+/* radare - LGPL3 - Copyright 2016-2022 - Matthieu (c0riolis) Tardy - l0stb1t */\n \n #include <r_io.h>\n #include <r_bin.h>\n@@ -9,9 +9,9 ...
c
CWE-119
[ "libr/bin/format/pyc/marshal.c" ]
libr/bin/format/pyc/marshal.c
1
gen_assignment(codegen_scope *s, node *tree, node *rhs, int sp, int val) } } if (tree->cdr->car) { /* keyword arguments */ gen_hash(s, tree->cdr->car->cdr, VAL, 0); if (n < 14) { n++; push(); } else { pop(); ...
gen_assignment(codegen_scope *s, node *tree, node *rhs, int sp, int val) } } if (tree->cdr->car) { /* keyword arguments */ if (n == 14) { pop_n(n); genop_2(s, OP_ARRAY, cursp(), n); push(); n = 15; } gen_hash(...
CVE-2022-0525
{'CWE-125'}
4.9
{'https://github.com/mruby/mruby/commit/0849a2885f81cfd82134992c06df3ccd59052ac7'}
nvd
Out-of-bounds Read in Homebrew mruby prior to 3.2.
2022-02-09
1
https://github.com/mruby/mruby
https://github.com/mruby/mruby/commit/0849a2885f81cfd82134992c06df3ccd59052ac7
0849a2885f81cfd82134992c06df3ccd59052ac7
SINGLE
['0849a2885f81cfd82134992c06df3ccd59052ac7']
{'4c13188ea6cb0a74f43542c1b485a4aaf1d1a5be'}
0849a2885f81cfd82134992c06df3ccd59052ac7
1
02/08/2022, 03:46:36
codegen.c: stack position may be wrong on assignments. When `[]=` access includes keyword arguments.
Yukihiro "Matz" Matsumoto
null
{'additions': 8, 'deletions': 2, 'total': 10}
[ { "additions": 8, "changes": 10, "deletions": 2, "patch": "@@ -1865,15 +1865,21 @@ gen_assignment(codegen_scope *s, node *tree, node *rhs, int sp, int val)\n }\n }\n if (tree->cdr->car) { /* keyword arguments */\n+ if (n == 14) {\n+ pop_n(n);\n+ ...
c
CWE-125
[ "mrbgems/mruby-compiler/core/codegen.c" ]
mrbgems/mruby-compiler/core/codegen.c
1
function phoromatic_quit_if_invalid_input_found($input_keys = null) // backup as to sanitization and stripping elsewhere, safeguard namely check for things like < for fields that shouldn't have it // plus a few simple backups as safeguards for words that really have no legit relevance within Phoromatic... foreach(...
function phoromatic_quit_if_invalid_input_found($input_keys = null) // backup as to sanitization and stripping elsewhere, safeguard namely check for things like < for fields that shouldn't have it // plus a few simple backups as safeguards for words that really have no legit relevance within Phoromatic... foreach(...
CVE-2022-0571
{'CWE-79'}
2.9
{'https://github.com/phoronix-test-suite/phoronix-test-suite/commit/1eac9260c8313f0cfc77837ec676f4e6d68bd833'}
nvd
Cross-site Scripting (XSS) - Reflected in GitHub repository phoronix-test-suite/phoronix-test-suite prior to 10.8.2.
2022-02-14
1
https://github.com/phoronix-test-suite/phoronix-test-suite
https://github.com/phoronix-test-suite/phoronix-test-suite/commit/1eac9260c8313f0cfc77837ec676f4e6d68bd833
1eac9260c8313f0cfc77837ec676f4e6d68bd833
SINGLE
['1eac9260c8313f0cfc77837ec676f4e6d68bd833']
{'802ff84b14667e7c388ec4e9ae5bd57aa27b9532'}
1eac9260c8313f0cfc77837ec676f4e6d68bd833
1
02/12/2022, 10:20:40
phoromatic: Reject HTML encoded character input and other strings that likely have no use within the context of Phoromatic inputs
Michael Larabel
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -33,7 +33,7 @@ function phoromatic_quit_if_invalid_input_found($input_keys = null)\n \t// backup as to sanitization and stripping elsewhere, safeguard namely check for things like < for fields that shouldn't have it\n \t// plus a few simpl...
php
CWE-79
[ "pts-core/phoromatic/phoromatic_functions.php" ]
pts-core/phoromatic/phoromatic_functions.php
1
mrb_vm_exec(mrb_state *mrb, const struct RProc *proc, const mrb_code *pc) int lim = a+b*2+1; hash = regs[a]; mrb_assert(mrb_hash_p(hash)); for (i=a+1; i<lim; i+=2) { mrb_hash_set(mrb, hash, regs[i], regs[i+1]); }
mrb_vm_exec(mrb_state *mrb, const struct RProc *proc, const mrb_code *pc) int lim = a+b*2+1; hash = regs[a]; mrb_ensure_hash_type(mrb, hash); for (i=a+1; i<lim; i+=2) { mrb_hash_set(mrb, hash, regs[i], regs[i+1]); }
CVE-2022-0614
{'CWE-119'}
2.9
{'https://github.com/mruby/mruby/commit/ff3a5ebed6ffbe3e70481531cfb969b497aa73ad'}
nvd
Use of Out-of-range Pointer Offset in Homebrew mruby prior to 3.2.
2022-02-16
1
https://github.com/mruby/mruby
https://github.com/mruby/mruby/commit/ff3a5ebed6ffbe3e70481531cfb969b497aa73ad
ff3a5ebed6ffbe3e70481531cfb969b497aa73ad
SINGLE
['ff3a5ebed6ffbe3e70481531cfb969b497aa73ad']
{'ecb28f4bf463483cf914c799d086b0cfff997aee'}
ff3a5ebed6ffbe3e70481531cfb969b497aa73ad
1
02/15/2022, 09:36:38
vm.c: should check type before hash access. Since the operand of double splat (`**`) may not be a hash, simple assertion (previous code since d42a64e) was not enough for this case.
Yukihiro "Matz" Matsumoto
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -2766,7 +2766,7 @@ mrb_vm_exec(mrb_state *mrb, const struct RProc *proc, const mrb_code *pc)\n int lim = a+b*2+1;\n \n hash = regs[a];\n- mrb_assert(mrb_hash_p(hash));\n+ mrb_ensure_hash_type(mrb, hash);\n for (...
c
CWE-119
[ "src/vm.c" ]
src/vm.c
1
codegen(codegen_scope *s, node *tree, int val) if (tree->cdr->cdr) { codegen(s, tree->cdr->cdr, VAL); } else if (!s2) {/* super at top-level */ push(); /* no need to push block */ } else { gen_blkmove(s, s2->ainfo, lv); } st++; ...
codegen(codegen_scope *s, node *tree, int val) if (tree->cdr->cdr) { codegen(s, tree->cdr->cdr, VAL); } else if (s2) gen_blkmove(s, s2->ainfo, lv); else { genop_1(s, OP_LOADNIL, cursp()); push(); } } else { if (s2) gen_blkmove(s,...
CVE-2022-0632
{'CWE-476'}
2.9
{'https://github.com/mruby/mruby/commit/44f591aa8f7091e6ca6cb418e428ae6d4ceaf77d'}
nvd
NULL Pointer Dereference in Homebrew mruby prior to 3.2.
2022-02-19
1
https://github.com/mruby/mruby
https://github.com/mruby/mruby/commit/44f591aa8f7091e6ca6cb418e428ae6d4ceaf77d
44f591aa8f7091e6ca6cb418e428ae6d4ceaf77d
SINGLE
['44f591aa8f7091e6ca6cb418e428ae6d4ceaf77d']
{'f906ac314cbeca0da5dffa0fc736be0c4a388d7e'}
44f591aa8f7091e6ca6cb418e428ae6d4ceaf77d
1
02/19/2022, 07:13:16
codegen.c: adjust stack position for `OP_SUPER` instruction.
Yukihiro "Matz" Matsumoto
null
{'additions': 10, 'deletions': 8, 'total': 18}
[ { "additions": 10, "changes": 18, "deletions": 8, "patch": "@@ -2954,19 +2954,20 @@ codegen(codegen_scope *s, node *tree, int val)\n if (tree->cdr->cdr) {\n codegen(s, tree->cdr->cdr, VAL);\n }\n- else if (!s2) {/* super at top-level */\n- push(); /* no...
c
CWE-476
[ "mrbgems/mruby-compiler/core/codegen.c" ]
mrbgems/mruby-compiler/core/codegen.c
1
static ut64 resolve_symbols_off(RDyldCache *cache, ut64 pa) { static RList *create_cache_bins(RBinFile *bf, RDyldCache *cache) { RList *bins = r_list_newf ((RListFree)free_bin); if (!bins) { return NULL; } static RList *create_cache_bins(RBinFile *bf, RDyldCache *cache) { } ut32 j; ut16 *depArray = NULL; ...
static ut64 resolve_symbols_off(RDyldCache *cache, ut64 pa) { static RList *create_cache_bins(RBinFile *bf, RDyldCache *cache) { RList *bins = r_list_newf ((RListFree)free_bin); ut16 *depArray = NULL; cache_imgxtr_t *extras = NULL; if (!bins) { return NULL; } static RList *create_cache_bins(RBinFile *bf, RDyld...
CVE-2022-0676
{'CWE-787'}
6.4
{'https://github.com/radareorg/radare2/commit/c84b7232626badd075caf3ae29661b609164bac6'}
nvd
Heap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to 5.6.4.
2022-02-22
1
https://github.com/radareorg/radare2
https://github.com/radareorg/radare2/commit/c84b7232626badd075caf3ae29661b609164bac6
c84b7232626badd075caf3ae29661b609164bac6
SINGLE
['c84b7232626badd075caf3ae29661b609164bac6']
{'108dc76ae8fe61e62bf7082c32bd47d7db496f78'}
c84b7232626badd075caf3ae29661b609164bac6
1
02/17/2022, 23:58:43
Fix heap buffer overflow in dyldcache parser ##crash * Reported by: Lazymio via huntr.dev * Reproducer: dyldovf
pancake
null
{'additions': 6, 'deletions': 6, 'total': 12}
[ { "additions": 6, "changes": 12, "deletions": 6, "patch": "@@ -1144,6 +1144,8 @@ static ut64 resolve_symbols_off(RDyldCache *cache, ut64 pa) {\n \n static RList *create_cache_bins(RBinFile *bf, RDyldCache *cache) {\n \tRList *bins = r_list_newf ((RListFree)free_bin);\n+\tut16 *depArray = NULL;\n+\tc...
c
CWE-787
[ "libr/bin/p/bin_dyldcache.c" ]
libr/bin/p/bin_dyldcache.c
1
/* radare - LGPL - Copyright 2018 - pancake */ #include <r_types.h> #include <r_util.h> static RList *symbols(RBinFile *bf) { bool found = false; for (i = 0; i < element->hdr->n_lined_symbols; i++) { RCoreSymCacheElementSymbol *sym = (RCoreSymCacheElementSymbol *)&element->lined_symbols[i]; ht_uu_find (hash, sy...
/* radare - LGPL - Copyright 2018-2022 - pancake */ #include <r_types.h> #include <r_util.h> static RList *symbols(RBinFile *bf) { bool found = false; for (i = 0; i < element->hdr->n_lined_symbols; i++) { RCoreSymCacheElementSymbol *sym = (RCoreSymCacheElementSymbol *)&element->lined_symbols[i]; if (!sym) { ...
CVE-2022-0712
{'CWE-476'}
6.9
{'https://github.com/radareorg/radare2/commit/515e592b9bea0612bc63d8e93239ff35bcf645c7'}
nvd
NULL Pointer Dereference in GitHub repository radareorg/radare2 prior to 5.6.4.
2022-02-22
1
https://github.com/radareorg/radare2
https://github.com/radareorg/radare2/commit/515e592b9bea0612bc63d8e93239ff35bcf645c7
515e592b9bea0612bc63d8e93239ff35bcf645c7
SINGLE
['515e592b9bea0612bc63d8e93239ff35bcf645c7']
{'27fe8031782d3a06c3998eaa94354867864f9f1b'}
515e592b9bea0612bc63d8e93239ff35bcf645c7
1
02/21/2022, 17:45:06
Fix null deref in bin.symbols ##crash * Reported by cnitlrt via huntr.dev
pancake
null
{'additions': 4, 'deletions': 1, 'total': 5}
[ { "additions": 4, "changes": 5, "deletions": 1, "patch": "@@ -1,4 +1,4 @@\n-/* radare - LGPL - Copyright 2018 - pancake */\n+/* radare - LGPL - Copyright 2018-2022 - pancake */\n \n #include <r_types.h>\n #include <r_util.h>\n@@ -361,6 +361,9 @@ static RList *symbols(RBinFile *bf) {\n \tbool found =...
c
CWE-476
[ "libr/bin/p/bin_symbols.c" ]
libr/bin/p/bin_symbols.c
1
RCoreSymCacheElement *r_coresym_cache_element_new(RBinFile *bf, RBuffer *buf, ut } size_t i; ut8 *cursor = b + R_CS_EL_OFF_SEGS; for (i = 0; i < hdr->n_segments && cursor < end; i++) { RCoreSymCacheElementSegment *seg = &result->segments[i]; seg->paddr = seg->vaddr = r_read_le64 (cursor); cursor += 8;
RCoreSymCacheElement *r_coresym_cache_element_new(RBinFile *bf, RBuffer *buf, ut } size_t i; ut8 *cursor = b + R_CS_EL_OFF_SEGS; for (i = 0; i < hdr->n_segments && cursor + sizeof (RCoreSymCacheElementSegment) < end; i++) { RCoreSymCacheElementSegment *seg = &result->segments[i]; seg->paddr = seg->vaddr ...
CVE-2022-0713
{'CWE-787'}
4.9
{'https://github.com/radareorg/radare2/commit/a35f89f86ed12161af09330e92e5a213014e46a1'}
nvd
Heap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to 5.6.4.
2022-02-22
1
https://github.com/radareorg/radare2
https://github.com/radareorg/radare2/commit/a35f89f86ed12161af09330e92e5a213014e46a1
a35f89f86ed12161af09330e92e5a213014e46a1
SINGLE
['a35f89f86ed12161af09330e92e5a213014e46a1']
{'515e592b9bea0612bc63d8e93239ff35bcf645c7'}
a35f89f86ed12161af09330e92e5a213014e46a1
1
02/21/2022, 18:25:02
Fix oobread in macho core symbolication ##crash * Reported by @cnitlrt via huntr.dev
pancake
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -222,7 +222,7 @@ RCoreSymCacheElement *r_coresym_cache_element_new(RBinFile *bf, RBuffer *buf, ut\n \t\t}\n \t\tsize_t i;\n \t\tut8 *cursor = b + R_CS_EL_OFF_SEGS;\n-\t\tfor (i = 0; i < hdr->n_segments && cursor < end; i++) {\n+\t\tfor (i ...
c
CWE-787
[ "libr/bin/format/mach0/coresymbolication.c" ]
libr/bin/format/mach0/coresymbolication.c
1
gen_assignment(codegen_scope *s, node *tree, node *rhs, int sp, int val) if (val) { gen_move(s, top, cursp(), 1); } if (n < 14) { n++; } else { pop();
gen_assignment(codegen_scope *s, node *tree, node *rhs, int sp, int val) if (val) { gen_move(s, top, cursp(), 1); } if (n < 15) { n++; if (n == 15) { pop_n(14); genop_2(s, OP_ARRAY, cursp(), 15); } } else { pop();
CVE-2022-0717
{'CWE-125'}
4.9
{'https://github.com/mruby/mruby/commit/f72315575f78a9a773adbce0ee7d3ec33434cb76'}
nvd
Out-of-bounds Read in GitHub repository mruby/mruby prior to 3.2.
2022-02-23
1
https://github.com/mruby/mruby
https://github.com/mruby/mruby/commit/f72315575f78a9a773adbce0ee7d3ec33434cb76
f72315575f78a9a773adbce0ee7d3ec33434cb76
SINGLE
['f72315575f78a9a773adbce0ee7d3ec33434cb76']
{'349307ba884740b132dcf08dfb615c0f329d2579'}
f72315575f78a9a773adbce0ee7d3ec33434cb76
1
02/22/2022, 02:06:20
codegen.c: fix a argument generation bug in array assignment.
Yukihiro "Matz" Matsumoto
null
{'additions': 5, 'deletions': 1, 'total': 6}
[ { "additions": 5, "changes": 6, "deletions": 1, "patch": "@@ -1904,8 +1904,12 @@ gen_assignment(codegen_scope *s, node *tree, node *rhs, int sp, int val)\n if (val) {\n gen_move(s, top, cursp(), 1);\n }\n- if (n < 14) {\n+ if (n < 15) {\n n++;\n+ if (n ==...
c
CWE-125
[ "mrbgems/mruby-compiler/core/codegen.c" ]
mrbgems/mruby-compiler/core/codegen.c
1
function sendString($content, $filename, $mimetype) exit; } /** * Upload a file (from "<input type="file">) to a directory on the server * function sendString($content, $filename, $mimetype) */ function uploadFile($file_array, $destination_directory, $destination_filename = null) { if ((! isset($file_array...
function sendString($content, $filename, $mimetype) exit; } /** * Gets the file extension from a filename * * @param string $filename The filename * @return string The extension of the file */ function getExtensionFromFileName($filename) { $tmp = explode('.', $filename); return end($tmp); } /** ...
CVE-2022-0848
{'CWE-78'}
10
{'https://github.com/part-db/part-db/commit/9cd4eee393028aa4cab70fcbac284b0028c0bc95'}
nvd
OS Command Injection in GitHub repository part-db/part-db prior to 0.5.11.
2022-03-04
1
https://github.com/part-db/part-db
https://github.com/part-db/part-db/commit/9cd4eee393028aa4cab70fcbac284b0028c0bc95
9cd4eee393028aa4cab70fcbac284b0028c0bc95
SINGLE
['9cd4eee393028aa4cab70fcbac284b0028c0bc95']
{'3ff6ecefdc58bc51ab8320034d328a66e9909996'}
9cd4eee393028aa4cab70fcbac284b0028c0bc95
1
03/01/2022, 23:36:31
Disallow uploading of potentially unsafe file extensions.
Jan Böhmer
null
{'additions': 17, 'deletions': 3, 'total': 20}
[ { "additions": 17, "changes": 20, "deletions": 3, "patch": "@@ -249,6 +249,18 @@ function sendString($content, $filename, $mimetype)\n exit;\n }\n \n+/**\n+ * Gets the file extension from a filename\n+ *\n+ * @param string $filename The filename\n+ * @return string The extension of the file\n...
php
CWE-78
[ "inc/lib.php" ]
inc/lib.php
1
fiber_switch(mrb_state *mrb, mrb_value self, mrb_int len, const mrb_value *a, mr if (!c->ci->proc) { mrb_raise(mrb, E_FIBER_ERROR, "double resume (current)"); } mrb_stack_extend(mrb, len+2); /* for receiver and (optional) block */ b = c->stbase+1; e = b + len; while (b<e) { *b++ = *...
fiber_switch(mrb_state *mrb, mrb_value self, mrb_int len, const mrb_value *a, mr if (!c->ci->proc) { mrb_raise(mrb, E_FIBER_ERROR, "double resume (current)"); } if (vmexec) { c->ci--; /* pop dummy callinfo */ } if (len >= 15) { mrb_stack_extend(mrb, 3); /* for...
CVE-2022-0890
{'CWE-476'}
6.9
{'https://github.com/mruby/mruby/commit/da48e7dbb20024c198493b8724adae1b842083aa'}
nvd
NULL Pointer Dereference in GitHub repository mruby/mruby prior to 3.2.
2022-03-10
1
https://github.com/mruby/mruby
https://github.com/mruby/mruby/commit/da48e7dbb20024c198493b8724adae1b842083aa
da48e7dbb20024c198493b8724adae1b842083aa
SINGLE
['da48e7dbb20024c198493b8724adae1b842083aa']
{'6e964bd1c6b1fcaab0d9fdcb3b87c7567b29d932'}
da48e7dbb20024c198493b8724adae1b842083aa
1
03/09/2022, 06:20:13
fiber.c: should pack 15+ arguments in an array.
Yukihiro "Matz" Matsumoto
null
{'additions': 13, 'deletions': 6, 'total': 19}
[ { "additions": 13, "changes": 19, "deletions": 6, "patch": "@@ -208,15 +208,22 @@ fiber_switch(mrb_state *mrb, mrb_value self, mrb_int len, const mrb_value *a, mr\n if (!c->ci->proc) {\n mrb_raise(mrb, E_FIBER_ERROR, \"double resume (current)\");\n }\n- mrb_stack_extend(mrb, len+2);...
c
CWE-476
[ "mrbgems/mruby-fiber/src/fiber.c" ]
mrbgems/mruby-fiber/src/fiber.c
1
def show flash[:error] = "Error loading #{@attachment.name} from #{@attachment.filename}" redirect_to([@course, :attachments]) && return end send_file(filename, disposition: "inline", type: @attachment.mime_type, filename: @attachment.filename) && return end action_auth...
def show flash[:error] = "Error loading #{@attachment.name} from #{@attachment.filename}" redirect_to([@course, :attachments]) && return end # Set to application/octet-stream to force download send_file(filename, disposition: "inline", type: "application/octet-stream", f...
CVE-2022-0936
{'CWE-79'}
2.9
{'https://github.com/autolab/autolab/commit/02d76ab3737689bba95ffe9a1c69ca5166d71c6b'}
nvd
Cross-site Scripting (XSS) - Stored in GitHub repository autolab/autolab prior to 2.8.0.
2022-04-11
1
https://github.com/autolab/autolab
https://github.com/autolab/autolab/commit/02d76ab3737689bba95ffe9a1c69ca5166d71c6b
02d76ab3737689bba95ffe9a1c69ca5166d71c6b
SINGLE
['02d76ab3737689bba95ffe9a1c69ca5166d71c6b']
{'5a40f804bd5d41954d9ec785e0b7830aaa261a47'}
02d76ab3737689bba95ffe9a1c69ca5166d71c6b
1
04/10/2022, 20:52:02
Force download of attachments (#1490) * Rubocop fix * resolve merge * restore gemfile * restore nl
Fan Pu
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -44,8 +44,9 @@ def show\n flash[:error] = \"Error loading #{@attachment.name} from #{@attachment.filename}\"\n redirect_to([@course, :attachments]) && return\n end\n+ # Set to application/octet-stream to force download\n...
rb
CWE-79
[ "app/controllers/attachments_controller.rb" ]
app/controllers/attachments_controller.rb
1
function get_file_path () { $filename = $f['file']['name']; $tmp_name = $f['file']['tmp_name']; $ext = strtolower(pathinfo($filename, PATHINFO_EXTENSION)); $isFileAllowed = ($allowed) ? in_array($ext, $allowed) : true; if(!fm_isvalid_filename($filename) && !fm_isvalid_filename($_REQUEST['fullpath...
function get_file_path () { $filename = $f['file']['name']; $tmp_name = $f['file']['tmp_name']; $ext = pathinfo($filename, PATHINFO_FILENAME) != '' ? strtolower(pathinfo($filename, PATHINFO_EXTENSION)) : ''; $isFileAllowed = ($allowed) ? in_array($ext, $allowed) : true; if(!fm_isvalid_filename($f...
CVE-2022-1000
{'CWE-22'}
6.4
{'https://github.com/prasathmani/tinyfilemanager/commit/154947ef83efeb68fc2b921065392b6a7fc9c965'}
nvd
Path Traversal in GitHub repository prasathmani/tinyfilemanager prior to 2.4.7.
2022-03-17
1
https://github.com/prasathmani/tinyfilemanager
https://github.com/prasathmani/tinyfilemanager/commit/154947ef83efeb68fc2b921065392b6a7fc9c965
154947ef83efeb68fc2b921065392b6a7fc9c965
SINGLE
['154947ef83efeb68fc2b921065392b6a7fc9c965']
{'bc9096fad339ee58cc3a9722211e0f4d93ff1d53'}
154947ef83efeb68fc2b921065392b6a7fc9c965
1
02/12/2022, 05:04:05
apply fix to path traversal vulnerability (#718) Co-authored-by: João Maurício <joao.goncalves.mauricio@pwc.com>
joaogmauricio
null
{'additions': 3, 'deletions': 3, 'total': 6}
[ { "additions": 3, "changes": 6, "deletions": 3, "patch": "@@ -867,7 +867,7 @@ function get_file_path () {\n \n $filename = $f['file']['name'];\n $tmp_name = $f['file']['tmp_name'];\n- $ext = strtolower(pathinfo($filename, PATHINFO_EXTENSION));\n+ $ext = pathinfo($filename, PATHINFO_FIL...
php
CWE-22
[ "tinyfilemanager.php" ]
tinyfilemanager.php
1
public function authorize() public function rules() { return [ 'upload_receipt' => [ 'nullable', new Base64Mime(['gif', 'jpg', 'png']) ]
public function authorize() public function rules() { return [ 'attachment_receipt' => [ 'nullable', new Base64Mime(['gif', 'jpg', 'png']) ]
CVE-2022-1033
{'CWE-434'}
6.4
{'https://github.com/crater-invoice/crater/commit/88035ea49082f7053a37ef07bf3587e09d9d22b4'}
nvd
Unrestricted Upload of File with Dangerous Type in GitHub repository crater-invoice/crater prior to 6.0.6.
2022-03-23
1
https://github.com/crater-invoice/crater
https://github.com/crater-invoice/crater/commit/88035ea49082f7053a37ef07bf3587e09d9d22b4
88035ea49082f7053a37ef07bf3587e09d9d22b4
SINGLE
['88035ea49082f7053a37ef07bf3587e09d9d22b4']
{'80847529fa181c8f26cc63f8c87f774728d0adbe'}
88035ea49082f7053a37ef07bf3587e09d9d22b4
1
03/22/2022, 11:28:55
Expense attachment validation fix (#855) https://huntr.dev/bounties/4d7d4fc9-e0cf-42d3-b89c-6ea57a769045/
theWorstComrade
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -25,7 +25,7 @@ public function authorize()\n public function rules()\n {\n return [\n- 'upload_receipt' => [\n+ 'attachment_receipt' => [\n 'nullable',\n new Base64Mime(...
php
CWE-434
[ "app/Http/Requests/UploadExpenseReceiptRequest.php" ]
app/Http/Requests/UploadExpenseReceiptRequest.php
1
ticketsController.uploadImageMDE = function (req, res) { '.bmp', '.dib', '.heif', '.heic', '.svg', '.svgz' ] if (!allowedExtensions.includes(ext.toLocaleLowerCase())) {
ticketsController.uploadImageMDE = function (req, res) { '.bmp', '.dib', '.heif', '.heic' ] if (!allowedExtensions.includes(ext.toLocaleLowerCase())) {
CVE-2022-1045
{'CWE-434'}
2.9
{'https://github.com/polonel/trudesk/commit/c4b262c2613d4a8865de0b3252112544bd81997a'}
nvd
Stored XSS viva .svg file upload in GitHub repository polonel/trudesk prior to v1.2.0.
2022-04-11
1
https://github.com/polonel/trudesk
https://github.com/polonel/trudesk/commit/c4b262c2613d4a8865de0b3252112544bd81997a
c4b262c2613d4a8865de0b3252112544bd81997a
SINGLE
['c4b262c2613d4a8865de0b3252112544bd81997a']
{'d5695cf356f205e6b6dd44a84d6b6f071dd3d97a'}
c4b262c2613d4a8865de0b3252112544bd81997a
1
04/10/2022, 00:12:14
fix(tickets): disable uploading .svg as an attachment
Chris Brame
null
{'additions': 1, 'deletions': 3, 'total': 4}
[ { "additions": 1, "changes": 4, "deletions": 3, "patch": "@@ -575,9 +575,7 @@ ticketsController.uploadImageMDE = function (req, res) {\n '.bmp',\n '.dib',\n '.heif',\n- '.heic',\n- '.svg',\n- '.svgz'\n+ '.heic'\n ]\n \n if (!allowedExtensions.includes(ex...
js
CWE-434
[ "src/controllers/tickets.js" ]
src/controllers/tickets.js
1
static RBinSymbol *bin_symbol_from_symbol(RCoreSymCacheElement *element, RCoreSy static RCoreSymCacheElement *parseDragons(RBinFile *bf, RBuffer *buf, int off, int bits, R_OWN char *file_name) { D eprintf ("Dragons at 0x%x\n", off); ut64 size = r_buf_size (buf); if (off >= size) { return NULL; } size -= off; ...
static RBinSymbol *bin_symbol_from_symbol(RCoreSymCacheElement *element, RCoreSy static RCoreSymCacheElement *parseDragons(RBinFile *bf, RBuffer *buf, int off, int bits, R_OWN char *file_name) { D eprintf ("Dragons at 0x%x\n", off); st64 size = r_buf_size (buf); if (off >= size) { return NULL; } size -= off; ...
CVE-2022-1061
{'CWE-787'}
2.9
{'https://github.com/radareorg/radare2/commit/d4ce40b516ffd70cf2e9e36832d8de139117d522'}
nvd
Heap Buffer Overflow in parseDragons in GitHub repository radareorg/radare2 prior to 5.6.8.
2022-03-24
1
https://github.com/radareorg/radare2
https://github.com/radareorg/radare2/commit/d4ce40b516ffd70cf2e9e36832d8de139117d522
d4ce40b516ffd70cf2e9e36832d8de139117d522
SINGLE
['d4ce40b516ffd70cf2e9e36832d8de139117d522']
{'9bcc98f4a67f418d372a934cd1c9e2771a586e69'}
d4ce40b516ffd70cf2e9e36832d8de139117d522
1
03/24/2022, 09:11:29
Fix oobread in symbols header parsing ##bin
Sergi Àlvarez i Capilla
null
{'additions': 4, 'deletions': 1, 'total': 5}
[ { "additions": 4, "changes": 5, "deletions": 1, "patch": "@@ -181,14 +181,17 @@ static RBinSymbol *bin_symbol_from_symbol(RCoreSymCacheElement *element, RCoreSy\n \n static RCoreSymCacheElement *parseDragons(RBinFile *bf, RBuffer *buf, int off, int bits, R_OWN char *file_name) {\n \tD eprintf (\"Dra...
c
CWE-787
[ "libr/bin/p/bin_symbols.c" ]
libr/bin/p/bin_symbols.c
1
mrb_vm_exec(mrb_state *mrb, const struct RProc *proc, const mrb_code *pc) regs[a] = mrb_ary_entry(va, mrb_integer(vb)); break; case MRB_TT_HASH: regs[a] = mrb_hash_get(mrb, va, vb); break; case MRB_TT_STRING: switch (mrb_type(vb)) { case MRB_TT_INTEGER: ...
mrb_vm_exec(mrb_state *mrb, const struct RProc *proc, const mrb_code *pc) regs[a] = mrb_ary_entry(va, mrb_integer(vb)); break; case MRB_TT_HASH: va = mrb_hash_get(mrb, va, vb); regs[a] = va; break; case MRB_TT_STRING: switch (mrb_type(vb)) { case MRB_...
CVE-2022-1071
{'CWE-416'}
6.4
{'https://github.com/mruby/mruby/commit/aaa28a508903041dd7399d4159a8ace9766b022f'}
nvd
User after free in mrb_vm_exec in GitHub repository mruby/mruby prior to 3.2.
2022-03-26
1
https://github.com/mruby/mruby
https://github.com/mruby/mruby/commit/aaa28a508903041dd7399d4159a8ace9766b022f
aaa28a508903041dd7399d4159a8ace9766b022f
SINGLE
['aaa28a508903041dd7399d4159a8ace9766b022f']
{'b4168c9b68daf759ce890c7da9e4ad5547058330'}
aaa28a508903041dd7399d4159a8ace9766b022f
1
03/25/2022, 03:42:12
vm.c: stack may be reallocated in functions calls. Probably due to recursive VM calls via `mrb_funcall()`.
Yukihiro "Matz" Matsumoto
null
{'additions': 11, 'deletions': 6, 'total': 17}
[ { "additions": 11, "changes": 17, "deletions": 6, "patch": "@@ -1394,14 +1394,16 @@ mrb_vm_exec(mrb_state *mrb, const struct RProc *proc, const mrb_code *pc)\n regs[a] = mrb_ary_entry(va, mrb_integer(vb));\n break;\n case MRB_TT_HASH:\n- regs[a] = mrb_hash_get(mrb, va, v...
c
CWE-416
[ "src/vm.c" ]
src/vm.c
1
mrb_vm_exec(mrb_state *mrb, const struct RProc *proc, const mrb_code *pc) } CASE(OP_RANGE_INC, B) { regs[a] = mrb_range_new(mrb, regs[a], regs[a+1], FALSE); mrb_gc_arena_restore(mrb, ai); NEXT; } CASE(OP_RANGE_EXC, B) { regs[a] = mrb_range_new(mrb, regs[a], regs[a+1], TRUE); ...
mrb_vm_exec(mrb_state *mrb, const struct RProc *proc, const mrb_code *pc) } CASE(OP_RANGE_INC, B) { mrb_value v = mrb_range_new(mrb, regs[a], regs[a+1], FALSE); regs[a] = v; mrb_gc_arena_restore(mrb, ai); NEXT; } CASE(OP_RANGE_EXC, B) { mrb_value v = mrb_range_new(mrb, r...
CVE-2022-1106
{'CWE-416'}
4.9
{'https://github.com/mruby/mruby/commit/7f5a490d09f4d56801ac3a3e4e39e03e1471b44c'}
nvd
use after free in mrb_vm_exec in GitHub repository mruby/mruby prior to 3.2.
2022-03-27
1
https://github.com/mruby/mruby
https://github.com/mruby/mruby/commit/7f5a490d09f4d56801ac3a3e4e39e03e1471b44c
7f5a490d09f4d56801ac3a3e4e39e03e1471b44c
SINGLE
['7f5a490d09f4d56801ac3a3e4e39e03e1471b44c']
{'bf5bbf0a4b7f19ea3960e59f32ec252b3aee2c1a'}
7f5a490d09f4d56801ac3a3e4e39e03e1471b44c
1
03/26/2022, 12:06:02
vm.c: vm.c: stack may be reallocated in functions calls; aaa28a5 `mrb_range_new()` also calls VM recursively.
Yukihiro "Matz" Matsumoto
null
{'additions': 4, 'deletions': 2, 'total': 6}
[ { "additions": 4, "changes": 6, "deletions": 2, "patch": "@@ -2819,13 +2819,15 @@ mrb_vm_exec(mrb_state *mrb, const struct RProc *proc, const mrb_code *pc)\n }\n \n CASE(OP_RANGE_INC, B) {\n- regs[a] = mrb_range_new(mrb, regs[a], regs[a+1], FALSE);\n+ mrb_value v = mrb_range_new(mr...
c
CWE-416
[ "src/vm.c" ]
src/vm.c
1
GF_Err gf_bifs_dec_sf_field(GF_BifsDecoder * codec, GF_BitStream *bs, GF_Node *n if (sfcb->buffer) { gf_free(sfcb->buffer); sfcb->buffer = NULL; } while (gf_list_count(sfcb->commandList)) { GF_Command *com = (GF_Command*)gf_list_get(sfcb->commandList, 0);
GF_Err gf_bifs_dec_sf_field(GF_BifsDecoder * codec, GF_BitStream *bs, GF_Node *n if (sfcb->buffer) { gf_free(sfcb->buffer); sfcb->buffer = NULL; sfcb->bufferSize = 0; } while (gf_list_count(sfcb->commandList)) { GF_Command *com = (GF_Command*)gf_list_get(sfcb->commandList, 0);
CVE-2022-1172
{'CWE-476'}
2.9
{'https://github.com/gpac/gpac/commit/55a183e6b8602369c04ea3836e05436a79fbc7f8'}
nvd
Null Pointer Dereference Caused Segmentation Fault in GitHub repository gpac/gpac prior to 2.1.0-DEV.
2022-03-30
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/55a183e6b8602369c04ea3836e05436a79fbc7f8
55a183e6b8602369c04ea3836e05436a79fbc7f8
SINGLE
['55a183e6b8602369c04ea3836e05436a79fbc7f8']
{'b8959e199b374e65550d3c6b0a14710fb0618a5f'}
55a183e6b8602369c04ea3836e05436a79fbc7f8
1
03/29/2022, 14:51:46
fixed #2153
jeanlf
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -205,6 +205,7 @@ GF_Err gf_bifs_dec_sf_field(GF_BifsDecoder * codec, GF_BitStream *bs, GF_Node *n\n \t\tif (sfcb->buffer) {\n \t\t\tgf_free(sfcb->buffer);\n \t\t\tsfcb->buffer = NULL;\n+\t\t\tsfcb->bufferSize = 0;\n \t\t}\n \t\twhile (gf_l...
c
CWE-476
[ "src/bifs/field_decode.c" ]
src/bifs/field_decode.c
1
mrb_vm_exec(mrb_state *mrb, const struct RProc *proc, const mrb_code *pc) } else if (target_class->tt == MRB_TT_MODULE) { target_class = mrb_vm_ci_target_class(ci); if (target_class->tt != MRB_TT_ICLASS) { goto super_typeerror; } }
mrb_vm_exec(mrb_state *mrb, const struct RProc *proc, const mrb_code *pc) } else if (target_class->tt == MRB_TT_MODULE) { target_class = mrb_vm_ci_target_class(ci); if (!target_class || target_class->tt != MRB_TT_ICLASS) { goto super_typeerror; } }
CVE-2022-1201
{'CWE-476'}
6.9
{'https://github.com/mruby/mruby/commit/00acae117da1b45b318dc36531a7b0021b8097ae'}
nvd
NULL Pointer Dereference in mrb_vm_exec with super in GitHub repository mruby/mruby prior to 3.2. This vulnerability is capable of making the mruby interpreter crash, thus affecting the availability of the system.
2022-04-02
1
https://github.com/mruby/mruby
https://github.com/mruby/mruby/commit/00acae117da1b45b318dc36531a7b0021b8097ae
00acae117da1b45b318dc36531a7b0021b8097ae
SINGLE
['00acae117da1b45b318dc36531a7b0021b8097ae']
{'d1f1b4ea38cd5a2a9d0b2aa3547d4f2828180299'}
00acae117da1b45b318dc36531a7b0021b8097ae
1
04/01/2022, 07:40:06
vm.c: target class may be NULL.
Yukihiro "Matz" Matsumoto
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -1749,7 +1749,7 @@ mrb_vm_exec(mrb_state *mrb, const struct RProc *proc, const mrb_code *pc)\n }\n else if (target_class->tt == MRB_TT_MODULE) {\n target_class = mrb_vm_ci_target_class(ci);\n- if (target_class->t...
c
CWE-476
[ "src/vm.c" ]
src/vm.c
1
/* radare2 - LGPL - Copyright 2014-2015 - pancake */ #include <r_asm.h> #include <r_lib.h> static int analop(RAnal *a, RAnalOp *op, ut64 addr, const ut8 *buf, int len, RAn int opsize = -1; op->type = -1; opsize = 2; switch (buf[0]) { case 0x3f: case 0x4f: static int analop(RAnal *a, RAnalOp *op, ut64 addr, cons...
/* radare2 - LGPL - Copyright 2014-2022 - pancake */ #include <r_asm.h> #include <r_lib.h> static int analop(RAnal *a, RAnalOp *op, ut64 addr, const ut8 *buf, int len, RAn int opsize = -1; op->type = -1; opsize = 2; if (len < 1) { return -1; } switch (buf[0]) { case 0x3f: case 0x4f: static int analop(RAnal ...
CVE-2022-1207
{'CWE-125'}
2.9
{'https://github.com/radareorg/radare2/commit/605785b65dd356d46d4487faa41dbf90943b8bc1'}
nvd
Out-of-bounds read in GitHub repository radareorg/radare2 prior to 5.6.8. This vulnerability allows attackers to read sensitive information from outside the allocated buffer boundary.
2022-04-01
1
https://github.com/radareorg/radare2
https://github.com/radareorg/radare2/commit/605785b65dd356d46d4487faa41dbf90943b8bc1
605785b65dd356d46d4487faa41dbf90943b8bc1
SINGLE
['605785b65dd356d46d4487faa41dbf90943b8bc1']
{'0e4a8b95b2fe252079192253ab005ee0dcf525bd'}
605785b65dd356d46d4487faa41dbf90943b8bc1
1
04/01/2022, 19:03:24
Fix 1 byte oobread in the cris analysis plugin ##crash
pancake
null
{'additions': 22, 'deletions': 9, 'total': 31}
[ { "additions": 22, "changes": 31, "deletions": 9, "patch": "@@ -1,4 +1,4 @@\n-/* radare2 - LGPL - Copyright 2014-2015 - pancake */\n+/* radare2 - LGPL - Copyright 2014-2022 - pancake */\n \n #include <r_asm.h>\n #include <r_lib.h>\n@@ -7,6 +7,9 @@ static int analop(RAnal *a, RAnalOp *op, ut64 addr, ...
c
CWE-125
[ "libr/anal/p/anal_cris.c" ]
libr/anal/p/anal_cris.c
1