idx
int64
project
string
commit_id
string
project_url
string
commit_url
string
commit_message
string
target
int64
func
string
func_hash
float64
file_name
string
file_hash
float64
cwe
list
cve
string
cve_desc
string
nvd_url
string
506,639
openssl
3db2c9f3e5fb9f649ebb4a55918398756310af43
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/3db2c9f3e5fb9f649ebb4a55918398756310af43
Complain if we are attempting to encode with an invalid ASN.1 template It never makes sense for multi-string or CHOICE types to have implicit tagging. If we have a template that uses the in this way then we should immediately fail. Thanks to David Benjamin from Google for reporting this issue. Reviewed-by: Tomas Mra...
0
static int asn1_set_seq_out(STACK_OF(const_ASN1_VALUE) *sk, unsigned char **out, int skcontlen, const ASN1_ITEM *item, int do_sort, int iclass) { int i; const ASN1_VALUE *skitem; unsigned char *tmpdat = NULL, *p = NULL; ...
44,935,116,932,487,860,000,000,000,000,000,000,000
None
null
[ "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,640
openssl
43a7033a010feaf72c79d39df65ca733fb9dcd4c
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/43a7033a010feaf72c79d39df65ca733fb9dcd4c
Check that multi-strings/CHOICE types don't use implicit tagging It never makes sense for multi-string or CHOICE types to use implicit tagging since the content would be ambiguous. It is an error in the template if this ever happens. If we detect it we should stop parsing. Thanks to David Benjamin from Google for rep...
0
static int asn1_template_noexp_d2i(ASN1_VALUE **val, const unsigned char **in, long len, const ASN1_TEMPLATE *tt, char opt, ASN1_TLC *ctx, int depth) { int flags, aclass; int ret; ASN1_VALUE *tval; c...
24,236,601,742,135,690,000,000,000,000,000,000,000
None
null
[ "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,641
openssl
43a7033a010feaf72c79d39df65ca733fb9dcd4c
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/43a7033a010feaf72c79d39df65ca733fb9dcd4c
Check that multi-strings/CHOICE types don't use implicit tagging It never makes sense for multi-string or CHOICE types to use implicit tagging since the content would be ambiguous. It is an error in the template if this ever happens. If we detect it we should stop parsing. Thanks to David Benjamin from Google for rep...
0
static int asn1_check_tlen(long *olen, int *otag, unsigned char *oclass, char *inf, char *cst, const unsigned char **in, long len, int exptag, int expclass, char opt, ASN1_TLC *ctx) { int i; int ptag, pclass; long plen; con...
321,447,266,207,255,340,000,000,000,000,000,000,000
None
null
[ "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,642
openssl
43a7033a010feaf72c79d39df65ca733fb9dcd4c
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/43a7033a010feaf72c79d39df65ca733fb9dcd4c
Check that multi-strings/CHOICE types don't use implicit tagging It never makes sense for multi-string or CHOICE types to use implicit tagging since the content would be ambiguous. It is an error in the template if this ever happens. If we detect it we should stop parsing. Thanks to David Benjamin from Google for rep...
0
static int asn1_find_end(const unsigned char **in, long len, char inf) { uint32_t expected_eoc; long plen; const unsigned char *p = *in, *q; /* If not indefinite length constructed just add length */ if (inf == 0) { *in += len; return 1; } expected_eoc = 1; /* * Inde...
276,094,484,454,231,000,000,000,000,000,000,000,000
None
null
[ "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,643
openssl
43a7033a010feaf72c79d39df65ca733fb9dcd4c
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/43a7033a010feaf72c79d39df65ca733fb9dcd4c
Check that multi-strings/CHOICE types don't use implicit tagging It never makes sense for multi-string or CHOICE types to use implicit tagging since the content would be ambiguous. It is an error in the template if this ever happens. If we detect it we should stop parsing. Thanks to David Benjamin from Google for rep...
0
static int asn1_item_embed_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx, int depth) { const ASN1_TEMPLATE *tt, *errtt = NULL; const ASN1_EX...
220,658,367,577,115,750,000,000,000,000,000,000,000
None
null
[ "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,644
openssl
43a7033a010feaf72c79d39df65ca733fb9dcd4c
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/43a7033a010feaf72c79d39df65ca733fb9dcd4c
Check that multi-strings/CHOICE types don't use implicit tagging It never makes sense for multi-string or CHOICE types to use implicit tagging since the content would be ambiguous. It is an error in the template if this ever happens. If we detect it we should stop parsing. Thanks to David Benjamin from Google for rep...
0
static int asn1_d2i_ex_primitive(ASN1_VALUE **pval, const unsigned char **in, long inlen, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx) { int ret = 0, utype; long plen; char cst, inf, free...
53,033,686,551,319,790,000,000,000,000,000,000,000
None
null
[ "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,645
openssl
43a7033a010feaf72c79d39df65ca733fb9dcd4c
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/43a7033a010feaf72c79d39df65ca733fb9dcd4c
Check that multi-strings/CHOICE types don't use implicit tagging It never makes sense for multi-string or CHOICE types to use implicit tagging since the content would be ambiguous. It is an error in the template if this ever happens. If we detect it we should stop parsing. Thanks to David Benjamin from Google for rep...
0
ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it) { ASN1_TLC c; ASN1_VALUE *ptmpval = NULL; if (pval == NULL) pval = &ptmpval; asn1_tlc_clear_nc(&c); if (ASN1_item_ex_d2i(pval, in, len, i...
13,580,888,658,227,352,000,000,000,000,000,000,000
None
null
[ "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,646
openssl
43a7033a010feaf72c79d39df65ca733fb9dcd4c
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/43a7033a010feaf72c79d39df65ca733fb9dcd4c
Check that multi-strings/CHOICE types don't use implicit tagging It never makes sense for multi-string or CHOICE types to use implicit tagging since the content would be ambiguous. It is an error in the template if this ever happens. If we detect it we should stop parsing. Thanks to David Benjamin from Google for rep...
0
static int asn1_template_ex_d2i(ASN1_VALUE **val, const unsigned char **in, long inlen, const ASN1_TEMPLATE *tt, char opt, ASN1_TLC *ctx, int depth) { int flags, aclass; int ret; long len; const unsigned char...
128,437,233,848,039,470,000,000,000,000,000,000,000
None
null
[ "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,647
openssl
43a7033a010feaf72c79d39df65ca733fb9dcd4c
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/43a7033a010feaf72c79d39df65ca733fb9dcd4c
Check that multi-strings/CHOICE types don't use implicit tagging It never makes sense for multi-string or CHOICE types to use implicit tagging since the content would be ambiguous. It is an error in the template if this ever happens. If we detect it we should stop parsing. Thanks to David Benjamin from Google for rep...
0
static int asn1_collect(BUF_MEM *buf, const unsigned char **in, long len, char inf, int tag, int aclass, int depth) { const unsigned char *p, *q; long plen; char cst, ininf; p = *in; inf &= 1; /* * If no buffer and not indefinite length constructed just pass over the...
262,706,246,871,360,330,000,000,000,000,000,000,000
None
null
[ "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,648
openssl
43a7033a010feaf72c79d39df65ca733fb9dcd4c
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/43a7033a010feaf72c79d39df65ca733fb9dcd4c
Check that multi-strings/CHOICE types don't use implicit tagging It never makes sense for multi-string or CHOICE types to use implicit tagging since the content would be ambiguous. It is an error in the template if this ever happens. If we detect it we should stop parsing. Thanks to David Benjamin from Google for rep...
0
static int collect_data(BUF_MEM *buf, const unsigned char **p, long plen) { int len; if (buf) { len = buf->length; if (!BUF_MEM_grow_clean(buf, len + plen)) { ERR_raise(ERR_LIB_ASN1, ERR_R_MALLOC_FAILURE); return 0; } memcpy(buf->data + len, *p, plen); ...
131,238,330,677,796,800,000,000,000,000,000,000,000
None
null
[ "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,649
openssl
43a7033a010feaf72c79d39df65ca733fb9dcd4c
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/43a7033a010feaf72c79d39df65ca733fb9dcd4c
Check that multi-strings/CHOICE types don't use implicit tagging It never makes sense for multi-string or CHOICE types to use implicit tagging since the content would be ambiguous. It is an error in the template if this ever happens. If we detect it we should stop parsing. Thanks to David Benjamin from Google for rep...
0
static int asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) { ASN1_VALUE **opval = NULL; ASN1_STRING *stmp; ASN1_TYPE *typ = NULL; int ret = 0; const ASN1_PRIMITIVE_FUNCS *pf; ASN1_INTEGER **tint; pf = ...
304,894,262,189,135,240,000,000,000,000,000,000,000
None
null
[ "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,650
openssl
43a7033a010feaf72c79d39df65ca733fb9dcd4c
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/43a7033a010feaf72c79d39df65ca733fb9dcd4c
Check that multi-strings/CHOICE types don't use implicit tagging It never makes sense for multi-string or CHOICE types to use implicit tagging since the content would be ambiguous. It is an error in the template if this ever happens. If we detect it we should stop parsing. Thanks to David Benjamin from Google for rep...
0
static int asn1_check_eoc(const unsigned char **in, long len) { const unsigned char *p; if (len < 2) return 0; p = *in; if (p[0] == '\0' && p[1] == '\0') { *in += 2; return 1; } return 0; }
320,758,138,290,561,800,000,000,000,000,000,000,000
None
null
[ "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,651
openssl
b33c48b75aaf33c93aeda42d7138616b9e6a64cb
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/b33c48b75aaf33c93aeda42d7138616b9e6a64cb
Correctly compare EdiPartyName in GENERAL_NAME_cmp() If a GENERAL_NAME field contained EdiPartyName data then it was incorrectly being handled as type "other". This could lead to a segmentation fault. Many thanks to David Benjamin from Google for reporting this issue. CVE-2020-1971 Reviewed-by: Tomas Mraz <tmraz@fe...
0
int GENERAL_NAME_cmp(GENERAL_NAME *a, GENERAL_NAME *b) { int result = -1; if (!a || !b || a->type != b->type) return -1; switch (a->type) { case GEN_X400: result = ASN1_TYPE_cmp(a->d.x400Address, b->d.x400Address); break; case GEN_EDIPARTY: result = edipartyname_cmp...
140,642,209,321,295,110,000,000,000,000,000,000,000
None
null
[ "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,652
openssl
b33c48b75aaf33c93aeda42d7138616b9e6a64cb
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/b33c48b75aaf33c93aeda42d7138616b9e6a64cb
Correctly compare EdiPartyName in GENERAL_NAME_cmp() If a GENERAL_NAME field contained EdiPartyName data then it was incorrectly being handled as type "other". This could lead to a segmentation fault. Many thanks to David Benjamin from Google for reporting this issue. CVE-2020-1971 Reviewed-by: Tomas Mraz <tmraz@fe...
0
int GENERAL_NAME_get0_otherName(const GENERAL_NAME *gen, ASN1_OBJECT **poid, ASN1_TYPE **pvalue) { if (gen->type != GEN_OTHERNAME) return 0; if (poid) *poid = gen->d.otherName->type_id; if (pvalue) *pvalue = gen->d.otherName->value; return 1; }
180,709,874,608,246,720,000,000,000,000,000,000,000
None
null
[ "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,653
openssl
b33c48b75aaf33c93aeda42d7138616b9e6a64cb
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/b33c48b75aaf33c93aeda42d7138616b9e6a64cb
Correctly compare EdiPartyName in GENERAL_NAME_cmp() If a GENERAL_NAME field contained EdiPartyName data then it was incorrectly being handled as type "other". This could lead to a segmentation fault. Many thanks to David Benjamin from Google for reporting this issue. CVE-2020-1971 Reviewed-by: Tomas Mraz <tmraz@fe...
0
void GENERAL_NAME_set0_value(GENERAL_NAME *a, int type, void *value) { switch (type) { case GEN_X400: a->d.x400Address = value; break; case GEN_EDIPARTY: a->d.ediPartyName = value; break; case GEN_OTHERNAME: a->d.otherName = value; break; case GEN_E...
309,702,557,885,446,320,000,000,000,000,000,000,000
None
null
[ "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,654
openssl
b33c48b75aaf33c93aeda42d7138616b9e6a64cb
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/b33c48b75aaf33c93aeda42d7138616b9e6a64cb
Correctly compare EdiPartyName in GENERAL_NAME_cmp() If a GENERAL_NAME field contained EdiPartyName data then it was incorrectly being handled as type "other". This could lead to a segmentation fault. Many thanks to David Benjamin from Google for reporting this issue. CVE-2020-1971 Reviewed-by: Tomas Mraz <tmraz@fe...
0
int OTHERNAME_cmp(OTHERNAME *a, OTHERNAME *b) { int result = -1; if (!a || !b) return -1; /* Check their type first. */ if ((result = OBJ_cmp(a->type_id, b->type_id)) != 0) return result; /* Check the value. */ result = ASN1_TYPE_cmp(a->value, b->value); return result; }
158,330,877,825,531,770,000,000,000,000,000,000,000
None
null
[ "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,655
openssl
b33c48b75aaf33c93aeda42d7138616b9e6a64cb
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/b33c48b75aaf33c93aeda42d7138616b9e6a64cb
Correctly compare EdiPartyName in GENERAL_NAME_cmp() If a GENERAL_NAME field contained EdiPartyName data then it was incorrectly being handled as type "other". This could lead to a segmentation fault. Many thanks to David Benjamin from Google for reporting this issue. CVE-2020-1971 Reviewed-by: Tomas Mraz <tmraz@fe...
0
int GENERAL_NAME_set0_othername(GENERAL_NAME *gen, ASN1_OBJECT *oid, ASN1_TYPE *value) { OTHERNAME *oth; oth = OTHERNAME_new(); if (oth == NULL) return 0; ASN1_TYPE_free(oth->value); oth->type_id = oid; oth->value = value; GENERAL_NAME_set0_value(gen, ...
194,202,047,257,950,550,000,000,000,000,000,000,000
None
null
[ "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,656
openssl
b33c48b75aaf33c93aeda42d7138616b9e6a64cb
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/b33c48b75aaf33c93aeda42d7138616b9e6a64cb
Correctly compare EdiPartyName in GENERAL_NAME_cmp() If a GENERAL_NAME field contained EdiPartyName data then it was incorrectly being handled as type "other". This could lead to a segmentation fault. Many thanks to David Benjamin from Google for reporting this issue. CVE-2020-1971 Reviewed-by: Tomas Mraz <tmraz@fe...
0
void *GENERAL_NAME_get0_value(const GENERAL_NAME *a, int *ptype) { if (ptype) *ptype = a->type; switch (a->type) { case GEN_X400: return a->d.x400Address; case GEN_EDIPARTY: return a->d.ediPartyName; case GEN_OTHERNAME: return a->d.otherName; case GEN_EMAIL: ...
200,642,699,219,985,620,000,000,000,000,000,000,000
None
null
[ "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,657
openssl
b33c48b75aaf33c93aeda42d7138616b9e6a64cb
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/b33c48b75aaf33c93aeda42d7138616b9e6a64cb
Correctly compare EdiPartyName in GENERAL_NAME_cmp() If a GENERAL_NAME field contained EdiPartyName data then it was incorrectly being handled as type "other". This could lead to a segmentation fault. Many thanks to David Benjamin from Google for reporting this issue. CVE-2020-1971 Reviewed-by: Tomas Mraz <tmraz@fe...
0
static int edipartyname_cmp(const EDIPARTYNAME *a, const EDIPARTYNAME *b) { int res; if (a == NULL || b == NULL) { /* * Shouldn't be possible in a valid GENERAL_NAME, but we handle it * anyway. OTHERNAME_cmp treats NULL != NULL so we do the same here */ return -1; ...
107,317,507,652,154,460,000,000,000,000,000,000,000
None
null
[ "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,658
openssl
b33c48b75aaf33c93aeda42d7138616b9e6a64cb
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/b33c48b75aaf33c93aeda42d7138616b9e6a64cb
Correctly compare EdiPartyName in GENERAL_NAME_cmp() If a GENERAL_NAME field contained EdiPartyName data then it was incorrectly being handled as type "other". This could lead to a segmentation fault. Many thanks to David Benjamin from Google for reporting this issue. CVE-2020-1971 Reviewed-by: Tomas Mraz <tmraz@fe...
0
GENERAL_NAME *GENERAL_NAME_dup(const GENERAL_NAME *a) { return (GENERAL_NAME *)ASN1_dup((i2d_of_void *)i2d_GENERAL_NAME, (d2i_of_void *)d2i_GENERAL_NAME, (char *)a); }
265,191,094,597,305,600,000,000,000,000,000,000,000
None
null
[ "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,702
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
int main(int argc, char *argv[]) { return login_binary_run(&imap_login_binary, argc, argv); }
45,838,804,850,920,690,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,703
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static bool imap_is_valid_tag(const char *tag) { for (; *tag != '\0'; tag++) { switch (*tag) { case '+': /* atom-specials: */ case '(': case ')': case '{': case '/': case ' ': /* list-wildcards: */ case '%': case '*': /* quoted-specials: */ case '"': case '\\': return FALSE; default: ...
142,543,222,077,743,930,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,704
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
void client_send_reply(struct client *client, enum imap_cmd_reply reply, const char *text) { client_send_reply_code(client, reply, NULL, text); }
216,757,609,743,009,700,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,705
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static int cmd_logout(struct imap_client *client, const struct imap_arg *args ATTR_UNUSED) { client_send_reply(&client->common, IMAP_CMD_REPLY_BYE, "Logging out"); client_send_reply(&client->common, IMAP_CMD_REPLY_OK, "Logout completed."); client_destroy(&client->common, "Aborted login"); return 1; }
46,349,002,167,387,230,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,706
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static struct client *imap_client_alloc(pool_t pool) { struct imap_client *imap_client; imap_client = p_new(pool, struct imap_client, 1); return &imap_client->common; }
135,980,083,108,249,070,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,707
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static void imap_client_notify_auth_ready(struct client *client) { string_t *greet; greet = t_str_new(128); str_append(greet, "* OK "); str_printfa(greet, "[CAPABILITY %s] ", get_capability(client)); str_append(greet, client->set->login_greeting); str_append(greet, "\r\n"); client_send_raw(client, str_c(greet)...
209,978,977,275,776,900,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,708
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static void imap_client_destroy(struct client *client) { struct imap_client *imap_client = (struct imap_client *)client; i_free_and_null(imap_client->proxy_backend_capability); imap_parser_unref(&imap_client->parser); }
57,810,298,526,362,170,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,709
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
imap_client_notify_status(struct client *client, bool bad, const char *text) { if (bad) client_send_reply_raw(client, "BAD", "ALERT", text, FALSE); else client_send_reply_raw(client, "OK", NULL, text, FALSE); }
314,841,298,145,084,800,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,710
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
imap_client_notify_disconnect(struct client *client, enum client_disconnect_reason reason, const char *text) { if (reason == CLIENT_DISCONNECT_INTERNAL_ERROR) { client_send_reply_code(client, IMAP_CMD_REPLY_BYE, IMAP_RESP_CODE_UNAVAILABLE, text); } else { client_send_reply_code(client...
51,236,031,828,094,290,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,711
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
bool client_skip_line(struct imap_client *client) { const unsigned char *data; size_t i, data_size; data = i_stream_get_data(client->common.input, &data_size); for (i = 0; i < data_size; i++) { if (data[i] == '\n') { i_stream_skip(client->common.input, i+1); return TRUE; } } return FALSE; }
249,061,872,178,803,700,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,712
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
client_send_reply_raw(struct client *client, const char *prefix, const char *resp_code, const char *text, bool tagged) { struct imap_client *imap_client = (struct imap_client *)client; T_BEGIN { string_t *line = t_str_new(256); if (tagged) str_append(line, imap_client->cmd_tag); else str...
24,395,798,623,405,520,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,713
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
void client_send_reply_code(struct client *client, enum imap_cmd_reply reply, const char *resp_code, const char *text) { const char *prefix = "NO"; bool tagged = TRUE; switch (reply) { case IMAP_CMD_REPLY_OK: prefix = "OK"; break; case IMAP_CMD_REPLY_NO: break; case IMAP_CMD_REPLY_BAD: prefix = "B...
76,633,015,007,807,450,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,714
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static bool client_handle_input(struct imap_client *client) { i_assert(!client->common.authenticating); if (client->cmd_finished) { /* clear the previous command from memory. don't do this immediately after handling command since we need the cmd_tag to stay some time after authentication commands. */ c...
177,629,628,772,287,430,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,715
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static void imap_login_init(void) { imap_login_commands_init(); imap_login_commands_register(imap_login_commands, N_ELEMENTS(imap_login_commands)); }
193,898,599,980,274,300,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,716
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static void imap_client_create(struct client *client, void **other_sets) { struct imap_client *imap_client = (struct imap_client *)client; imap_client->set = other_sets[0]; imap_client->parser = imap_parser_create(imap_client->common.input, imap_client->common.output, IMAP_LOGIN_MAX_LINE_LENGTH); i...
60,365,950,608,188,850,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,717
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static void imap_client_input(struct client *client) { struct imap_client *imap_client = (struct imap_client *)client; if (!client_read(client)) return; client_ref(client); o_stream_cork(imap_client->common.output); for (;;) { if (!auth_client_is_connected(auth_client)) { /* we're not currently connected ...
220,253,849,925,221,100,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,718
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static const char *get_capability(struct client *client) { struct imap_client *imap_client = (struct imap_client *)client; string_t *cap_str = t_str_new(256); bool explicit_capability = FALSE; if (*imap_client->set->imap_capability == '\0') str_append(cap_str, CAPABILITY_BANNER_STRING); else if (*imap_client->s...
134,922,115,221,582,190,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,719
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static int client_parse_command(struct imap_client *client, const struct imap_arg **args_r) { switch (imap_parser_read_args(client->parser, 0, 0, args_r)) { case -1: /* error */ if (!client_handle_parser_error(client, client->parser)) { /* client destroyed */ return 0; } return -1; case -2: /* no...
332,885,779,093,838,600,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,720
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static void imap_client_starttls(struct client *client) { struct imap_client *imap_client = (struct imap_client *)client; imap_parser_unref(&imap_client->parser); imap_client->parser = imap_parser_create(imap_client->common.input, imap_client->common.output, IMAP_LOGIN_MAX_LINE_LENGTH); /* CRLF is...
151,304,595,686,743,680,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,721
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static void imap_login_deinit(void) { clients_destroy_all(); imap_login_commands_deinit(); }
37,667,406,073,435,620,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,722
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static int cmd_capability(struct imap_client *imap_client, const struct imap_arg *args ATTR_UNUSED) { struct client *client = &imap_client->common; /* Client is required to send CAPABILITY after STARTTLS, so the capability resp-code workaround checks only pre-STARTTLS CAPABILITY commands. */ if (!clien...
195,671,783,201,971,200,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,723
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static int cmd_noop(struct imap_client *client, const struct imap_arg *args ATTR_UNUSED) { client_send_reply(&client->common, IMAP_CMD_REPLY_OK, "NOOP completed."); return 1; }
123,093,917,648,489,930,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,724
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
bool client_handle_parser_error(struct imap_client *client, struct imap_parser *parser) { const char *msg; enum imap_parser_error parse_error; msg = imap_parser_get_error(parser, &parse_error); switch (parse_error) { case IMAP_PARSE_ERROR_NONE: i_unreached(); case IMAP_PARSE_ERROR_LITERAL_TOO_BIG: client...
239,523,775,116,422,000,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,725
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
imap_client_notify_starttls(struct client *client, bool success, const char *text) { if (success) client_send_reply(client, IMAP_CMD_REPLY_OK, text); else client_send_reply(client, IMAP_CMD_REPLY_BAD, text); }
298,268,790,674,006,200,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,726
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static void imap_login_preinit(void) { login_set_roots = imap_login_setting_roots; }
3,222,732,717,083,504,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,727
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static int cmd_enable(struct imap_client *client, const struct imap_arg *args ATTR_UNUSED) { client_send_raw(&client->common, "* ENABLED\r\n"); client_send_reply(&client->common, IMAP_CMD_REPLY_OK, "ENABLE ignored in non-authenticated state."); return 1; }
182,723,409,442,763,860,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,728
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static int cmd_starttls(struct imap_client *client, const struct imap_arg *args ATTR_UNUSED) { client_cmd_starttls(&client->common); return 1; }
174,568,194,943,013,530,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,729
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static int client_command_execute(struct imap_client *client, const char *cmd, const struct imap_arg *args) { struct imap_login_command *login_cmd; login_cmd = imap_login_command_lookup(cmd); if (login_cmd == NULL) return -2; return login_cmd->func(client, args); }
172,059,191,073,185,670,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,730
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static bool is_login_cmd_disabled(struct client *client) { if (client->secured) { if (sasl_server_find_available_mech(client, "PLAIN") == NULL) { /* no PLAIN authentication, can't use LOGIN command */ return TRUE; } return FALSE; } if (client->set->disable_plaintext_auth) return TRUE; if (strcmp(clien...
310,658,482,316,489,750,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,731
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static bool imap_client_input_next_cmd(struct client *_client) { struct imap_client *client = (struct imap_client *)_client; const struct imap_arg *args; bool parsed; int ret; if (strcasecmp(client->cmd_name, "AUTHENTICATE") == 0) { /* SASL-IR may need more space than input buffer's size, so we'll handle i...
82,161,210,183,625,770,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,732
core
62061e8cf68f506c0ccaaba21fd4174764ca875f
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/62061e8cf68f506c0ccaaba21fd4174764ca875f
imap-login: Split off client_invalid_command()
0
static bool client_invalid_command(struct imap_client *client) { if (*client->cmd_tag == '\0') client->cmd_tag = "*"; if (++client->common.bad_counter >= CLIENT_MAX_BAD_COMMANDS) { client_send_reply(&client->common, IMAP_CMD_REPLY_BYE, "Too many invalid IMAP commands."); client_destroy(&client->common, ...
45,736,456,049,459,440,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-Other" ]
CVE-2020-24386
An issue was discovered in Dovecot before 2.3.13. By using IMAP IDLE, an authenticated attacker can trigger unhibernation via attacker-controlled parameters, leading to access to other users' email messages (and path disclosure).
https://nvd.nist.gov/vuln/detail/CVE-2020-24386
506,733
core
266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
lib-imap: Don't generate invalid BODYSTRUCTURE when reaching MIME part limit If the last MIME part was message/rfc822 and its child was truncated away, BODYSTRUCTURE was missing the ENVELOPE and BODY[STRUCTURE] parts. Fixed by writing empty dummy ones.
0
imap_write_envelope(const struct imap_arg *args, string_t *str) { imap_write_envelope_list(args, str, TRUE); }
49,898,359,027,489,580,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2020-25275
Dovecot before 2.3.13 has Improper Input Validation in lda, lmtp, and imap, leading to an application crash via a crafted email message with certain choices for ten thousand MIME parts.
https://nvd.nist.gov/vuln/detail/CVE-2020-25275
506,734
core
266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
lib-imap: Don't generate invalid BODYSTRUCTURE when reaching MIME part limit If the last MIME part was message/rfc822 and its child was truncated away, BODYSTRUCTURE was missing the ENVELOPE and BODY[STRUCTURE] parts. Fixed by writing empty dummy ones.
0
static void part_write_body_multipart(const struct message_part *part, string_t *str, bool extended) { const struct message_part_data *data = part->data; i_assert(part->data != NULL); if (part->children != NULL) part_write_bodystructure_siblings(part->children, str, extended); else { /* no parts in ...
17,915,863,123,942,913,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2020-25275
Dovecot before 2.3.13 has Improper Input Validation in lda, lmtp, and imap, leading to an application crash via a crafted email message with certain choices for ten thousand MIME parts.
https://nvd.nist.gov/vuln/detail/CVE-2020-25275
506,735
core
266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
lib-imap: Don't generate invalid BODYSTRUCTURE when reaching MIME part limit If the last MIME part was message/rfc822 and its child was truncated away, BODYSTRUCTURE was missing the ENVELOPE and BODY[STRUCTURE] parts. Fixed by writing empty dummy ones.
0
int imap_bodystructure_parse(const char *bodystructure, pool_t pool, struct message_part *parts, const char **error_r) { i_assert(parts != NULL); return imap_bodystructure_parse_full(bodystructure, pool, &parts, error_r); }
263,107,974,729,219,400,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2020-25275
Dovecot before 2.3.13 has Improper Input Validation in lda, lmtp, and imap, leading to an application crash via a crafted email message with certain choices for ten thousand MIME parts.
https://nvd.nist.gov/vuln/detail/CVE-2020-25275
506,736
core
266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
lib-imap: Don't generate invalid BODYSTRUCTURE when reaching MIME part limit If the last MIME part was message/rfc822 and its child was truncated away, BODYSTRUCTURE was missing the ENVELOPE and BODY[STRUCTURE] parts. Fixed by writing empty dummy ones.
0
part_write_bodystructure_siblings(const struct message_part *part, string_t *dest, bool extended) { for (; part != NULL; part = part->next) { str_append_c(dest, '('); imap_bodystructure_write(part, dest, extended); str_append_c(dest, ')'); } }
201,164,046,525,076,720,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2020-25275
Dovecot before 2.3.13 has Improper Input Validation in lda, lmtp, and imap, leading to an application crash via a crafted email message with certain choices for ten thousand MIME parts.
https://nvd.nist.gov/vuln/detail/CVE-2020-25275
506,737
core
266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
lib-imap: Don't generate invalid BODYSTRUCTURE when reaching MIME part limit If the last MIME part was message/rfc822 and its child was truncated away, BODYSTRUCTURE was missing the ENVELOPE and BODY[STRUCTURE] parts. Fixed by writing empty dummy ones.
0
imap_bodystructure_parse_args(const struct imap_arg *args, pool_t pool, struct message_part **_part, const char **error_r) { struct message_part *part = *_part, *child_part;; struct message_part **child_part_p; struct message_part_data *data; const struct imap_arg *list_args; const char *value, *...
2,259,405,127,768,681,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2020-25275
Dovecot before 2.3.13 has Improper Input Validation in lda, lmtp, and imap, leading to an application crash via a crafted email message with certain choices for ten thousand MIME parts.
https://nvd.nist.gov/vuln/detail/CVE-2020-25275
506,738
core
266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
lib-imap: Don't generate invalid BODYSTRUCTURE when reaching MIME part limit If the last MIME part was message/rfc822 and its child was truncated away, BODYSTRUCTURE was missing the ENVELOPE and BODY[STRUCTURE] parts. Fixed by writing empty dummy ones.
0
static bool str_append_nstring(string_t *str, const struct imap_arg *arg) { const char *cstr; if (!imap_arg_get_nstring(arg, &cstr)) return FALSE; switch (arg->type) { case IMAP_ARG_NIL: str_append(str, "NIL"); break; case IMAP_ARG_ATOM: str_append(str, cstr); break; case IMAP_ARG_STRING: str_append...
27,392,175,930,545,720,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2020-25275
Dovecot before 2.3.13 has Improper Input Validation in lda, lmtp, and imap, leading to an application crash via a crafted email message with certain choices for ten thousand MIME parts.
https://nvd.nist.gov/vuln/detail/CVE-2020-25275
506,739
core
266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
lib-imap: Don't generate invalid BODYSTRUCTURE when reaching MIME part limit If the last MIME part was message/rfc822 and its child was truncated away, BODYSTRUCTURE was missing the ENVELOPE and BODY[STRUCTURE] parts. Fixed by writing empty dummy ones.
0
int imap_bodystructure_parse_full(const char *bodystructure, pool_t pool, struct message_part **parts, const char **error_r) { struct istream *input; struct imap_parser *parser; const struct imap_arg *args; char *error = NULL; int ret; i_assert(*parts == NULL || (*parts)->next == NULL); input = i_stream_crea...
306,600,661,273,578,820,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2020-25275
Dovecot before 2.3.13 has Improper Input Validation in lda, lmtp, and imap, leading to an application crash via a crafted email message with certain choices for ten thousand MIME parts.
https://nvd.nist.gov/vuln/detail/CVE-2020-25275
506,740
core
266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
lib-imap: Don't generate invalid BODYSTRUCTURE when reaching MIME part limit If the last MIME part was message/rfc822 and its child was truncated away, BODYSTRUCTURE was missing the ENVELOPE and BODY[STRUCTURE] parts. Fixed by writing empty dummy ones.
0
imap_bodystructure_parse_args_common(struct message_part *part, pool_t pool, const struct imap_arg *args, const char **error_r) { struct message_part_data *data = part->data; const struct imap_arg *list_args; if (args->type == IMAP_ARG_EOL) return 0; if (args->type == IMAP_ARG_NIL) args++; e...
322,248,288,196,506,000,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2020-25275
Dovecot before 2.3.13 has Improper Input Validation in lda, lmtp, and imap, leading to an application crash via a crafted email message with certain choices for ten thousand MIME parts.
https://nvd.nist.gov/vuln/detail/CVE-2020-25275
506,741
core
266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
lib-imap: Don't generate invalid BODYSTRUCTURE when reaching MIME part limit If the last MIME part was message/rfc822 and its child was truncated away, BODYSTRUCTURE was missing the ENVELOPE and BODY[STRUCTURE] parts. Fixed by writing empty dummy ones.
0
imap_write_envelope_list(const struct imap_arg *args, string_t *str, bool toplevel) { const struct imap_arg *children; /* don't do any typechecking, just write it out */ while (!IMAP_ARG_IS_EOL(args)) { bool list = FALSE; if (!str_append_nstring(str, args)) { if (!imap_arg_get_list(args, &children)) { ...
24,846,519,953,919,655,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2020-25275
Dovecot before 2.3.13 has Improper Input Validation in lda, lmtp, and imap, leading to an application crash via a crafted email message with certain choices for ten thousand MIME parts.
https://nvd.nist.gov/vuln/detail/CVE-2020-25275
506,742
core
266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
lib-imap: Don't generate invalid BODYSTRUCTURE when reaching MIME part limit If the last MIME part was message/rfc822 and its child was truncated away, BODYSTRUCTURE was missing the ENVELOPE and BODY[STRUCTURE] parts. Fixed by writing empty dummy ones.
0
static int imap_parse_bodystructure_args(const struct imap_arg *args, string_t *str, const char **error_r) { const struct imap_arg *subargs; const struct imap_arg *list_args; const char *value, *content_type, *subtype; bool multipart, text, message_rfc822; int i; multipart = FALSE; while (args->type == IM...
167,781,790,225,850,100,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2020-25275
Dovecot before 2.3.13 has Improper Input Validation in lda, lmtp, and imap, leading to an application crash via a crafted email message with certain choices for ten thousand MIME parts.
https://nvd.nist.gov/vuln/detail/CVE-2020-25275
506,743
core
266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
lib-imap: Don't generate invalid BODYSTRUCTURE when reaching MIME part limit If the last MIME part was message/rfc822 and its child was truncated away, BODYSTRUCTURE was missing the ENVELOPE and BODY[STRUCTURE] parts. Fixed by writing empty dummy ones.
0
part_write_bodystructure_common(const struct message_part_data *data, string_t *str) { str_append_c(str, ' '); if (data->content_disposition == NULL) str_append(str, "NIL"); else { str_append_c(str, '('); imap_append_string(str, data->content_disposition); str_append_c(str, ' '); params_write(dat...
233,548,403,211,334,150,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2020-25275
Dovecot before 2.3.13 has Improper Input Validation in lda, lmtp, and imap, leading to an application crash via a crafted email message with certain choices for ten thousand MIME parts.
https://nvd.nist.gov/vuln/detail/CVE-2020-25275
506,744
core
266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
lib-imap: Don't generate invalid BODYSTRUCTURE when reaching MIME part limit If the last MIME part was message/rfc822 and its child was truncated away, BODYSTRUCTURE was missing the ENVELOPE and BODY[STRUCTURE] parts. Fixed by writing empty dummy ones.
0
void imap_bodystructure_write(const struct message_part *part, string_t *dest, bool extended) { if ((part->flags & MESSAGE_PART_FLAG_MULTIPART) != 0) part_write_body_multipart(part, dest, extended); else part_write_body(part, dest, extended); }
226,481,829,187,251,870,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2020-25275
Dovecot before 2.3.13 has Improper Input Validation in lda, lmtp, and imap, leading to an application crash via a crafted email message with certain choices for ten thousand MIME parts.
https://nvd.nist.gov/vuln/detail/CVE-2020-25275
506,745
core
266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
lib-imap: Don't generate invalid BODYSTRUCTURE when reaching MIME part limit If the last MIME part was message/rfc822 and its child was truncated away, BODYSTRUCTURE was missing the ENVELOPE and BODY[STRUCTURE] parts. Fixed by writing empty dummy ones.
0
imap_bodystructure_params_parse(const struct imap_arg *arg, pool_t pool, const struct message_part_param **params_r, unsigned int *count_r) { struct message_part_param *params; const struct imap_arg *list_args; unsigned int list_count, params_count, i; if (arg->type == IMAP_ARG_NIL) { *params_r = NULL; retur...
215,551,169,034,109,460,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2020-25275
Dovecot before 2.3.13 has Improper Input Validation in lda, lmtp, and imap, leading to an application crash via a crafted email message with certain choices for ten thousand MIME parts.
https://nvd.nist.gov/vuln/detail/CVE-2020-25275
506,746
core
266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
lib-imap: Don't generate invalid BODYSTRUCTURE when reaching MIME part limit If the last MIME part was message/rfc822 and its child was truncated away, BODYSTRUCTURE was missing the ENVELOPE and BODY[STRUCTURE] parts. Fixed by writing empty dummy ones.
0
static void part_write_body(const struct message_part *part, string_t *str, bool extended) { const struct message_part_data *data = part->data; bool text, message_rfc822; i_assert(part->data != NULL); if ((part->flags & MESSAGE_PART_FLAG_MESSAGE_RFC822) != 0) message_rfc822 = TRUE; else if (data->conten...
221,225,704,223,118,700,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2020-25275
Dovecot before 2.3.13 has Improper Input Validation in lda, lmtp, and imap, leading to an application crash via a crafted email message with certain choices for ten thousand MIME parts.
https://nvd.nist.gov/vuln/detail/CVE-2020-25275
506,747
core
266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
lib-imap: Don't generate invalid BODYSTRUCTURE when reaching MIME part limit If the last MIME part was message/rfc822 and its child was truncated away, BODYSTRUCTURE was missing the ENVELOPE and BODY[STRUCTURE] parts. Fixed by writing empty dummy ones.
0
params_write(const struct message_part_param *params, unsigned int params_count, string_t *str, bool default_charset) { unsigned int i; bool seen_charset; if (!default_charset && params_count == 0) { str_append(str, "NIL"); return; } str_append_c(str, '('); seen_charset = FALSE; for (i = 0; i < params_co...
69,401,251,775,245,020,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2020-25275
Dovecot before 2.3.13 has Improper Input Validation in lda, lmtp, and imap, leading to an application crash via a crafted email message with certain choices for ten thousand MIME parts.
https://nvd.nist.gov/vuln/detail/CVE-2020-25275
506,748
core
266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
lib-imap: Don't generate invalid BODYSTRUCTURE when reaching MIME part limit If the last MIME part was message/rfc822 and its child was truncated away, BODYSTRUCTURE was missing the ENVELOPE and BODY[STRUCTURE] parts. Fixed by writing empty dummy ones.
0
imap_bodystructure_strlist_parse(const struct imap_arg *arg, pool_t pool, const char *const **list_r) { const char *item, **list; const struct imap_arg *list_args; unsigned int list_count, i; if (arg->type == IMAP_ARG_NIL) { *list_r = NULL; return 0; } if (imap_arg_get_nstring(arg, &item)) { list = p_new(...
148,073,690,580,336,070,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2020-25275
Dovecot before 2.3.13 has Improper Input Validation in lda, lmtp, and imap, leading to an application crash via a crafted email message with certain choices for ten thousand MIME parts.
https://nvd.nist.gov/vuln/detail/CVE-2020-25275
506,749
core
266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
https://github.com/LibreOffice/core
https://github.com/dovecot/core/commit/266e54b7b8c34c9a58dd60a2e53c5ca7d1deae19
lib-imap: Don't generate invalid BODYSTRUCTURE when reaching MIME part limit If the last MIME part was message/rfc822 and its child was truncated away, BODYSTRUCTURE was missing the ENVELOPE and BODY[STRUCTURE] parts. Fixed by writing empty dummy ones.
0
int imap_body_parse_from_bodystructure(const char *bodystructure, string_t *dest, const char **error_r) { struct istream *input; struct imap_parser *parser; const struct imap_arg *args; int ret; input = i_stream_create_from_data(bodystructure, strlen(bodystructure)); (void)i_stream_read(input); pars...
231,851,005,869,956,560,000,000,000,000,000,000,000
None
null
[ "CWE-20" ]
CVE-2020-25275
Dovecot before 2.3.13 has Improper Input Validation in lda, lmtp, and imap, leading to an application crash via a crafted email message with certain choices for ten thousand MIME parts.
https://nvd.nist.gov/vuln/detail/CVE-2020-25275
506,802
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
void Http2Stream::Trailers(const FunctionCallbackInfo<Value>& args) { Environment* env = Environment::GetCurrent(args); Local<Context> context = env->context(); Isolate* isolate = env->isolate(); Http2Stream* stream; ASSIGN_OR_RETURN_UNWRAP(&stream, args.Holder()); Local<Array> headers = args[0].As<Array>(...
10,910,025,452,799,104,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,803
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
void Http2Session::Http2Settings::Init() { AliasedBuffer<uint32_t, Uint32Array>& buffer = env()->http2_state()->settings_buffer; uint32_t flags = buffer[IDX_SETTINGS_COUNT]; size_t n = 0; #define GRABSETTING(N, trace) \ if (flags & (1 << IDX_SETTINGS_##N))...
42,844,422,865,372,740,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,804
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
int Http2Stream::ReadStart() { Http2Scope h2scope(this); CHECK(!this->IsDestroyed()); flags_ |= NGHTTP2_STREAM_FLAG_READ_START; flags_ &= ~NGHTTP2_STREAM_FLAG_READ_PAUSED; Debug(this, "reading starting"); // Tell nghttp2 about our consumption of the data that was handed // off to JS land. nghttp2_sess...
14,866,393,307,386,950,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,805
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
inline void Http2Session::AddStream(Http2Stream* stream) { CHECK_GE(++statistics_.stream_count, 0); streams_[stream->id()] = stream; size_t size = streams_.size(); if (size > statistics_.max_concurrent_streams) statistics_.max_concurrent_streams = size; IncrementCurrentSessionMemory(sizeof(*stream)); }
142,137,029,944,099,050,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,806
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
void Http2Stream::Close(int32_t code) { CHECK(!this->IsDestroyed()); flags_ |= NGHTTP2_STREAM_FLAG_CLOSED; code_ = code; Debug(this, "closed with code %d", code); }
290,176,897,791,592,800,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,807
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
Http2Session::Http2Settings* Http2Session::PopSettings() { Http2Settings* settings = nullptr; if (!outstanding_settings_.empty()) { settings = outstanding_settings_.front(); outstanding_settings_.pop(); DecrementCurrentSessionMemory(sizeof(*settings)); } return settings; }
66,369,069,829,016,250,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,808
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
void MemoryInfo(MemoryTracker* tracker) const override { tracker->TrackField("stats_field_array", stats_field_array_); tracker->TrackField("continuation_data", continuation_data); }
270,746,780,233,764,420,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,809
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
void Http2Session::PushOutgoingBuffer(nghttp2_stream_write&& write) { outgoing_length_ += write.buf.len; outgoing_buffers_.emplace_back(std::move(write)); }
328,939,617,264,284,630,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,810
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
int Http2Session::OnNghttpError(nghttp2_session* handle, const char* message, size_t len, void* user_data) { // Unfortunately, this is currently the only way for us to know if // the session errored because the peer is n...
225,873,098,294,409,900,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,811
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
uint8_t Http2Session::SendPendingData() { Debug(this, "sending pending data"); // Do not attempt to send data on the socket if the destroying flag has // been set. That means everything is shutting down and the socket // will not be usable. if (IsDestroyed()) return 0; flags_ &= ~SESSION_STATE_WRITE_SCH...
214,997,065,252,384,300,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,812
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
void Http2Session::Http2Settings::Update(Environment* env, Http2Session* session, get_setting fn) { AliasedBuffer<uint32_t, Uint32Array>& buffer = env->http2_state()->settings_buffer; buffer[IDX_SETTINGS_HEADER_TABLE_SIZE] = ...
167,390,532,820,366,260,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,813
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
static void H2Free(void* ptr, void* user_data) { if (ptr == nullptr) return; // free(null); happens quite often. void* result = H2Realloc(ptr, 0, user_data); CHECK_EQ(result, nullptr); }
277,597,111,973,599,750,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,814
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
enum encoding encoding() const { return encoding_; }
113,507,449,139,396,230,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,815
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
Http2Stream* Http2Session::SubmitRequest( nghttp2_priority_spec* prispec, nghttp2_nv* nva, size_t len, int32_t* ret, int options) { Debug(this, "submitting request"); Http2Scope h2scope(this); Http2Stream* stream = nullptr; Http2Stream::Provider::Stream prov(options); *ret = nghttp2_submit...
71,413,014,705,615,020,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,816
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
bool TLSWrap::IsAlive() { return ssl_ != nullptr && stream_ != nullptr && underlying_stream()->IsAlive(); }
178,885,337,062,001,000,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,817
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
inline void StreamResource::RemoveStreamListener(StreamListener* listener) { CHECK_NOT_NULL(listener); StreamListener* previous; StreamListener* current; // Remove from the linked list. for (current = listener_, previous = nullptr; /* No loop condition because we want a crash if listener is not found...
223,396,670,254,857,100,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,818
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
void Done(int result) { req->result = result; done_cb(req); }
169,801,721,993,787,240,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,819
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
bool TLSWrap::IsIPCPipe() { return underlying_stream()->IsIPCPipe(); }
95,729,789,550,543,700,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,820
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
Http2Stream::~Http2Stream() { for (nghttp2_header& header : current_headers_) { nghttp2_rcbuf_decref(header.name); nghttp2_rcbuf_decref(header.value); } if (session_ == nullptr) return; Debug(this, "tearing down stream"); session_->DecrementCurrentSessionMemory(current_headers_length_); session...
77,877,248,010,078,900,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,821
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
void TLSWrap::EnableKeylogCallback( const FunctionCallbackInfo<Value>& args) { TLSWrap* wrap; ASSIGN_OR_RETURN_UNWRAP(&wrap, args.Holder()); CHECK_NOT_NULL(wrap->sc_); #if OPENSSL_VERSION_NUMBER >= 0x1010100fL SSL_CTX_set_keylog_callback(wrap->sc_->ctx_.get(), SSLWrap<TLSWrap>::KeylogCallback); #endif...
74,684,916,242,210,475,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,822
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
bool Http2Session::HasWritesOnSocketForStream(Http2Stream* stream) { for (const nghttp2_stream_write& wr : outgoing_buffers_) { if (wr.req_wrap != nullptr && wr.req_wrap->stream() == stream) return true; } return false; }
41,064,665,962,057,745,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,823
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
Local<FunctionTemplate> LibuvStreamWrap::GetConstructorTemplate( Environment* env) { Local<FunctionTemplate> tmpl = env->libuv_stream_wrap_ctor_template(); if (tmpl.IsEmpty()) { tmpl = env->NewFunctionTemplate(nullptr); tmpl->SetClassName( FIXED_ONE_BYTE_STRING(env->isolate(), "LibuvStreamWrap")...
268,018,921,407,500,070,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,824
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
int Http2Session::OnInvalidFrame(nghttp2_session* handle, const nghttp2_frame* frame, int lib_error_code, void* user_data) { Http2Session* session = static_cast<Http2Session*>(user_data); Debug(session, "invalid fram...
142,757,191,859,848,920,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,825
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
void Http2Session::OnStreamRead(ssize_t nread, const uv_buf_t& buf_) { HandleScope handle_scope(env()->isolate()); Context::Scope context_scope(env()->context()); Http2Scope h2scope(this); CHECK_NOT_NULL(stream_); Debug(this, "receiving %d bytes", nread); // Only pass data on if nread > 0 if (nread <= 0)...
318,976,634,157,642,930,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,826
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
int Http2Stream::SubmitInfo(nghttp2_nv* nva, size_t len) { CHECK(!this->IsDestroyed()); Http2Scope h2scope(this); Debug(this, "sending %d informational headers", len); int ret = nghttp2_submit_headers(**session_, NGHTTP2_FLAG_NONE, id_, nullp...
206,622,303,477,504,800,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,827
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
void Http2Session::MaybeScheduleWrite() { CHECK_EQ(flags_ & SESSION_STATE_WRITE_SCHEDULED, 0); if (UNLIKELY(session_ == nullptr)) return; if (nghttp2_session_want_write(session_)) { HandleScope handle_scope(env()->isolate()); Debug(this, "scheduling write"); flags_ |= SESSION_STATE_WRITE_SCHEDULE...
266,940,546,277,406,400,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,828
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
ShutdownWrap* TLSWrap::CreateShutdownWrap(Local<Object> req_wrap_object) { return underlying_stream()->CreateShutdownWrap(req_wrap_object); }
47,194,347,884,631,730,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,829
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
Http2Session::Http2Session(Environment* env, Local<Object> wrap, nghttp2_session_type type) : AsyncWrap(env, wrap, AsyncWrap::PROVIDER_HTTP2SESSION), session_type_(type) { MakeWeak(); statistics_.start_time = uv_hrtime(); // Capture the configuratio...
42,200,991,244,190,223,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,830
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
void StreamBase::AddMethods(Environment* env, Local<FunctionTemplate> t) { HandleScope scope(env->isolate()); enum PropertyAttribute attributes = static_cast<PropertyAttribute>( v8::ReadOnly | v8::DontDelete | v8::DontEnum); Local<Signature> signature = Signature::New(env->isolate(), t); // T...
304,926,998,663,224,750,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,831
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
AsyncWrap* JSStream::GetAsyncWrap() { return static_cast<AsyncWrap*>(this); }
60,523,289,044,260,140,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,832
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
void Http2Stream::Respond(const FunctionCallbackInfo<Value>& args) { Environment* env = Environment::GetCurrent(args); Local<Context> context = env->context(); Isolate* isolate = env->isolate(); Http2Stream* stream; ASSIGN_OR_RETURN_UNWRAP(&stream, args.Holder()); Local<Array> headers = args[0].As<Array>()...
12,331,074,125,381,427,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265
506,833
node
7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
https://github.com/joyent/node
https://github.com/nodejs/node/commit/7f178663ebffc82c9f8a5a1b6bf2da0c263a30ed
src: use unique_ptr for WriteWrap This commit attempts to avoid a use-after-free error by using unqiue_ptr and passing a reference to it. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 PR-URL: https://github.com/nodejs-private/node-private/pull/238 Reviewed-By: Michael Dawson <...
0
const char* TLSWrap::Error() const { return error_.empty() ? nullptr : error_.c_str(); }
273,592,462,712,656,920,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2020-8265
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an err...
https://nvd.nist.gov/vuln/detail/CVE-2020-8265