idx int64 | project string | commit_id string | project_url string | commit_url string | commit_message string | target int64 | func string | func_hash string | file_name string | file_hash string | cwe string | cve string | cve_desc string | nvd_url string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
215,103 | mongo | a5e2f9b0a236462a6d1ca129583c617f111367b4 | https://github.com/mongodb/mongo | https://github.com/mongodb/mongo/commit/a5e2f9b0a236462a6d1ca129583c617f111367b4 | SERVER-59071 Treat '$sample' as unsharded when connecting directly to shards
(cherry picked from commit f3604b901d688c194de5e430c7fbab060c9dc8e0) | 1 | createRandomCursorExecutor(const CollectionPtr& coll,
const boost::intrusive_ptr<ExpressionContext>& expCtx,
long long sampleSize,
long long numRecords,
boost::optional<BucketUnpacker> bucketUnpacker) {
Opera... | 101223003381904306346527857489543984398 | None | CWE-617 | CVE-2021-32037 | An authorized user may trigger an invariant which may result in denial of service or server exit if a relevant aggregation request is sent to a shard. Usually, the requests are sent via mongos and special privileges are required in order to know the address of the shards and to log in to the shards of an auth enabled e... | https://nvd.nist.gov/vuln/detail/CVE-2021-32037 | |
483,469 | mongo | a5e2f9b0a236462a6d1ca129583c617f111367b4 | https://github.com/mongodb/mongo | https://github.com/mongodb/mongo/commit/a5e2f9b0a236462a6d1ca129583c617f111367b4 | SERVER-59071 Treat '$sample' as unsharded when connecting directly to shards
(cherry picked from commit f3604b901d688c194de5e430c7fbab060c9dc8e0) | 0 | createRandomCursorExecutor(const CollectionPtr& coll,
const boost::intrusive_ptr<ExpressionContext>& expCtx,
long long sampleSize,
long long numRecords,
boost::optional<BucketUnpacker> bucketUnpacker) {
Opera... | 53510909926140160570175197476495085795 | None | CWE-617 | CVE-2021-32037 | An authorized user may trigger an invariant which may result in denial of service or server exit if a relevant aggregation request is sent to a shard. Usually, the requests are sent via mongos and special privileges are required in order to know the address of the shards and to log in to the shards of an auth enabled e... | https://nvd.nist.gov/vuln/detail/CVE-2021-32037 | |
215,142 | open62541 | b79db1ac78146fc06b0b8435773d3967de2d659c | https://github.com/open62541/open62541 | https://github.com/open62541/open62541/commit/b79db1ac78146fc06b0b8435773d3967de2d659c | fix(plugin): Add default limits for chunks and message size
Based on a reported DoS vulnerability reported by Team82 (Claroty
Research). | 1 | setup_secureChannel(void) {
TestingPolicy(&dummyPolicy, dummyCertificate, &fCalled, &keySizes);
UA_SecureChannel_init(&testChannel, &UA_ConnectionConfig_default);
UA_SecureChannel_setSecurityPolicy(&testChannel, &dummyPolicy, &dummyCertificate);
testingConnection = createDummyConnection(65535, &sentDat... | 129373646789395132978577350520275897854 | check_securechannel.c | 237191463744761061393465477757063019069 | CWE-703 | CVE-2022-25761 | The package open62541/open62541 before 1.2.5, from 1.3-rc1 and before 1.3.1 are vulnerable to Denial of Service (DoS) due to a missing limitation on the number of received chunks - per single session or in total for all concurrent sessions. An attacker can exploit this vulnerability by sending an unlimited number of hu... | https://nvd.nist.gov/vuln/detail/CVE-2022-25761 |
484,063 | open62541 | b79db1ac78146fc06b0b8435773d3967de2d659c | https://github.com/open62541/open62541 | https://github.com/open62541/open62541/commit/b79db1ac78146fc06b0b8435773d3967de2d659c | fix(plugin): Add default limits for chunks and message size
Based on a reported DoS vulnerability reported by Team82 (Claroty
Research). | 0 | setup_secureChannel(void) {
TestingPolicy(&dummyPolicy, dummyCertificate, &fCalled, &keySizes);
UA_SecureChannel_init(&testChannel, &UA_ConnectionConfig_default);
UA_SecureChannel_setSecurityPolicy(&testChannel, &dummyPolicy, &dummyCertificate);
testingConnection =
createDummyConnection(UA_Conn... | 210099699353094700409954983864057205013 | check_securechannel.c | 317936293844889222163489724834611177083 | CWE-703 | CVE-2022-25761 | The package open62541/open62541 before 1.2.5, from 1.3-rc1 and before 1.3.1 are vulnerable to Denial of Service (DoS) due to a missing limitation on the number of received chunks - per single session or in total for all concurrent sessions. An attacker can exploit this vulnerability by sending an unlimited number of hu... | https://nvd.nist.gov/vuln/detail/CVE-2022-25761 |
215,188 | libmobi | ab5bf0e37e540eac682a14e628853b918626e72b | https://github.com/bfabiszewski/libmobi | https://github.com/bfabiszewski/libmobi/commit/ab5bf0e37e540eac682a14e628853b918626e72b | fix oob write bug inside libmobi | 1 | void mobi_buffer_move(MOBIBuffer *buf, const int offset, const size_t len) {
size_t aoffset = (size_t) abs(offset);
unsigned char *source = buf->data + buf->offset;
if (offset >= 0) {
if (buf->offset + aoffset + len > buf->maxlen) {
debug_print("%s", "End of buffer\n");
buf->... | 63463081562925737105123134404328274929 | None | CWE-787 | CVE-2021-3751 | libmobi is vulnerable to Out-of-bounds Write | https://nvd.nist.gov/vuln/detail/CVE-2021-3751 | |
484,732 | libmobi | ab5bf0e37e540eac682a14e628853b918626e72b | https://github.com/bfabiszewski/libmobi | https://github.com/bfabiszewski/libmobi/commit/ab5bf0e37e540eac682a14e628853b918626e72b | fix oob write bug inside libmobi | 0 | void mobi_buffer_move(MOBIBuffer *buf, const int offset, const size_t len) {
size_t aoffset = (size_t) abs(offset);
unsigned char *source = buf->data + buf->offset;
if (offset >= 0) {
if (buf->offset + aoffset + len > buf->maxlen) {
debug_print("%s", "End of buffer\n");
buf->... | 144002101291977125414572650343381313849 | None | CWE-787 | CVE-2021-3751 | libmobi is vulnerable to Out-of-bounds Write | https://nvd.nist.gov/vuln/detail/CVE-2021-3751 | |
215,262 | qemu | e73adfbeec9d4e008630c814759052ed945c3fed | https://github.com/bonzini/qemu | https://git.qemu.org/?p=qemu.git;a=commit;h=e73adfbeec9d4e008630c814759052ed945c3fed | cadence_gem: switch to use qemu_receive_packet() for loopback
This patch switches to use qemu_receive_packet() which can detect
reentrancy and return early.
This is intended to address CVE-2021-3416.
Cc: Prasad J Pandit <ppandit@redhat.com>
Cc: qemu-stable@nongnu.org
Reviewed-by: Philippe Mathieu-Daudé <philmd@redha... | 1 | static void gem_transmit(CadenceGEMState *s)
{
uint32_t desc[DESC_MAX_NUM_WORDS];
hwaddr packet_desc_addr;
uint8_t *p;
unsigned total_bytes;
int q = 0;
/* Do nothing if transmit is not enabled. */
if (!(s->regs[GEM_NWCTRL] & GEM_NWCTRL_TXENA)) {
return;
}
DB_PRINT("\... | 96949803014582607595727068395060090256 | cadence_gem.c | 142576312399333534516163795241152257631 | CWE-835 | CVE-2021-3416 | A potential stack overflow via infinite loop issue was found in various NIC emulators of QEMU in versions up to and including 5.2.0. The issue occurs in loopback mode of a NIC wherein reentrant DMA checks get bypassed. A guest user/process may use this flaw to consume CPU cycles or crash the QEMU process on the host re... | https://nvd.nist.gov/vuln/detail/CVE-2021-3416 |
486,796 | qemu | e73adfbeec9d4e008630c814759052ed945c3fed | https://github.com/bonzini/qemu | https://git.qemu.org/?p=qemu.git;a=commit;h=e73adfbeec9d4e008630c814759052ed945c3fed | cadence_gem: switch to use qemu_receive_packet() for loopback
This patch switches to use qemu_receive_packet() which can detect
reentrancy and return early.
This is intended to address CVE-2021-3416.
Cc: Prasad J Pandit <ppandit@redhat.com>
Cc: qemu-stable@nongnu.org
Reviewed-by: Philippe Mathieu-Daudé <philmd@redha... | 0 | static void gem_transmit(CadenceGEMState *s)
{
uint32_t desc[DESC_MAX_NUM_WORDS];
hwaddr packet_desc_addr;
uint8_t *p;
unsigned total_bytes;
int q = 0;
/* Do nothing if transmit is not enabled. */
if (!(s->regs[GEM_NWCTRL] & GEM_NWCTRL_TXENA)) {
return;
}
DB_PRINT("\... | 333706942896596885696237067919896756767 | cadence_gem.c | 35811516595388673046749961470018191104 | CWE-835 | CVE-2021-3416 | A potential stack overflow via infinite loop issue was found in various NIC emulators of QEMU in versions up to and including 5.2.0. The issue occurs in loopback mode of a NIC wherein reentrant DMA checks get bypassed. A guest user/process may use this flaw to consume CPU cycles or crash the QEMU process on the host re... | https://nvd.nist.gov/vuln/detail/CVE-2021-3416 |
215,264 | perl5 | 66bbb51b93253a3f87d11c2695cfb7bdb782184a | https://github.com/perl/perl5 | https://github.com/perl/perl5/commit/66bbb51b93253a3f87d11c2695cfb7bdb782184a | study_chunk: avoid mutating regexp program within GOSUB
gh16947 and gh17743: studying GOSUB may restudy in an inner call
(via a mix of recursion and enframing) something that an outer call
is in the middle of looking at. Let the outer frame deal with it.
(CVE-2020-12723)
(cherry picked from commit c4033e740bd18d9fb... | 1 | STATIC SSize_t
S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp,
SSize_t *minlenp, SSize_t *deltap,
regnode *last,
scan_data_t *data,
I32 stopparen,
U32 recursed_depth,
regnode_ssc *and_withp,
U32 flags, U32 depth)
/* scanp: Start here (rea... | 124503767038519369207654054837018016597 | regcomp.c | 257709146327047081328217382800700188887 | CWE-120 | CVE-2020-12723 | regcomp.c in Perl before 5.30.3 allows a buffer overflow via a crafted regular expression because of recursive S_study_chunk calls. | https://nvd.nist.gov/vuln/detail/CVE-2020-12723 |
486,837 | perl5 | 66bbb51b93253a3f87d11c2695cfb7bdb782184a | https://github.com/perl/perl5 | https://github.com/perl/perl5/commit/66bbb51b93253a3f87d11c2695cfb7bdb782184a | study_chunk: avoid mutating regexp program within GOSUB
gh16947 and gh17743: studying GOSUB may restudy in an inner call
(via a mix of recursion and enframing) something that an outer call
is in the middle of looking at. Let the outer frame deal with it.
(CVE-2020-12723)
(cherry picked from commit c4033e740bd18d9fb... | 0 | STATIC SSize_t
S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp,
SSize_t *minlenp, SSize_t *deltap,
regnode *last,
scan_data_t *data,
I32 stopparen,
U32 recursed_depth,
regnode_ssc *and_withp,
U32 flags, U32 depth, bool was_mutate_ok)
/* sc... | 7575865277439549502998615595514633684 | regcomp.c | 6878494453235899109541655885780527455 | CWE-120 | CVE-2020-12723 | regcomp.c in Perl before 5.30.3 allows a buffer overflow via a crafted regular expression because of recursive S_study_chunk calls. | https://nvd.nist.gov/vuln/detail/CVE-2020-12723 |
215,312 | linux-2.6 | 9926e4c74300c4b31dee007298c6475d33369df0 | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6 | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=9926e4c74300c4b31dee007298c6475d33369df0 | CPU time limit patch / setrlimit(RLIMIT_CPU, 0) cheat fix
As discovered here today, the change in Kernel 2.6.17 intended to inhibit
users from setting RLIMIT_CPU to 0 (as that is equivalent to unlimited) by
"cheating" and setting it to 1 in such a case, does not make a difference,
as the check is done in the wrong pla... | 1 | asmlinkage long sys_setrlimit(unsigned int resource, struct rlimit __user *rlim)
{
struct rlimit new_rlim, *old_rlim;
unsigned long it_prof_secs;
int retval;
if (resource >= RLIM_NLIMITS)
return -EINVAL;
if (copy_from_user(&new_rlim, rlim, sizeof(*rlim)))
return -EFAULT;
if (new_rlim.rlim_cur > new_rlim.rlim... | 308291960942000103777374680863829169927 | None | CWE-20 | CVE-2008-1294 | Linux kernel 2.6.17, and other versions before 2.6.22, does not check when a user attempts to set RLIMIT_CPU to 0 until after the change is made, which allows local users to bypass intended resource limits. | https://nvd.nist.gov/vuln/detail/CVE-2008-1294 | |
487,618 | linux-2.6 | 9926e4c74300c4b31dee007298c6475d33369df0 | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6 | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=9926e4c74300c4b31dee007298c6475d33369df0 | CPU time limit patch / setrlimit(RLIMIT_CPU, 0) cheat fix
As discovered here today, the change in Kernel 2.6.17 intended to inhibit
users from setting RLIMIT_CPU to 0 (as that is equivalent to unlimited) by
"cheating" and setting it to 1 in such a case, does not make a difference,
as the check is done in the wrong pla... | 0 | asmlinkage long sys_setrlimit(unsigned int resource, struct rlimit __user *rlim)
{
struct rlimit new_rlim, *old_rlim;
unsigned long it_prof_secs;
int retval;
if (resource >= RLIM_NLIMITS)
return -EINVAL;
if (copy_from_user(&new_rlim, rlim, sizeof(*rlim)))
return -EFAULT;
if (new_rlim.rlim_cur > new_rlim.rlim... | 187909105803248299994402329971280049548 | None | CWE-20 | CVE-2008-1294 | Linux kernel 2.6.17, and other versions before 2.6.22, does not check when a user attempts to set RLIMIT_CPU to 0 until after the change is made, which allows local users to bypass intended resource limits. | https://nvd.nist.gov/vuln/detail/CVE-2008-1294 | |
215,374 | linux-2.6 | 328fc47ea0bcc27d9afa69c3ad6e52431cadd76c | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6 | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=328fc47ea0bcc27d9afa69c3ad6e52431cadd76c | sctp: correct bounds check in sctp_setsockopt_auth_key
The bonds check to prevent buffer overlflow was not exactly
right. It still allowed overflow of up to 8 bytes which is
sizeof(struct sctp_authkey).
Since optlen is already checked against the size of that struct,
we are guaranteed not to cause interger overflow ... | 1 | static int sctp_setsockopt_auth_key(struct sock *sk,
char __user *optval,
int optlen)
{
struct sctp_authkey *authkey;
struct sctp_association *asoc;
int ret;
if (!sctp_auth_enable)
return -EACCES;
if (optlen <= sizeof(struct sctp_authkey))
return -EINVAL;
authkey = kmalloc(optlen, GFP_KERNE... | 46314924383394303871242635983086014836 | None | CWE-189 | CVE-2008-3526 | Integer overflow in the sctp_setsockopt_auth_key function in net/sctp/socket.c in the Stream Control Transmission Protocol (sctp) implementation in the Linux kernel 2.6.24-rc1 through 2.6.26.3 allows remote attackers to cause a denial of service (panic) or possibly have unspecified other impact via a crafted sca_keylen... | https://nvd.nist.gov/vuln/detail/CVE-2008-3526 | |
488,919 | linux-2.6 | 328fc47ea0bcc27d9afa69c3ad6e52431cadd76c | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6 | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=328fc47ea0bcc27d9afa69c3ad6e52431cadd76c | sctp: correct bounds check in sctp_setsockopt_auth_key
The bonds check to prevent buffer overlflow was not exactly
right. It still allowed overflow of up to 8 bytes which is
sizeof(struct sctp_authkey).
Since optlen is already checked against the size of that struct,
we are guaranteed not to cause interger overflow ... | 0 | static int sctp_setsockopt_auth_key(struct sock *sk,
char __user *optval,
int optlen)
{
struct sctp_authkey *authkey;
struct sctp_association *asoc;
int ret;
if (!sctp_auth_enable)
return -EACCES;
if (optlen <= sizeof(struct sctp_authkey))
return -EINVAL;
authkey = kmalloc(optlen, GFP_KERNE... | 298167600420793747403712897523979919986 | None | CWE-189 | CVE-2008-3526 | Integer overflow in the sctp_setsockopt_auth_key function in net/sctp/socket.c in the Stream Control Transmission Protocol (sctp) implementation in the Linux kernel 2.6.24-rc1 through 2.6.26.3 allows remote attackers to cause a denial of service (panic) or possibly have unspecified other impact via a crafted sca_keylen... | https://nvd.nist.gov/vuln/detail/CVE-2008-3526 | |
215,391 | linux-2.6 | ba0166708ef4da7eeb61dd92bbba4d5a749d6561 | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6 | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=ba0166708ef4da7eeb61dd92bbba4d5a749d6561 | sctp: Fix kernel panic while process protocol violation parameter
Since call to function sctp_sf_abort_violation() need paramter 'arg' with
'struct sctp_chunk' type, it will read the chunk type and chunk length from
the chunk_hdr member of chunk. But call to sctp_sf_violation_paramlen()
always with 'struct sctp_paramh... | 1 | static sctp_disposition_t sctp_sf_violation_paramlen(
const struct sctp_endpoint *ep,
const struct sctp_association *asoc,
const sctp_subtype_t type,
void *arg,
sctp_cmd_seq_t *commands) {
static const char err_str[] = "The following parameter had invalid length:";
return... | 31315788610604386259282762063646605709 | None | CWE-20 | CVE-2008-4618 | The Stream Control Transmission Protocol (sctp) implementation in the Linux kernel before 2.6.27 does not properly handle a protocol violation in which a parameter has an invalid length, which allows attackers to cause a denial of service (panic) via unspecified vectors, related to sctp_sf_violation_paramlen, sctp_sf_a... | https://nvd.nist.gov/vuln/detail/CVE-2008-4618 | |
489,124 | linux-2.6 | ba0166708ef4da7eeb61dd92bbba4d5a749d6561 | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6 | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=ba0166708ef4da7eeb61dd92bbba4d5a749d6561 | sctp: Fix kernel panic while process protocol violation parameter
Since call to function sctp_sf_abort_violation() need paramter 'arg' with
'struct sctp_chunk' type, it will read the chunk type and chunk length from
the chunk_hdr member of chunk. But call to sctp_sf_violation_paramlen()
always with 'struct sctp_paramh... | 0 | static sctp_disposition_t sctp_sf_violation_chunklen(
const struct sctp_endpoint *ep,
const struct sctp_association *asoc,
const sctp_subtype_t type,
void *arg,
sctp_cmd_seq_t *commands)
{
static const char err_str[]="The following chunk had invalid length:";
return sctp_... | 307853403397128900302576220100500126991 | None | CWE-20 | CVE-2008-4618 | The Stream Control Transmission Protocol (sctp) implementation in the Linux kernel before 2.6.27 does not properly handle a protocol violation in which a parameter has an invalid length, which allows attackers to cause a denial of service (panic) via unspecified vectors, related to sctp_sf_violation_paramlen, sctp_sf_a... | https://nvd.nist.gov/vuln/detail/CVE-2008-4618 | |
215,399 | linux-2.6 | efc7ffcb4237f8cb9938909041c4ed38f6e1bf40 | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6 | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=efc7ffcb4237f8cb9938909041c4ed38f6e1bf40 | hfsplus: fix Buffer overflow with a corrupted image
When an hfsplus image gets corrupted it might happen that the catalog
namelength field gets b0rked. If we mount such an image the memcpy() in
hfsplus_cat_build_key_uni() writes more than the 255 that fit in the name
field. Depending on the size of the overwritten d... | 1 | int hfsplus_find_cat(struct super_block *sb, u32 cnid,
struct hfs_find_data *fd)
{
hfsplus_cat_entry tmp;
int err;
u16 type;
hfsplus_cat_build_key(sb, fd->search_key, cnid, NULL);
err = hfs_brec_read(fd, &tmp, sizeof(hfsplus_cat_entry));
if (err)
return err;
type = be16_to_cpu(tmp.type);
if (type != ... | 215695318616116738125696937571179709955 | None | CWE-119 | CVE-2008-4933 | Buffer overflow in the hfsplus_find_cat function in fs/hfsplus/catalog.c in the Linux kernel before 2.6.28-rc1 allows attackers to cause a denial of service (memory corruption or system crash) via an hfsplus filesystem image with an invalid catalog namelength field, related to the hfsplus_cat_build_key_uni function. | https://nvd.nist.gov/vuln/detail/CVE-2008-4933 | |
489,215 | linux-2.6 | efc7ffcb4237f8cb9938909041c4ed38f6e1bf40 | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6 | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=efc7ffcb4237f8cb9938909041c4ed38f6e1bf40 | hfsplus: fix Buffer overflow with a corrupted image
When an hfsplus image gets corrupted it might happen that the catalog
namelength field gets b0rked. If we mount such an image the memcpy() in
hfsplus_cat_build_key_uni() writes more than the 255 that fit in the name
field. Depending on the size of the overwritten d... | 0 | int hfsplus_find_cat(struct super_block *sb, u32 cnid,
struct hfs_find_data *fd)
{
hfsplus_cat_entry tmp;
int err;
u16 type;
hfsplus_cat_build_key(sb, fd->search_key, cnid, NULL);
err = hfs_brec_read(fd, &tmp, sizeof(hfsplus_cat_entry));
if (err)
return err;
type = be16_to_cpu(tmp.type);
if (type != ... | 296624566166126910302983685635029664818 | None | CWE-119 | CVE-2008-4933 | Buffer overflow in the hfsplus_find_cat function in fs/hfsplus/catalog.c in the Linux kernel before 2.6.28-rc1 allows attackers to cause a denial of service (memory corruption or system crash) via an hfsplus filesystem image with an invalid catalog namelength field, related to the hfsplus_cat_build_key_uni function. | https://nvd.nist.gov/vuln/detail/CVE-2008-4933 | |
215,400 | linux-2.6 | 649f1ee6c705aab644035a7998d7b574193a598a | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6 | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=649f1ee6c705aab644035a7998d7b574193a598a | hfsplus: check read_mapping_page() return value
While testing more corrupted images with hfsplus, i came across
one which triggered the following bug:
[15840.675016] BUG: unable to handle kernel paging request at fffffffb
[15840.675016] IP: [<c0116a4f>] kmap+0x15/0x56
[15840.675016] *pde = 00008067 *pte = 00000000
[1... | 1 | int hfsplus_block_allocate(struct super_block *sb, u32 size, u32 offset, u32 *max)
{
struct page *page;
struct address_space *mapping;
__be32 *pptr, *curr, *end;
u32 mask, start, len, n;
__be32 val;
int i;
len = *max;
if (!len)
return size;
dprint(DBG_BITMAP, "block_allocate: %u,%u,%u\n", size, offset, len... | 83147584987349782496711287280520974541 | None | CWE-20 | CVE-2008-4934 | The hfsplus_block_allocate function in fs/hfsplus/bitmap.c in the Linux kernel before 2.6.28-rc1 does not check a certain return value from the read_mapping_page function before calling kmap, which allows attackers to cause a denial of service (system crash) via a crafted hfsplus filesystem image. | https://nvd.nist.gov/vuln/detail/CVE-2008-4934 | |
489,221 | linux-2.6 | 649f1ee6c705aab644035a7998d7b574193a598a | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6 | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=649f1ee6c705aab644035a7998d7b574193a598a | hfsplus: check read_mapping_page() return value
While testing more corrupted images with hfsplus, i came across
one which triggered the following bug:
[15840.675016] BUG: unable to handle kernel paging request at fffffffb
[15840.675016] IP: [<c0116a4f>] kmap+0x15/0x56
[15840.675016] *pde = 00008067 *pte = 00000000
[1... | 0 | int hfsplus_block_allocate(struct super_block *sb, u32 size, u32 offset, u32 *max)
{
struct page *page;
struct address_space *mapping;
__be32 *pptr, *curr, *end;
u32 mask, start, len, n;
__be32 val;
int i;
len = *max;
if (!len)
return size;
dprint(DBG_BITMAP, "block_allocate: %u,%u,%u\n", size, offset, len... | 221598202771346823073737014328154892672 | None | CWE-20 | CVE-2008-4934 | The hfsplus_block_allocate function in fs/hfsplus/bitmap.c in the Linux kernel before 2.6.28-rc1 does not check a certain return value from the read_mapping_page function before calling kmap, which allows attackers to cause a denial of service (system crash) via a crafted hfsplus filesystem image. | https://nvd.nist.gov/vuln/detail/CVE-2008-4934 | |
215,549 | gzip | a3db5806d012082b9e25cc36d09f19cd736a468f | http://git.savannah.gnu.org/cgit/gzip | http://git.savannah.gnu.org/cgit/gzip.git/commit/?id=a3db5806d012082b9e25cc36d09f19cd736a468f | gzip -d: do not clobber stack for valid input on x86_64
* unlzw.c (unlzw): Avoid integer overflow.
Aki Helin reported the segfault along with an input to trigger the bug.
* NEWS (Bug fixes): Mention it. | 1 | int unlzw(in, out)
int in, out; /* input and output file descriptors */
{
REG2 char_type *stackp;
REG3 code_int code;
REG4 int finchar;
REG5 code_int oldcode;
REG6 code_int incode;
REG7 long inbits;
REG8 long posbits;
REG9 int outpo... | 315113145353857602270748585965585984173 | None | CWE-189 | CVE-2010-0001 | Integer underflow in the unlzw function in unlzw.c in gzip before 1.4 on 64-bit platforms, as used in ncompress and probably others, allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted archive that uses LZW compression, leading to an array index erro... | https://nvd.nist.gov/vuln/detail/CVE-2010-0001 | |
491,979 | gzip | a3db5806d012082b9e25cc36d09f19cd736a468f | http://git.savannah.gnu.org/cgit/gzip | http://git.savannah.gnu.org/cgit/gzip.git/commit/?id=a3db5806d012082b9e25cc36d09f19cd736a468f | gzip -d: do not clobber stack for valid input on x86_64
* unlzw.c (unlzw): Avoid integer overflow.
Aki Helin reported the segfault along with an input to trigger the bug.
* NEWS (Bug fixes): Mention it. | 0 | int unlzw(in, out)
int in, out; /* input and output file descriptors */
{
REG2 char_type *stackp;
REG3 code_int code;
REG4 int finchar;
REG5 code_int oldcode;
REG6 code_int incode;
REG7 long inbits;
REG8 long posbits;
REG9 int outpo... | 39547802204189321461886480230956054723 | None | CWE-189 | CVE-2010-0001 | Integer underflow in the unlzw function in unlzw.c in gzip before 1.4 on 64-bit platforms, as used in ncompress and probably others, allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted archive that uses LZW compression, leading to an array index erro... | https://nvd.nist.gov/vuln/detail/CVE-2010-0001 | |
215,921 | grep | 83a95bd8c8561875b948cadd417c653dbe7ef2e2 | http://git.savannah.gnu.org/cgit/grep | http://git.sv.gnu.org/cgit/grep.git/commit/?id=83a95bd8c8561875b948cadd417c653dbe7ef2e2 | grep -F: fix a heap buffer (read) overrun
grep's read buffer is often filled to its full size, except when
reading the final buffer of a file. In that case, the number of
bytes read may be far less than the size of the buffer. However, for
certain unusual pattern/text combinations, grep -F would mistakenly
examine b... | 1 | bmexec_trans (kwset_t kwset, char const *text, size_t size)
{
unsigned char const *d1;
char const *ep, *sp, *tp;
int d;
int len = kwset->mind;
char const *trans = kwset->trans;
if (len == 0)
return 0;
if (len > size)
return -1;
if (len == 1)
{
tp = memchr_kwset (text, size, kwset);
... | 221145962274501315787647767738252319422 | None | CWE-119 | CVE-2015-1345 | The bmexec_trans function in kwset.c in grep 2.19 through 2.21 allows local users to cause a denial of service (out-of-bounds heap read and crash) via crafted input when using the -F option. | https://nvd.nist.gov/vuln/detail/CVE-2015-1345 | |
497,809 | grep | 83a95bd8c8561875b948cadd417c653dbe7ef2e2 | http://git.savannah.gnu.org/cgit/grep | http://git.sv.gnu.org/cgit/grep.git/commit/?id=83a95bd8c8561875b948cadd417c653dbe7ef2e2 | grep -F: fix a heap buffer (read) overrun
grep's read buffer is often filled to its full size, except when
reading the final buffer of a file. In that case, the number of
bytes read may be far less than the size of the buffer. However, for
certain unusual pattern/text combinations, grep -F would mistakenly
examine b... | 0 | bmexec_trans (kwset_t kwset, char const *text, size_t size)
{
unsigned char const *d1;
char const *ep, *sp, *tp;
int d;
int len = kwset->mind;
char const *trans = kwset->trans;
if (len == 0)
return 0;
if (len > size)
return -1;
if (len == 1)
{
tp = memchr_kwset (text, size, kwset);
... | 262967935690402821011816255604665485413 | None | CWE-119 | CVE-2015-1345 | The bmexec_trans function in kwset.c in grep 2.19 through 2.21 allows local users to cause a denial of service (out-of-bounds heap read and crash) via crafted input when using the -F option. | https://nvd.nist.gov/vuln/detail/CVE-2015-1345 | |
215,948 | nettle | c71d2c9d20eeebb985e3872e4550137209e3ce4d | https://git.lysator.liu.se/nettle/nettle | https://git.lysator.liu.se/nettle/nettle/commit/c71d2c9d20eeebb985e3872e4550137209e3ce4d | Fixed miscomputation bugs in secp-256r1 modulo functions. | 1 | ecc_256_modp (const struct ecc_modulo *p, mp_limb_t *rp)
{
mp_limb_t u1, u0;
mp_size_t n;
n = 2*p->size;
u1 = rp[--n];
u0 = rp[n-1];
/* This is not particularly fast, but should work well with assembly implementation. */
for (; n >= p->size; n--)
{
mp_limb_t q2, q1, q0, t, cy;
/* <q2, q... | 238786089108920286298904536145396627402 | None | CWE-310 | CVE-2015-8803 | The ecc_256_modp function in ecc-256.c in Nettle before 3.2 does not properly handle carry propagation and produces incorrect output in its implementation of the P-256 NIST elliptic curve, which allows attackers to have unspecified impact via unknown vectors, a different vulnerability than CVE-2015-8805. | https://nvd.nist.gov/vuln/detail/CVE-2015-8803 | |
498,160 | nettle | c71d2c9d20eeebb985e3872e4550137209e3ce4d | https://git.lysator.liu.se/nettle/nettle | https://git.lysator.liu.se/nettle/nettle/commit/c71d2c9d20eeebb985e3872e4550137209e3ce4d | Fixed miscomputation bugs in secp-256r1 modulo functions. | 0 | ecc_256_modp (const struct ecc_modulo *p, mp_limb_t *rp)
{
mp_limb_t u1, u0;
mp_size_t n;
n = 2*p->size;
u1 = rp[--n];
u0 = rp[n-1];
/* This is not particularly fast, but should work well with assembly implementation. */
for (; n >= p->size; n--)
{
mp_limb_t q2, q1, q0, t, cy;
/* <q2, q... | 9762716495291847327179594432373951677 | None | CWE-310 | CVE-2015-8803 | The ecc_256_modp function in ecc-256.c in Nettle before 3.2 does not properly handle carry propagation and produces incorrect output in its implementation of the P-256 NIST elliptic curve, which allows attackers to have unspecified impact via unknown vectors, a different vulnerability than CVE-2015-8805. | https://nvd.nist.gov/vuln/detail/CVE-2015-8803 | |
216,027 | tar | cb07844454d8cc9fb21f53ace75975f91185a120 | http://git.savannah.gnu.org/cgit/tar | http://git.savannah.gnu.org/cgit/tar.git/commit/?id=cb07844454d8cc9fb21f53ace75975f91185a120 | Fix possible NULL dereference (savannah bug #55369)
* src/sparse.c (pax_decode_header): Check return from find_next_block. | 1 | pax_decode_header (struct tar_sparse_file *file)
{
if (file->stat_info->sparse_major > 0)
{
uintmax_t u;
char nbuf[UINTMAX_STRSIZE_BOUND];
union block *blk;
char *p;
size_t i;
off_t start;
#define COPY_BUF(b,buf,src) do \
{ ... | 160355660991121839913024673798590735910 | None | CWE-476 | CVE-2019-9923 | pax_decode_header in sparse.c in GNU Tar before 1.32 had a NULL pointer dereference when parsing certain archives that have malformed extended headers. | https://nvd.nist.gov/vuln/detail/CVE-2019-9923 | |
498,918 | tar | cb07844454d8cc9fb21f53ace75975f91185a120 | http://git.savannah.gnu.org/cgit/tar | http://git.savannah.gnu.org/cgit/tar.git/commit/?id=cb07844454d8cc9fb21f53ace75975f91185a120 | Fix possible NULL dereference (savannah bug #55369)
* src/sparse.c (pax_decode_header): Check return from find_next_block. | 0 | pax_decode_header (struct tar_sparse_file *file)
{
if (file->stat_info->sparse_major > 0)
{
uintmax_t u;
char nbuf[UINTMAX_STRSIZE_BOUND];
union block *blk;
char *p;
size_t i;
off_t start;
#define COPY_BUF(b,buf,src) do \
{ ... | 43484957058485536945482588311169940116 | None | CWE-476 | CVE-2019-9923 | pax_decode_header in sparse.c in GNU Tar before 1.32 had a NULL pointer dereference when parsing certain archives that have malformed extended headers. | https://nvd.nist.gov/vuln/detail/CVE-2019-9923 | |
216,126 | openssl | cca1cd9a3447dd067503e4a85ebd1679ee78a48e | https://github.com/openssl/openssl | https://github.com/openssl/openssl/commit/cca1cd9a3447dd067503e4a85ebd1679ee78a48e | Submitted by: Tomas Hoger <thoger@redhat.com>
Fix for CVE-2010-0433 where some kerberos enabled versions of OpenSSL
could be crashed if the relevant tables were not present (e.g. chrooted). | 1 | kssl_keytab_is_available(KSSL_CTX *kssl_ctx)
{
krb5_context krb5context = NULL;
krb5_keytab krb5keytab = NULL;
krb5_keytab_entry entry;
krb5_principal princ = NULL;
krb5_error_code krb5rc = KRB5KRB_ERR_GENERIC;
int rc = 0;
if ((krb5rc = krb5_init_context(&kr... | 99893605133546740733833372677927547347 | None | CWE-20 | CVE-2010-0433 | The kssl_keytab_is_available function in ssl/kssl.c in OpenSSL before 0.9.8n, when Kerberos is enabled but Kerberos configuration files cannot be opened, does not check a certain return value, which allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via SSL cipher negotiati... | https://nvd.nist.gov/vuln/detail/CVE-2010-0433 | |
500,044 | openssl | cca1cd9a3447dd067503e4a85ebd1679ee78a48e | https://github.com/openssl/openssl | https://github.com/openssl/openssl/commit/cca1cd9a3447dd067503e4a85ebd1679ee78a48e | Submitted by: Tomas Hoger <thoger@redhat.com>
Fix for CVE-2010-0433 where some kerberos enabled versions of OpenSSL
could be crashed if the relevant tables were not present (e.g. chrooted). | 0 | kssl_keytab_is_available(KSSL_CTX *kssl_ctx)
{
krb5_context krb5context = NULL;
krb5_keytab krb5keytab = NULL;
krb5_keytab_entry entry;
krb5_principal princ = NULL;
krb5_error_code krb5rc = KRB5KRB_ERR_GENERIC;
int rc = 0;
if ((krb5rc = krb5_init_context(&kr... | 53603406923488065201694869344560864035 | None | CWE-20 | CVE-2010-0433 | The kssl_keytab_is_available function in ssl/kssl.c in OpenSSL before 0.9.8n, when Kerberos is enabled but Kerberos configuration files cannot be opened, does not check a certain return value, which allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via SSL cipher negotiati... | https://nvd.nist.gov/vuln/detail/CVE-2010-0433 | |
216,202 | libssh | 4d8420f3282ed07fc99fc5e930c17df27ef1e9b2 | http://git.libssh.org/projects/libssh | http://git.libssh.org/projects/libssh.git/commit/?h=v0-5&id=4d8420f3282ed07fc99fc5e930c17df27ef1e9b2 | sftp: Fix bug in sftp_mkdir not returning on error.
resolves: #84
(cherry picked from commit a92c97b2e17715c1b3cdd693d14af6c3311d8e44) | 1 | int sftp_mkdir(sftp_session sftp, const char *directory, mode_t mode) {
sftp_status_message status = NULL;
sftp_message msg = NULL;
sftp_attributes errno_attr = NULL;
struct sftp_attributes_struct attr;
ssh_buffer buffer;
ssh_string path;
uint32_t id;
buffer = ssh_buffer_new();
if (buffer == NULL) {
... | 318072065183989103598769219049127518412 | None | CWE-399 | CVE-2012-4559 | Multiple double free vulnerabilities in the (1) agent_sign_data function in agent.c, (2) channel_request function in channels.c, (3) ssh_userauth_pubkey function in auth.c, (4) sftp_parse_attr_3 function in sftp.c, and (5) try_publickey_from_file function in keyfiles.c in libssh before 0.5.3 allow remote attackers to c... | https://nvd.nist.gov/vuln/detail/CVE-2012-4559 | |
500,663 | libssh | 4d8420f3282ed07fc99fc5e930c17df27ef1e9b2 | http://git.libssh.org/projects/libssh | http://git.libssh.org/projects/libssh.git/commit/?h=v0-5&id=4d8420f3282ed07fc99fc5e930c17df27ef1e9b2 | sftp: Fix bug in sftp_mkdir not returning on error.
resolves: #84
(cherry picked from commit a92c97b2e17715c1b3cdd693d14af6c3311d8e44) | 0 | int sftp_mkdir(sftp_session sftp, const char *directory, mode_t mode) {
sftp_status_message status = NULL;
sftp_message msg = NULL;
sftp_attributes errno_attr = NULL;
struct sftp_attributes_struct attr;
ssh_buffer buffer;
ssh_string path;
uint32_t id;
buffer = ssh_buffer_new();
if (buffer == NULL) {
... | 57484647322304387183846447984144924668 | None | CWE-399 | CVE-2012-4559 | Multiple double free vulnerabilities in the (1) agent_sign_data function in agent.c, (2) channel_request function in channels.c, (3) ssh_userauth_pubkey function in auth.c, (4) sftp_parse_attr_3 function in sftp.c, and (5) try_publickey_from_file function in keyfiles.c in libssh before 0.5.3 allow remote attackers to c... | https://nvd.nist.gov/vuln/detail/CVE-2012-4559 | |
216,515 | openssl | 939b4960276b040fc0ed52232238fcc9e2e9ec21 | https://github.com/openssl/openssl | https://github.com/openssl/openssl/commit/939b4960276b040fc0ed52232238fcc9e2e9ec21 | Fix race condition in NewSessionTicket
If a NewSessionTicket is received by a multi-threaded client when
attempting to reuse a previous ticket then a race condition can occur
potentially leading to a double free of the ticket data.
CVE-2015-1791
This also fixes RT#3808 where a session ID is changed for a session alr... | 1 | int ssl3_get_new_session_ticket(SSL *s)
{
int ok, al, ret = 0, ticklen;
long n;
const unsigned char *p;
unsigned char *d;
n = s->method->ssl_get_message(s,
SSL3_ST_CR_SESSION_TICKET_A,
SSL3_ST_CR_SESSION_TICKET_B,
... | 262201276305976211218627982974228415604 | None | CWE-362 | CVE-2015-1791 | Race condition in the ssl3_get_new_session_ticket function in ssl/s3_clnt.c in OpenSSL before 0.9.8zg, 1.0.0 before 1.0.0s, 1.0.1 before 1.0.1n, and 1.0.2 before 1.0.2b, when used for a multi-threaded client, allows remote attackers to cause a denial of service (double free and application crash) or possibly have unspe... | https://nvd.nist.gov/vuln/detail/CVE-2015-1791 | |
502,735 | openssl | 939b4960276b040fc0ed52232238fcc9e2e9ec21 | https://github.com/openssl/openssl | https://github.com/openssl/openssl/commit/939b4960276b040fc0ed52232238fcc9e2e9ec21 | Fix race condition in NewSessionTicket
If a NewSessionTicket is received by a multi-threaded client when
attempting to reuse a previous ticket then a race condition can occur
potentially leading to a double free of the ticket data.
CVE-2015-1791
This also fixes RT#3808 where a session ID is changed for a session alr... | 0 | int ssl3_get_new_session_ticket(SSL *s)
{
int ok, al, ret = 0, ticklen;
long n;
const unsigned char *p;
unsigned char *d;
n = s->method->ssl_get_message(s,
SSL3_ST_CR_SESSION_TICKET_A,
SSL3_ST_CR_SESSION_TICKET_B,
... | 24541052959849141799219681889549728285 | None | CWE-362 | CVE-2015-1791 | Race condition in the ssl3_get_new_session_ticket function in ssl/s3_clnt.c in OpenSSL before 0.9.8zg, 1.0.0 before 1.0.0s, 1.0.1 before 1.0.1n, and 1.0.2 before 1.0.2b, when used for a multi-threaded client, allows remote attackers to cause a denial of service (double free and application crash) or possibly have unspe... | https://nvd.nist.gov/vuln/detail/CVE-2015-1791 | |
216,637 | guile | 245608911698adb3472803856019bdd5670b6614 | http://git.savannah.gnu.org/cgit/guile | http://git.savannah.gnu.org/cgit/guile.git/commit/?h=stable-2.0&id=245608911698adb3472803856019bdd5670b6614 | Remove 'umask' calls from 'mkdir'.
Fixes <http://bugs.gnu.org/24659>.
* libguile/filesys.c (SCM_DEFINE): Remove calls to 'umask' when MODE is
unbound; instead, use 0777 as the mode. Update docstring to clarify
this.
* doc/ref/posix.texi (File System): Adjust accordingly.
* NEWS: Mention it. | 1 | SCM_DEFINE (scm_mkdir, "mkdir", 1, 1, 0,
(SCM path, SCM mode),
"Create a new directory named by @var{path}. If @var{mode} is omitted\n"
"then the permissions of the directory file are set using the current\n"
"umask. Otherwise they are set to the decimal value specified with\n"
"@var{m... | 128331080543585624737822334688372409592 | None | CWE-275 | CVE-2016-8605 | The mkdir procedure of GNU Guile temporarily changed the process' umask to zero. During that time window, in a multithreaded application, other threads could end up creating files with insecure permissions. For example, mkdir without the optional mode argument would create directories as 0777. This is fixed in Guile 2.... | https://nvd.nist.gov/vuln/detail/CVE-2016-8605 | |
503,867 | guile | 245608911698adb3472803856019bdd5670b6614 | http://git.savannah.gnu.org/cgit/guile | http://git.savannah.gnu.org/cgit/guile.git/commit/?h=stable-2.0&id=245608911698adb3472803856019bdd5670b6614 | Remove 'umask' calls from 'mkdir'.
Fixes <http://bugs.gnu.org/24659>.
* libguile/filesys.c (SCM_DEFINE): Remove calls to 'umask' when MODE is
unbound; instead, use 0777 as the mode. Update docstring to clarify
this.
* doc/ref/posix.texi (File System): Adjust accordingly.
* NEWS: Mention it. | 0 | SCM_DEFINE (scm_mkdir, "mkdir", 1, 1, 0,
(SCM path, SCM mode),
"Create a new directory named by @var{path}. If @var{mode} is omitted\n"
"then the permissions of the directory are set to @code{#o777}\n"
"masked with the current umask (@pxref{Processes, @code{umask}}).\n"
"Otherwise they ... | 144536922752412825349714870039112918366 | None | CWE-275 | CVE-2016-8605 | The mkdir procedure of GNU Guile temporarily changed the process' umask to zero. During that time window, in a multithreaded application, other threads could end up creating files with insecure permissions. For example, mkdir without the optional mode argument would create directories as 0777. This is fixed in Guile 2.... | https://nvd.nist.gov/vuln/detail/CVE-2016-8605 | |
216,654 | core | 2c3f37672277b1f73f84722802aaa0ab1ab3e413 | https://github.com/LibreOffice/core | https://github.com/dovecot/core/commit/2c3f37672277b1f73f84722802aaa0ab1ab3e413 | auth: Don't crash expanding %variables when username isn't set.
This continues the auth-policy fix in
c3d3faa4f72a676e183f34be960cff13a5a725ae | 1 | auth_request_get_var_expand_table_full(const struct auth_request *auth_request,
auth_request_escape_func_t *escape_func,
unsigned int *count)
{
const unsigned int auth_count =
N_ELEMENTS(auth_request_var_expand_static_tab);
struct var_expand_table *tab, *ret_tab;
const char *orig_user, *auth_... | 262295488878616392807601246569405637828 | None | CWE-20 | CVE-2016-8652 | The auth component in Dovecot before 2.2.27, when auth-policy is configured, allows a remote attackers to cause a denial of service (crash) by aborting authentication without setting a username. | https://nvd.nist.gov/vuln/detail/CVE-2016-8652 | |
503,985 | core | 2c3f37672277b1f73f84722802aaa0ab1ab3e413 | https://github.com/LibreOffice/core | https://github.com/dovecot/core/commit/2c3f37672277b1f73f84722802aaa0ab1ab3e413 | auth: Don't crash expanding %variables when username isn't set.
This continues the auth-policy fix in
c3d3faa4f72a676e183f34be960cff13a5a725ae | 0 | auth_request_get_var_expand_table_full(const struct auth_request *auth_request,
auth_request_escape_func_t *escape_func,
unsigned int *count)
{
const unsigned int auth_count =
N_ELEMENTS(auth_request_var_expand_static_tab);
struct var_expand_table *tab, *ret_tab;
const char *orig_user, *auth_... | 300800458657154811271321575901169213921 | None | CWE-20 | CVE-2016-8652 | The auth component in Dovecot before 2.2.27, when auth-policy is configured, allows a remote attackers to cause a denial of service (crash) by aborting authentication without setting a username. | https://nvd.nist.gov/vuln/detail/CVE-2016-8652 | |
216,701 | libtiff | dc02f9050311a90b3c0655147cee09bfa7081cfc | https://github.com/vadz/libtiff | https://github.com/vadz/libtiff/commit/dc02f9050311a90b3c0655147cee09bfa7081cfc | * libtiff/tif_read.c: add protection against excessive memory
allocation attempts in TIFFReadDirEntryArray() on short files.
Effective for mmap'ed case. And non-mmap'ed case, but restricted
to 64bit builds.
Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2675 | 1 | static enum TIFFReadDirEntryErr TIFFReadDirEntryArrayWithLimit(
TIFF* tif, TIFFDirEntry* direntry, uint32* count, uint32 desttypesize,
void** value, uint64 maxcount)
{
int typesize;
uint32 datasize;
void* data;
uint64 target_count64;
typesize=TIFFDataWidth(direntry->tdir_type);
target_count... | 251386727160240066128978497337284996796 | None | CWE-770 | CVE-2017-12944 | The TIFFReadDirEntryArray function in tif_read.c in LibTIFF 4.0.8 mishandles memory allocation for short files, which allows remote attackers to cause a denial of service (allocation failure and application crash) in the TIFFFetchStripThing function in tif_dirread.c during a tiff2pdf invocation. | https://nvd.nist.gov/vuln/detail/CVE-2017-12944 | |
504,608 | libtiff | dc02f9050311a90b3c0655147cee09bfa7081cfc | https://github.com/vadz/libtiff | https://github.com/vadz/libtiff/commit/dc02f9050311a90b3c0655147cee09bfa7081cfc | * libtiff/tif_read.c: add protection against excessive memory
allocation attempts in TIFFReadDirEntryArray() on short files.
Effective for mmap'ed case. And non-mmap'ed case, but restricted
to 64bit builds.
Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2675 | 0 | static enum TIFFReadDirEntryErr TIFFReadDirEntryArrayWithLimit(
TIFF* tif, TIFFDirEntry* direntry, uint32* count, uint32 desttypesize,
void** value, uint64 maxcount)
{
int typesize;
uint32 datasize;
void* data;
uint64 target_count64;
typesize=TIFFDataWidth(direntry->tdir_type);
target_count... | 283163990857495325814682097643200308064 | None | CWE-770 | CVE-2017-12944 | The TIFFReadDirEntryArray function in tif_read.c in LibTIFF 4.0.8 mishandles memory allocation for short files, which allows remote attackers to cause a denial of service (allocation failure and application crash) in the TIFFFetchStripThing function in tif_dirread.c during a tiff2pdf invocation. | https://nvd.nist.gov/vuln/detail/CVE-2017-12944 | |
216,726 | openssl | f426625b6ae9a7831010750490a5f0ad689c5ba3 | https://github.com/openssl/openssl | https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=f426625b6ae9a7831010750490a5f0ad689c5ba3 | Prevent over long nonces in ChaCha20-Poly1305
ChaCha20-Poly1305 is an AEAD cipher, and requires a unique nonce input for
every encryption operation. RFC 7539 specifies that the nonce value (IV)
should be 96 bits (12 bytes). OpenSSL allows a variable nonce length and
front pads the nonce with 0 bytes if it is less than... | 1 | static int chacha20_poly1305_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg,
void *ptr)
{
EVP_CHACHA_AEAD_CTX *actx = aead_data(ctx);
switch(type) {
case EVP_CTRL_INIT:
if (actx == NULL)
actx = ctx->cipher_data
= OPENSSL_zalloc(sizeof(*act... | 82290393614199201513765816848927157706 | None | CWE-327 | CVE-2019-1543 | ChaCha20-Poly1305 is an AEAD cipher, and requires a unique nonce input for every encryption operation. RFC 7539 specifies that the nonce value (IV) should be 96 bits (12 bytes). OpenSSL allows a variable nonce length and front pads the nonce with 0 bytes if it is less than 12 bytes. However it also incorrectly allows a... | https://nvd.nist.gov/vuln/detail/CVE-2019-1543 | |
505,463 | openssl | f426625b6ae9a7831010750490a5f0ad689c5ba3 | https://github.com/openssl/openssl | https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=f426625b6ae9a7831010750490a5f0ad689c5ba3 | Prevent over long nonces in ChaCha20-Poly1305
ChaCha20-Poly1305 is an AEAD cipher, and requires a unique nonce input for
every encryption operation. RFC 7539 specifies that the nonce value (IV)
should be 96 bits (12 bytes). OpenSSL allows a variable nonce length and
front pads the nonce with 0 bytes if it is less than... | 0 | static int chacha20_poly1305_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg,
void *ptr)
{
EVP_CHACHA_AEAD_CTX *actx = aead_data(ctx);
switch(type) {
case EVP_CTRL_INIT:
if (actx == NULL)
actx = ctx->cipher_data
= OPENSSL_zalloc(sizeof(*act... | 319328437340198657902119470811531700376 | None | CWE-327 | CVE-2019-1543 | ChaCha20-Poly1305 is an AEAD cipher, and requires a unique nonce input for every encryption operation. RFC 7539 specifies that the nonce value (IV) should be 96 bits (12 bytes). OpenSSL allows a variable nonce length and front pads the nonce with 0 bytes if it is less than 12 bytes. However it also incorrectly allows a... | https://nvd.nist.gov/vuln/detail/CVE-2019-1543 | |
216,767 | core | ed4b7d5d1b30964216d61d3090a7b47a957f5b26 | https://github.com/LibreOffice/core | https://github.com/dovecot/core/commit/ed4b7d5d1b30964216d61d3090a7b47a957f5b26 | lib-smtp: smtp-command-parser - Fix infinite loop occurring when command stream ends in UTF-8 character.
Broken by 8f08f1944be438a2422b604c08e5060b5c7bd72f. | 1 | static int smtp_command_parse_parameters(struct smtp_command_parser *parser)
{
const unsigned char *p, *mp;
uoff_t max_size = (parser->auth_response ?
parser->limits.max_auth_size :
parser->limits.max_parameters_size);
/* We assume parameters to match textstr (HT, SP, Printable US-ASCII).
For command parame... | 181341317141954506069810684888107522957 | None | CWE-835 | CVE-2020-7046 | lib-smtp in submission-login and lmtp in Dovecot 2.3.9 before 2.3.9.3 mishandles truncated UTF-8 data in command parameters, as demonstrated by the unauthenticated triggering of a submission-login infinite loop. | https://nvd.nist.gov/vuln/detail/CVE-2020-7046 | |
505,654 | core | ed4b7d5d1b30964216d61d3090a7b47a957f5b26 | https://github.com/LibreOffice/core | https://github.com/dovecot/core/commit/ed4b7d5d1b30964216d61d3090a7b47a957f5b26 | lib-smtp: smtp-command-parser - Fix infinite loop occurring when command stream ends in UTF-8 character.
Broken by 8f08f1944be438a2422b604c08e5060b5c7bd72f. | 0 | static int smtp_command_parse_parameters(struct smtp_command_parser *parser)
{
const unsigned char *p, *mp;
uoff_t max_size = (parser->auth_response ?
parser->limits.max_auth_size :
parser->limits.max_parameters_size);
int nch = 1;
/* We assume parameters to match textstr (HT, SP, Printable US-ASCII).
For ... | 290259003832263006605358025642064625220 | None | CWE-835 | CVE-2020-7046 | lib-smtp in submission-login and lmtp in Dovecot 2.3.9 before 2.3.9.3 mishandles truncated UTF-8 data in command parameters, as demonstrated by the unauthenticated triggering of a submission-login infinite loop. | https://nvd.nist.gov/vuln/detail/CVE-2020-7046 | |
216,800 | core | 69ad3c902ea4bbf9f21ab1857d8923f975dc6145 | https://github.com/LibreOffice/core | https://github.com/dovecot/core/commit/69ad3c902ea4bbf9f21ab1857d8923f975dc6145 | auth: mech-rpa - Fail on zero len buffer | 1 | rpa_read_buffer(pool_t pool, const unsigned char **data,
const unsigned char *end, unsigned char **buffer)
{
const unsigned char *p = *data;
unsigned int len;
if (p > end)
return 0;
len = *p++;
if (p + len > end)
return 0;
*buffer = p_malloc(pool, len);
memcpy(*buffer, p, len);
*data += 1 + len;
ret... | 29472874834578262075169131407750507339 | None | CWE-125 | CVE-2020-12674 | In Dovecot before 2.3.11.3, sending a specially formatted RPA request will crash the auth service because a length of zero is mishandled. | https://nvd.nist.gov/vuln/detail/CVE-2020-12674 | |
506,428 | core | 69ad3c902ea4bbf9f21ab1857d8923f975dc6145 | https://github.com/LibreOffice/core | https://github.com/dovecot/core/commit/69ad3c902ea4bbf9f21ab1857d8923f975dc6145 | auth: mech-rpa - Fail on zero len buffer | 0 | rpa_read_buffer(pool_t pool, const unsigned char **data,
const unsigned char *end, unsigned char **buffer)
{
const unsigned char *p = *data;
unsigned int len;
if (p > end)
return 0;
len = *p++;
if (p + len > end || len == 0)
return 0;
*buffer = p_malloc(pool, len);
memcpy(*buffer, p, len);
*data += 1 ... | 42033596058129329438262094419912462932 | None | CWE-125 | CVE-2020-12674 | In Dovecot before 2.3.11.3, sending a specially formatted RPA request will crash the auth service because a length of zero is mishandled. | https://nvd.nist.gov/vuln/detail/CVE-2020-12674 | |
216,812 | openssl | 97ab3c4b538840037812c8d9164d09a1f4bf11a1 | https://github.com/openssl/openssl | https://github.com/openssl/openssl/commit/97ab3c4b538840037812c8d9164d09a1f4bf11a1 | Add a test for GENERAL_NAME_cmp
Based on a boringssl test contributed by David Benjamin
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> | 1 | int setup_tests(void)
{
ADD_ALL_TESTS(call_run_cert, OSSL_NELEM(name_fns));
return 1;
} | 99734093470067216462803129850987630150 | None | CWE-476 | CVE-2020-1971 | The X.509 GeneralName type is a generic type for representing different types of names. One of those name types is known as EDIPartyName. OpenSSL provides a function GENERAL_NAME_cmp which compares different instances of a GENERAL_NAME to see if they are equal or not. This function behaves incorrectly when both GENERAL... | https://nvd.nist.gov/vuln/detail/CVE-2020-1971 | |
506,696 | openssl | 97ab3c4b538840037812c8d9164d09a1f4bf11a1 | https://github.com/openssl/openssl | https://github.com/openssl/openssl/commit/97ab3c4b538840037812c8d9164d09a1f4bf11a1 | Add a test for GENERAL_NAME_cmp
Based on a boringssl test contributed by David Benjamin
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> | 0 | int setup_tests(void)
{
ADD_ALL_TESTS(call_run_cert, OSSL_NELEM(name_fns));
ADD_TEST(test_GENERAL_NAME_cmp);
return 1;
} | 300508003271249901349188890485879920788 | None | CWE-476 | CVE-2020-1971 | The X.509 GeneralName type is a generic type for representing different types of names. One of those name types is known as EDIPartyName. OpenSSL provides a function GENERAL_NAME_cmp which compares different instances of a GENERAL_NAME to see if they are equal or not. This function behaves incorrectly when both GENERAL... | https://nvd.nist.gov/vuln/detail/CVE-2020-1971 | |
216,861 | openssl | 94d23fcff9b2a7a8368dfe52214d5c2569882c11 | https://github.com/openssl/openssl | https://github.com/openssl/openssl/commit/94d23fcff9b2a7a8368dfe52214d5c2569882c11 | Fix EC_GROUP_new_from_ecparameters to check the base length
Check that there's at least one byte in params->base before trying to
read it.
CVE-2021-3712
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org> | 1 | EC_GROUP *EC_GROUP_new_from_ecparameters(const ECPARAMETERS *params)
{
int ok = 0, tmp;
EC_GROUP *ret = NULL, *dup = NULL;
BIGNUM *p = NULL, *a = NULL, *b = NULL;
EC_POINT *point = NULL;
long field_bits;
int curve_name = NID_undef;
BN_CTX *ctx = NULL;
if (!params->fieldID || !params->fi... | 80540639516178112864890741931948685257 | None | CWE-125 | CVE-2021-3712 | ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str... | https://nvd.nist.gov/vuln/detail/CVE-2021-3712 | |
507,778 | openssl | 94d23fcff9b2a7a8368dfe52214d5c2569882c11 | https://github.com/openssl/openssl | https://github.com/openssl/openssl/commit/94d23fcff9b2a7a8368dfe52214d5c2569882c11 | Fix EC_GROUP_new_from_ecparameters to check the base length
Check that there's at least one byte in params->base before trying to
read it.
CVE-2021-3712
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org> | 0 | EC_GROUP *EC_GROUP_new_from_ecparameters(const ECPARAMETERS *params)
{
int ok = 0, tmp;
EC_GROUP *ret = NULL, *dup = NULL;
BIGNUM *p = NULL, *a = NULL, *b = NULL;
EC_POINT *point = NULL;
long field_bits;
int curve_name = NID_undef;
BN_CTX *ctx = NULL;
if (!params->fieldID || !params->fi... | 230738893451780669362858497865794698672 | None | CWE-125 | CVE-2021-3712 | ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str... | https://nvd.nist.gov/vuln/detail/CVE-2021-3712 | |
216,903 | server | 3a52569499e2f0c4d1f25db1e81617a9d9755400 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3a52569499e2f0c4d1f25db1e81617a9d9755400 | MDEV-25636: Bug report: abortion in sql/sql_parse.cc:6294
The asserion failure was caused by this query
select /*id=1*/ from t1
where
col= ( select /*id=2*/ from ... where corr_cond1
union
select /*id=4*/ from ... where corr_cond2)
Here,
- select with id=2 was correlated due to corr_cond1.... | 1 | bool st_select_lex::optimize_unflattened_subqueries(bool const_only)
{
SELECT_LEX_UNIT *next_unit= NULL;
for (SELECT_LEX_UNIT *un= first_inner_unit();
un;
un= next_unit ? next_unit : un->next_unit())
{
Item_subselect *subquery_predicate= un->item;
next_unit= NULL;
if (subquery_predicate... | 170977446789514176182113064369700449502 | None | CWE-476 | CVE-2021-46664 | MariaDB through 10.5.9 allows an application crash in sub_select_postjoin_aggr for a NULL value of aggr. | https://nvd.nist.gov/vuln/detail/CVE-2021-46664 | |
508,874 | server | 3a52569499e2f0c4d1f25db1e81617a9d9755400 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3a52569499e2f0c4d1f25db1e81617a9d9755400 | MDEV-25636: Bug report: abortion in sql/sql_parse.cc:6294
The asserion failure was caused by this query
select /*id=1*/ from t1
where
col= ( select /*id=2*/ from ... where corr_cond1
union
select /*id=4*/ from ... where corr_cond2)
Here,
- select with id=2 was correlated due to corr_cond1.... | 0 | bool st_select_lex::optimize_unflattened_subqueries(bool const_only)
{
SELECT_LEX_UNIT *next_unit= NULL;
for (SELECT_LEX_UNIT *un= first_inner_unit();
un;
un= next_unit ? next_unit : un->next_unit())
{
Item_subselect *subquery_predicate= un->item;
next_unit= NULL;
if (subquery_predicate... | 335655854636733648424487878771712666992 | None | CWE-476 | CVE-2021-46664 | MariaDB through 10.5.9 allows an application crash in sub_select_postjoin_aggr for a NULL value of aggr. | https://nvd.nist.gov/vuln/detail/CVE-2021-46664 | |
216,906 | server | 9e39d0ae44595dbd1570805d97c9c874778a6be8 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/9e39d0ae44595dbd1570805d97c9c874778a6be8 | MDEV-25787 Bug report: crash on SELECT DISTINCT thousands_blob_fields
fix a debug assert to account for not opened temp tables | 1 | void ha_maria::drop_table(const char *name)
{
DBUG_ASSERT(file->s->temporary);
(void) ha_close();
(void) maria_delete_table_files(name, 1, MY_WME);
} | 85612271673629964630565572694774133988 | None | CWE-400 | CVE-2021-46668 | MariaDB through 10.5.9 allows an application crash via certain long SELECT DISTINCT statements that improperly interact with storage-engine resource limitations for temporary data structures. | https://nvd.nist.gov/vuln/detail/CVE-2021-46668 | |
509,510 | server | 9e39d0ae44595dbd1570805d97c9c874778a6be8 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/9e39d0ae44595dbd1570805d97c9c874778a6be8 | MDEV-25787 Bug report: crash on SELECT DISTINCT thousands_blob_fields
fix a debug assert to account for not opened temp tables | 0 | void ha_maria::drop_table(const char *name)
{
DBUG_ASSERT(!file || file->s->temporary);
(void) ha_close();
(void) maria_delete_table_files(name, 1, MY_WME);
} | 36457166293746144750064590645990572247 | None | CWE-400 | CVE-2021-46668 | MariaDB through 10.5.9 allows an application crash via certain long SELECT DISTINCT statements that improperly interact with storage-engine resource limitations for temporary data structures. | https://nvd.nist.gov/vuln/detail/CVE-2021-46668 | |
216,938 | server | b3c3291f0b7c1623cb20663f7cf31b7f749768bc | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/b3c3291f0b7c1623cb20663f7cf31b7f749768bc | MDEV-24176 fixup: GCC -Wmaybe-uninitialized | 1 | bool open_table(THD *thd, TABLE_LIST *table_list, Open_table_context *ot_ctx)
{
TABLE *table;
const char *key;
uint key_length;
const char *alias= table_list->alias.str;
uint flags= ot_ctx->get_flags();
MDL_ticket *mdl_ticket;
TABLE_SHARE *share;
uint gts_flags;
bool from_share= false;
#ifdef WITH_PAR... | 336982129080685152460431545851496461461 | None | CWE-416 | CVE-2022-27376 | MariaDB Server v10.6.5 and below was discovered to contain an use-after-free in the component Item_args::walk_arg, which is exploited via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27376 | |
511,472 | server | b3c3291f0b7c1623cb20663f7cf31b7f749768bc | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/b3c3291f0b7c1623cb20663f7cf31b7f749768bc | MDEV-24176 fixup: GCC -Wmaybe-uninitialized | 0 | bool open_table(THD *thd, TABLE_LIST *table_list, Open_table_context *ot_ctx)
{
TABLE *table;
const char *key;
uint key_length;
const char *alias= table_list->alias.str;
uint flags= ot_ctx->get_flags();
MDL_ticket *mdl_ticket;
TABLE_SHARE *share;
uint gts_flags;
bool from_share= false;
#ifdef WITH_PAR... | 83128391821270233968176562120215675650 | None | CWE-416 | CVE-2022-27376 | MariaDB Server v10.6.5 and below was discovered to contain an use-after-free in the component Item_args::walk_arg, which is exploited via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27376 | |
216,945 | server | 807945f2eb5fa22e6f233cc17b85a2e141efe2c8 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/807945f2eb5fa22e6f233cc17b85a2e141efe2c8 | MDEV-26402: A SEGV in Item_field::used_tables/update_depend_map_for_order...
When doing condition pushdown from HAVING into WHERE,
Item_equal::create_pushable_equalities() calls
item->set_extraction_flag(IMMUTABLE_FL) for constant items.
Then, Item::cleanup_excluding_immutables_processor() checks for this flag
to see ... | 1 | bool Item_equal::create_pushable_equalities(THD *thd,
List<Item> *equalities,
Pushdown_checker checker,
uchar *arg,
bool clone_const)
{
Item *... | 310506936609045112273577090786370872524 | None | CWE-617 | CVE-2022-27382 | MariaDB Server v10.7 and below was discovered to contain a segmentation fault via the component Item_field::used_tables/update_depend_map_for_order. | https://nvd.nist.gov/vuln/detail/CVE-2022-27382 | |
512,825 | server | 807945f2eb5fa22e6f233cc17b85a2e141efe2c8 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/807945f2eb5fa22e6f233cc17b85a2e141efe2c8 | MDEV-26402: A SEGV in Item_field::used_tables/update_depend_map_for_order...
When doing condition pushdown from HAVING into WHERE,
Item_equal::create_pushable_equalities() calls
item->set_extraction_flag(IMMUTABLE_FL) for constant items.
Then, Item::cleanup_excluding_immutables_processor() checks for this flag
to see ... | 0 | bool Item_equal::create_pushable_equalities(THD *thd,
List<Item> *equalities,
Pushdown_checker checker,
uchar *arg,
bool clone_const)
{
Item *... | 247600252359942672774915786547473250797 | None | CWE-617 | CVE-2022-27382 | MariaDB Server v10.7 and below was discovered to contain a segmentation fault via the component Item_field::used_tables/update_depend_map_for_order. | https://nvd.nist.gov/vuln/detail/CVE-2022-27382 | |
216,946 | server | c05fd700970ad45735caed3a6f9930d4ce19a3bd | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/c05fd700970ad45735caed3a6f9930d4ce19a3bd | MDEV-26323 use-after-poison issue of MariaDB server | 1 | static void fix_dl_name(MEM_ROOT *root, LEX_STRING *dl)
{
const size_t so_ext_len= sizeof(SO_EXT) - 1;
if (my_strcasecmp(&my_charset_latin1, dl->str + dl->length - so_ext_len,
SO_EXT))
{
char *s= (char*)alloc_root(root, dl->length + so_ext_len + 1);
memcpy(s, dl->str, dl->length);
... | 339917125862392009139749816960654857347 | None | CWE-416 | CVE-2022-27383 | MariaDB Server v10.6 and below was discovered to contain an use-after-free in the component my_strcasecmp_8bit, which is exploited via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27383 | |
513,202 | server | c05fd700970ad45735caed3a6f9930d4ce19a3bd | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/c05fd700970ad45735caed3a6f9930d4ce19a3bd | MDEV-26323 use-after-poison issue of MariaDB server | 0 | static void fix_dl_name(MEM_ROOT *root, LEX_STRING *dl)
{
const size_t so_ext_len= sizeof(SO_EXT) - 1;
if (dl->length < so_ext_len ||
my_strcasecmp(&my_charset_latin1, dl->str + dl->length - so_ext_len,
SO_EXT))
{
char *s= (char*)alloc_root(root, dl->length + so_ext_len + 1);
mem... | 98463444639733543200591125506342217809 | None | CWE-416 | CVE-2022-27383 | MariaDB Server v10.6 and below was discovered to contain an use-after-free in the component my_strcasecmp_8bit, which is exploited via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27383 | |
216,965 | server | ecb6f9c894d3ebafeff1c6eb3b65cd248062296f | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/ecb6f9c894d3ebafeff1c6eb3b65cd248062296f | MDEV-28095 crash in multi-update and implicit grouping
disallow implicit grouping in multi-update.
explicit GROUP BY is not allowed by the grammar. | 1 | multi_update::initialize_tables(JOIN *join)
{
TABLE_LIST *table_ref;
DBUG_ENTER("initialize_tables");
if (unlikely((thd->variables.option_bits & OPTION_SAFE_UPDATES) &&
error_if_full_join(join)))
DBUG_RETURN(1);
main_table=join->join_tab->table;
table_to_update= 0;
/* Any update has at ... | 133589877756276645137859301197732446596 | None | CWE-617 | CVE-2022-27448 | There is an Assertion failure in MariaDB Server v10.9 and below via 'node->pcur->rel_pos == BTR_PCUR_ON' at /row/row0mysql.cc. | https://nvd.nist.gov/vuln/detail/CVE-2022-27448 | |
514,292 | server | ecb6f9c894d3ebafeff1c6eb3b65cd248062296f | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/ecb6f9c894d3ebafeff1c6eb3b65cd248062296f | MDEV-28095 crash in multi-update and implicit grouping
disallow implicit grouping in multi-update.
explicit GROUP BY is not allowed by the grammar. | 0 | multi_update::initialize_tables(JOIN *join)
{
TABLE_LIST *table_ref;
DBUG_ENTER("initialize_tables");
if (unlikely((thd->variables.option_bits & OPTION_SAFE_UPDATES) &&
error_if_full_join(join)))
DBUG_RETURN(1);
if (join->implicit_grouping)
{
my_error(ER_INVALID_GROUP_FUNC_USE, MYF(0))... | 64239982738333152415398593981285799300 | None | CWE-617 | CVE-2022-27448 | There is an Assertion failure in MariaDB Server v10.9 and below via 'node->pcur->rel_pos == BTR_PCUR_ON' at /row/row0mysql.cc. | https://nvd.nist.gov/vuln/detail/CVE-2022-27448 | |
217,176 | monit | 328f60773057641c4b2075fab9820145e95b728c | https://bitbucket.org/tildeslash/monit | https://bitbucket.org/tildeslash/monit/commits/328f60773057641c4b2075fab9820145e95b728c | Fixed: HTML escape the log file content when viewed via Monit GUI. | 1 | static void do_viewlog(HttpRequest req, HttpResponse res) {
if (is_readonly(req)) {
send_error(req, res, SC_FORBIDDEN, "You do not have sufficient privileges to access this page");
return;
}
do_head(res, "_viewlog", "View log", 100);
if ((Run.flags & Run_L... | 11066915327345888296428446172682700897 | None | CWE-79 | CVE-2019-11454 | Persistent cross-site scripting (XSS) in http/cervlet.c in Tildeslash Monit before 5.25.3 allows a remote unauthenticated attacker to introduce arbitrary JavaScript via manipulation of an unsanitized user field of the Authorization header for HTTP Basic Authentication, which is mishandled during an _viewlog operation. | https://nvd.nist.gov/vuln/detail/CVE-2019-11454 | |
517,437 | monit | 328f60773057641c4b2075fab9820145e95b728c | https://bitbucket.org/tildeslash/monit | https://bitbucket.org/tildeslash/monit/commits/328f60773057641c4b2075fab9820145e95b728c | Fixed: HTML escape the log file content when viewed via Monit GUI. | 0 | static void do_viewlog(HttpRequest req, HttpResponse res) {
if (is_readonly(req)) {
send_error(req, res, SC_FORBIDDEN, "You do not have sufficient privileges to access this page");
return;
}
do_head(res, "_viewlog", "View log", 100);
if ((Run.flags & Run_L... | 289779635859944473579386698211739203129 | None | CWE-79 | CVE-2019-11454 | Persistent cross-site scripting (XSS) in http/cervlet.c in Tildeslash Monit before 5.25.3 allows a remote unauthenticated attacker to introduce arbitrary JavaScript via manipulation of an unsanitized user field of the Authorization header for HTTP Basic Authentication, which is mishandled during an _viewlog operation. | https://nvd.nist.gov/vuln/detail/CVE-2019-11454 | |
217,459 | JUCE | 2e874e80cba0152201aff6a4d0dc407997d10a7f | https://github.com/juce-framework/JUCE | https://github.com/juce-framework/JUCE/commit/2e874e80cba0152201aff6a4d0dc407997d10a7f | ZipFile: Add path checks to uncompressEntry() | 1 | Result ZipFile::uncompressEntry (int index, const File& targetDirectory, bool shouldOverwriteFiles)
{
auto* zei = entries.getUnchecked (index);
#if JUCE_WINDOWS
auto entryPath = zei->entry.filename;
#else
auto entryPath = zei->entry.filename.replaceCharacter ('\\', '/');
#endif
if (... | 147242935972698231254697341250203186621 | None | CWE-59 | CVE-2021-23521 | This affects the package juce-framework/JUCE before 6.1.5. This vulnerability is triggered when a malicious archive is crafted with an entry containing a symbolic link. When extracted, the symbolic link is followed outside of the target dir allowing writing arbitrary files on the target host. In some cases, this can al... | https://nvd.nist.gov/vuln/detail/CVE-2021-23521 | |
521,488 | JUCE | 2e874e80cba0152201aff6a4d0dc407997d10a7f | https://github.com/juce-framework/JUCE | https://github.com/juce-framework/JUCE/commit/2e874e80cba0152201aff6a4d0dc407997d10a7f | ZipFile: Add path checks to uncompressEntry() | 0 | Result ZipFile::uncompressEntry (int index, const File& targetDirectory, OverwriteFiles overwriteFiles, FollowSymlinks followSymlinks)
{
auto* zei = entries.getUnchecked (index);
#if JUCE_WINDOWS
auto entryPath = zei->entry.filename;
#else
auto entryPath = zei->entry.filename.replaceCharacter ... | 31848199774747663184028918368749536503 | None | CWE-59 | CVE-2021-23521 | This affects the package juce-framework/JUCE before 6.1.5. This vulnerability is triggered when a malicious archive is crafted with an entry containing a symbolic link. When extracted, the symbolic link is followed outside of the target dir allowing writing arbitrary files on the target host. In some cases, this can al... | https://nvd.nist.gov/vuln/detail/CVE-2021-23521 | |
217,547 | libMeshb | 8cd68c54e0647c0030ae4506a225ad4a2655c316 | https://github.com/LoicMarechal/libMeshb | https://github.com/LoicMarechal/libMeshb/commit/8cd68c54e0647c0030ae4506a225ad4a2655c316 | Removed a potential buffer overflow crash in GmfOpenMesh and debugged the test_libmeshb_block_pipeline.f that crashed | 1 | int64_t GmfOpenMesh(const char *FilNam, int mod, ...)
{
int KwdCod, res, *PtrVer, *PtrDim, err;
int64_t MshIdx;
char str[ GmfStrSiz ];
va_list VarArg;
GmfMshSct *msh;
/*---------------------*/
/* MESH STRUCTURE INIT */
/*---------------------*/
if(!(msh = calloc(1, sizeof(GmfMshS... | 15680638155848863443525622432898430696 | None | CWE-120 | CVE-2021-46225 | A buffer overflow in the GmfOpenMesh() function of libMeshb v7.61 allows attackers to cause a Denial of Service (DoS) via a crafted MESH file. | https://nvd.nist.gov/vuln/detail/CVE-2021-46225 | |
522,329 | libMeshb | 8cd68c54e0647c0030ae4506a225ad4a2655c316 | https://github.com/LoicMarechal/libMeshb | https://github.com/LoicMarechal/libMeshb/commit/8cd68c54e0647c0030ae4506a225ad4a2655c316 | Removed a potential buffer overflow crash in GmfOpenMesh and debugged the test_libmeshb_block_pipeline.f that crashed | 0 | int64_t GmfOpenMesh(const char *FilNam, int mod, ...)
{
int KwdCod, res, *PtrVer, *PtrDim, err;
int64_t MshIdx;
char str[ GmfStrSiz ];
va_list VarArg;
GmfMshSct *msh;
/*---------------------*/
/* MESH STRUCTURE INIT */
/*---------------------*/
if(!(msh = calloc(1, sizeof(GmfMshS... | 94702895651186711005755032541348695201 | None | CWE-120 | CVE-2021-46225 | A buffer overflow in the GmfOpenMesh() function of libMeshb v7.61 allows attackers to cause a Denial of Service (DoS) via a crafted MESH file. | https://nvd.nist.gov/vuln/detail/CVE-2021-46225 | |
217,551 | elfspirit | c5b0f5a9a24f2451bbeda4751d67633bc375e608 | https://github.com/liyansong2018/elfspirit | https://github.com/liyansong2018/elfspirit/commit/c5b0f5a9a24f2451bbeda4751d67633bc375e608 | Fix #1 about out-of-bounds | 1 | int parse(char *elf) {
int fd;
struct stat st;
uint8_t *elf_map;
int count;
char *tmp;
char *name;
char flag[4];
MODE = get_elf_class(elf);
fd = open(elf, O_RDONLY);
if (fd < 0) {
perror("open");
return -1;
}
if (fstat(fd, &st) < 0) {
perror("fs... | 10492118832219739041814229234332696880 | None | CWE-125 | CVE-2022-21711 | elfspirit is an ELF static analysis and injection framework that parses, manipulates, and camouflages ELF files. When analyzing the ELF file format in versions prior to 1.1, there is an out-of-bounds read bug, which can lead to application crashes or information leakage. By constructing a special format ELF file, the i... | https://nvd.nist.gov/vuln/detail/CVE-2022-21711 | |
522,438 | elfspirit | c5b0f5a9a24f2451bbeda4751d67633bc375e608 | https://github.com/liyansong2018/elfspirit | https://github.com/liyansong2018/elfspirit/commit/c5b0f5a9a24f2451bbeda4751d67633bc375e608 | Fix #1 about out-of-bounds | 0 | int parse(char *elf) {
int fd;
struct stat st;
uint8_t *elf_map;
int count;
char *tmp;
char *name;
char flag[4];
MODE = get_elf_class(elf);
fd = open(elf, O_RDONLY);
if (fd < 0) {
perror("open");
return -1;
}
if (fstat(fd, &st) < 0) {
perror("fs... | 212625338852409612714470845997465821390 | None | CWE-125 | CVE-2022-21711 | elfspirit is an ELF static analysis and injection framework that parses, manipulates, and camouflages ELF files. When analyzing the ELF file format in versions prior to 1.1, there is an out-of-bounds read bug, which can lead to application crashes or information leakage. By constructing a special format ELF file, the i... | https://nvd.nist.gov/vuln/detail/CVE-2022-21711 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.