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
507,134
node
4f8772f9b731118628256189b73cd202149bbd97
https://github.com/joyent/node
https://github.com/nodejs/node/commit/4f8772f9b731118628256189b73cd202149bbd97
src: retain pointers to WriteWrap/ShutdownWrap Avoids potential use-after-free when wrap req's are synchronously destroyed. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 Refs: https://hackerone.com/bugs?subject=nodejs&report_id=988103 PR-URL: https://github.com/nodejs-private/...
0
void StreamListener::OnStreamAfterWrite(WriteWrap* w, int status) { CHECK_NOT_NULL(previous_listener_); previous_listener_->OnStreamAfterWrite(w, status); }
179,127,708,275,069,500,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
507,135
node
4f8772f9b731118628256189b73cd202149bbd97
https://github.com/joyent/node
https://github.com/nodejs/node/commit/4f8772f9b731118628256189b73cd202149bbd97
src: retain pointers to WriteWrap/ShutdownWrap Avoids potential use-after-free when wrap req's are synchronously destroyed. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 Refs: https://hackerone.com/bugs?subject=nodejs&report_id=988103 PR-URL: https://github.com/nodejs-private/...
0
void ReportWritesToJSStreamListener::OnStreamAfterWrite( WriteWrap* req_wrap, int status) { OnStreamAfterReqFinished(req_wrap, status); }
83,988,327,638,116,600,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
507,136
node
4f8772f9b731118628256189b73cd202149bbd97
https://github.com/joyent/node
https://github.com/nodejs/node/commit/4f8772f9b731118628256189b73cd202149bbd97
src: retain pointers to WriteWrap/ShutdownWrap Avoids potential use-after-free when wrap req's are synchronously destroyed. CVE-ID: CVE-2020-8265 Fixes: https://github.com/nodejs-private/node-private/issues/227 Refs: https://hackerone.com/bugs?subject=nodejs&report_id=988103 PR-URL: https://github.com/nodejs-private/...
0
WriteWrap* WriteWrap::FromObject( const BaseObjectPtrImpl<T, kIsWeak>& base_obj) { if (!base_obj) return nullptr; return FromObject(base_obj->object()); }
285,827,899,682,423,200,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
507,185
node
fc70ce08f5818a286fb5899a1bc3aff5965a745e
https://github.com/joyent/node
https://github.com/nodejs/node/commit/fc70ce08f5818a286fb5899a1bc3aff5965a745e
http: unset `F_CHUNKED` on new `Transfer-Encoding` Duplicate `Transfer-Encoding` header should be a treated as a single, but with original header values concatenated with a comma separator. In the light of this, even if the past `Transfer-Encoding` ended with `chunked`, we should be not let the `F_CHUNKED` to leak int...
0
size_t http_parser_execute (http_parser *parser, const http_parser_settings *settings, const char *data, size_t len) { char c, ch; int8_t unhex_val; const char *p = data; const char *header_field_mark = 0; const char *header_...
315,130,984,024,133,230,000,000,000,000,000,000,000
None
null
[ "CWE-444" ]
CVE-2020-8287
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 allow two copies of a header field in an HTTP request (for example, two Transfer-Encoding header fields). In this case, Node.js identifies the first header field and ignores the second. This can lead to HTTP Request Smuggling.
https://nvd.nist.gov/vuln/detail/CVE-2020-8287
507,186
node
fc70ce08f5818a286fb5899a1bc3aff5965a745e
https://github.com/joyent/node
https://github.com/nodejs/node/commit/fc70ce08f5818a286fb5899a1bc3aff5965a745e
http: unset `F_CHUNKED` on new `Transfer-Encoding` Duplicate `Transfer-Encoding` header should be a treated as a single, but with original header values concatenated with a comma separator. In the light of this, even if the past `Transfer-Encoding` ended with `chunked`, we should be not let the `F_CHUNKED` to leak int...
0
int http_parser_parse_url(const char *buf, size_t buflen, int is_connect, struct http_parser_url *u) { enum state s; const char *p; enum http_parser_url_fields uf, old_uf; int found_at = 0; if (buflen == 0) { return 1; } u->port = u->field_set = 0; s = is_connect ? s_req_serv...
74,453,042,220,370,910,000,000,000,000,000,000,000
None
null
[ "CWE-444" ]
CVE-2020-8287
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 allow two copies of a header field in an HTTP request (for example, two Transfer-Encoding header fields). In this case, Node.js identifies the first header field and ignores the second. This can lead to HTTP Request Smuggling.
https://nvd.nist.gov/vuln/detail/CVE-2020-8287
507,187
node
fc70ce08f5818a286fb5899a1bc3aff5965a745e
https://github.com/joyent/node
https://github.com/nodejs/node/commit/fc70ce08f5818a286fb5899a1bc3aff5965a745e
http: unset `F_CHUNKED` on new `Transfer-Encoding` Duplicate `Transfer-Encoding` header should be a treated as a single, but with original header values concatenated with a comma separator. In the light of this, even if the past `Transfer-Encoding` ended with `chunked`, we should be not let the `F_CHUNKED` to leak int...
0
int http_message_needs_eof (const http_parser *parser) { if (parser->type == HTTP_REQUEST) { return 0; } /* See RFC 2616 section 4.4 */ if (parser->status_code / 100 == 1 || /* 1xx e.g. Continue */ parser->status_code == 204 || /* No Content */ parser->status_code == 304 || /* Not Modif...
33,115,633,141,239,400,000,000,000,000,000,000,000
None
null
[ "CWE-444" ]
CVE-2020-8287
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 allow two copies of a header field in an HTTP request (for example, two Transfer-Encoding header fields). In this case, Node.js identifies the first header field and ignores the second. This can lead to HTTP Request Smuggling.
https://nvd.nist.gov/vuln/detail/CVE-2020-8287
507,188
openssl
901f1ef7dacb6b3bde63233a1f623e1fa2f0f058
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/901f1ef7dacb6b3bde63233a1f623e1fa2f0f058
Fix the RSA_SSLV23_PADDING padding type This also fixes the public function RSA_padding_check_SSLv23. Commit 6555a89 changed the padding check logic in RSA_padding_check_SSLv23 so that padding is rejected if the nul delimiter byte is not immediately preceded by at least 8 bytes containing 0x03. Prior to that commit t...
0
int RSA_padding_add_SSLv23(unsigned char *to, int tlen, const unsigned char *from, int flen) { int i, j; unsigned char *p; if (flen > (tlen - RSA_PKCS1_PADDING_SIZE)) { RSAerr(RSA_F_RSA_PADDING_ADD_SSLV23, RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE); return ...
215,690,654,466,050,320,000,000,000,000,000,000,000
None
null
[ "CWE-326" ]
CVE-2021-23839
OpenSSL 1.0.2 supports SSLv2. If a client attempts to negotiate SSLv2 with a server that is configured to support both SSLv2 and more recent SSL and TLS versions then a check is made for a version rollback attack when unpadding an RSA signature. Clients that support SSL or TLS versions greater than SSLv2 are supposed t...
https://nvd.nist.gov/vuln/detail/CVE-2021-23839
507,189
openssl
901f1ef7dacb6b3bde63233a1f623e1fa2f0f058
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/901f1ef7dacb6b3bde63233a1f623e1fa2f0f058
Fix the RSA_SSLV23_PADDING padding type This also fixes the public function RSA_padding_check_SSLv23. Commit 6555a89 changed the padding check logic in RSA_padding_check_SSLv23 so that padding is rejected if the nul delimiter byte is not immediately preceded by at least 8 bytes containing 0x03. Prior to that commit t...
0
int RSA_padding_check_SSLv23(unsigned char *to, int tlen, const unsigned char *from, int flen, int num) { int i; /* |em| is the encoded message, zero-padded to exactly |num| bytes */ unsigned char *em = NULL; unsigned int good, found_zero_byte, mask, threes_in_row; int z...
209,387,595,545,725,800,000,000,000,000,000,000,000
None
null
[ "CWE-326" ]
CVE-2021-23839
OpenSSL 1.0.2 supports SSLv2. If a client attempts to negotiate SSLv2 with a server that is configured to support both SSLv2 and more recent SSL and TLS versions then a check is made for a version rollback attack when unpadding an RSA signature. Clients that support SSL or TLS versions greater than SSLv2 are supposed t...
https://nvd.nist.gov/vuln/detail/CVE-2021-23839
507,190
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
X509 *X509_find_by_subject(STACK_OF(X509) *sk, const X509_NAME *name) { X509 *x509; int i; for (i = 0; i < sk_X509_num(sk); i++) { x509 = sk_X509_value(sk, i); if (X509_NAME_cmp(X509_get_subject_name(x509), name) == 0) return x509; } return NULL; }
340,182,785,985,969,800,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,191
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
int X509_add_cert(STACK_OF(X509) *sk, X509 *cert, int flags) { if (sk == NULL) { ERR_raise(ERR_LIB_X509, ERR_R_PASSED_NULL_PARAMETER); return 0; } if ((flags & X509_ADD_FLAG_NO_DUP) != 0) { /* * not using sk_X509_set_cmp_func() and sk_X509_find() * because this re-o...
57,098,602,829,790,800,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,192
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
int X509_CRL_match(const X509_CRL *a, const X509_CRL *b) { int rv; if ((a->flags & EXFLAG_NO_FINGERPRINT) == 0 && (b->flags & EXFLAG_NO_FINGERPRINT) == 0) rv = memcmp(a->sha1_hash, b->sha1_hash, SHA_DIGEST_LENGTH); else return -2; return rv < 0 ? -1 : rv > 0; }
59,997,811,501,922,030,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,193
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
STACK_OF(X509) *X509_chain_up_ref(STACK_OF(X509) *chain) { STACK_OF(X509) *ret = sk_X509_dup(chain); int i; if (ret == NULL) return NULL; for (i = 0; i < sk_X509_num(ret); i++) { X509 *x = sk_X509_value(ret, i); if (!X509_up_ref(x)) goto err; } return ret; ...
133,860,332,167,436,840,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,194
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
X509_NAME *X509_get_issuer_name(const X509 *a) { return a->cert_info.issuer; }
317,786,042,952,479,720,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,195
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
int X509_add_cert_new(STACK_OF(X509) **sk, X509 *cert, int flags) { if (*sk == NULL && (*sk = sk_X509_new_null()) == NULL) { ERR_raise(ERR_LIB_X509, ERR_R_MALLOC_FAILURE); return 0; } return X509_add_cert(*sk, cert, flags); }
306,788,180,940,248,840,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,196
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
int X509_CRL_cmp(const X509_CRL *a, const X509_CRL *b) { return X509_NAME_cmp(a->crl.issuer, b->crl.issuer); }
208,893,264,890,629,900,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,197
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b) { int ret; if (b == NULL) return a != NULL; if (a == NULL) return -1; /* Ensure canonical encoding is present and up to date */ if (!a->canon_enc || a->modified) { ret = i2d_X509_NAME((X509_NAME *)a, NULL); i...
51,147,144,350,498,930,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,198
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
unsigned long X509_subject_name_hash(X509 *x) { return X509_NAME_hash_ex(x->cert_info.subject, NULL, NULL, NULL); }
152,124,738,738,844,080,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,199
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
int X509_check_private_key(const X509 *x, const EVP_PKEY *k) { const EVP_PKEY *xk; int ret; xk = X509_get0_pubkey(x); if (xk) ret = EVP_PKEY_eq(xk, k); else ret = -2; switch (ret) { case 1: break; case 0: ERR_raise(ERR_LIB_X509, X509_R_KEY_VALUES_MISMAT...
60,963,796,314,167,430,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,200
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
const ASN1_INTEGER *X509_get0_serialNumber(const X509 *a) { return &a->cert_info.serialNumber; }
155,244,393,283,796,250,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,201
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
unsigned long X509_subject_name_hash_old(X509 *x) { return X509_NAME_hash_old(x->cert_info.subject); }
57,645,112,253,106,370,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,202
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
ASN1_INTEGER *X509_get_serialNumber(X509 *a) { return &a->cert_info.serialNumber; }
289,469,047,914,004,770,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,203
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
unsigned long X509_NAME_hash_ex(const X509_NAME *x, OSSL_LIB_CTX *libctx, const char *propq, int *ok) { unsigned long ret = 0; unsigned char md[SHA_DIGEST_LENGTH]; EVP_MD *sha1 = EVP_MD_fetch(libctx, "SHA1", propq); /* Make sure X509_NAME structure contains valid cached ...
210,479,373,962,059,300,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,204
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
unsigned long X509_issuer_name_hash(X509 *x) { return X509_NAME_hash_ex(x->cert_info.issuer, NULL, NULL, NULL); }
162,881,012,916,574,360,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,205
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
unsigned long X509_issuer_and_serial_hash(X509 *a) { unsigned long ret = 0; EVP_MD_CTX *ctx = EVP_MD_CTX_new(); unsigned char md[16]; char *f; if (ctx == NULL) goto err; f = X509_NAME_oneline(a->cert_info.issuer, NULL, 0); if (f == NULL) goto err; if (!EVP_DigestInit_ex(...
128,383,710,510,994,940,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,206
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
unsigned long X509_issuer_name_hash_old(X509 *x) { return X509_NAME_hash_old(x->cert_info.issuer); }
111,425,111,496,133,470,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,207
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
EVP_PKEY *X509_get_pubkey(X509 *x) { if (x == NULL) return NULL; return X509_PUBKEY_get(x->cert_info.key); }
43,598,838,351,148,930,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,208
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
int X509_cmp(const X509 *a, const X509 *b) { int rv = 0; if (a == b) /* for efficiency */ return 0; /* attempt to compute cert hash */ (void)X509_check_purpose((X509 *)a, -1, 0); (void)X509_check_purpose((X509 *)b, -1, 0); if ((a->ex_flags & EXFLAG_NO_FINGERPRINT) == 0 && ...
10,080,435,660,126,880,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,209
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b) { int i; const X509_CINF *ai, *bi; if (b == NULL) return a != NULL; if (a == NULL) return -1; ai = &a->cert_info; bi = &b->cert_info; i = ASN1_INTEGER_cmp(&ai->serialNumber, &bi->serialNumber); if (i != 0) ...
166,289,785,501,952,320,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,210
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
int X509_issuer_name_cmp(const X509 *a, const X509 *b) { return X509_NAME_cmp(a->cert_info.issuer, b->cert_info.issuer); }
302,021,505,118,804,960,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,211
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
int X509_CRL_check_suiteb(X509_CRL *crl, EVP_PKEY *pk, unsigned long flags) { int sign_nid; if (!(flags & X509_V_FLAG_SUITEB_128_LOS)) return X509_V_OK; sign_nid = OBJ_obj2nid(crl->crl.sig_alg.algorithm); return check_suite_b(pk, sign_nid, &flags); }
155,826,310,346,866,760,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,212
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
X509 *X509_find_by_issuer_and_serial(STACK_OF(X509) *sk, const X509_NAME *name, const ASN1_INTEGER *serial) { int i; X509 x, *x509 = NULL; if (!sk) return NULL; x.cert_info.serialNumber = *serial; x.cert_info.issuer = (X509_NAME *)name; /* won't modify ...
42,357,828,334,955,520,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,213
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
int X509_chain_check_suiteb(int *perror_depth, X509 *x, STACK_OF(X509) *chain, unsigned long flags) { int rv, i, sign_nid; EVP_PKEY *pk; unsigned long tflags = flags; if (!(flags & X509_V_FLAG_SUITEB_128_LOS)) return X509_V_OK; /* If no EE certificate passed in ...
250,296,642,757,321,830,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,214
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
int X509_CRL_check_suiteb(X509_CRL *crl, EVP_PKEY *pk, unsigned long flags) { return 0; }
98,985,189,092,692,080,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,215
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
X509_NAME *X509_get_subject_name(const X509 *a) { return a->cert_info.subject; }
162,425,658,744,617,550,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,216
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
int X509_add_certs(STACK_OF(X509) *sk, STACK_OF(X509) *certs, int flags) /* compiler would allow 'const' for the list of certs, yet they are up-ref'ed */ { int n = sk_X509_num(certs); /* certs may be NULL */ int i; for (i = 0; i < n; i++) { int j = (flags & X509_ADD_FLAG_PREPEND) == 0 ? i : n - 1 -...
198,753,152,319,794,440,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,217
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
int X509_chain_check_suiteb(int *perror_depth, X509 *x, STACK_OF(X509) *chain, unsigned long flags) { return 0; }
289,457,603,384,552,150,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,218
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
int X509_subject_name_cmp(const X509 *a, const X509 *b) { return X509_NAME_cmp(a->cert_info.subject, b->cert_info.subject); }
189,601,126,950,390,160,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,219
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
EVP_PKEY *X509_get0_pubkey(const X509 *x) { if (x == NULL) return NULL; return X509_PUBKEY_get0(x->cert_info.key); }
207,469,885,270,203,700,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,220
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
static int check_suite_b(EVP_PKEY *pkey, int sign_nid, unsigned long *pflags) { char curve_name[80]; size_t curve_name_len; int curve_nid; if (pkey == NULL || !EVP_PKEY_is_a(pkey, "EC")) return X509_V_ERR_SUITE_B_INVALID_ALGORITHM; if (!EVP_PKEY_get_group_name(pkey, curve_name, sizeof(curv...
292,884,271,154,198,650,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,221
openssl
8130d654d1de922ea224fa18ee3bc7262edc39c0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/8130d654d1de922ea224fa18ee3bc7262edc39c0
Fix Null pointer deref in X509_issuer_and_serial_hash() The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the ...
0
unsigned long X509_NAME_hash_old(const X509_NAME *x) { EVP_MD *md5 = EVP_MD_fetch(NULL, OSSL_DIGEST_NAME_MD5, "-fips"); EVP_MD_CTX *md_ctx = EVP_MD_CTX_new(); unsigned long ret = 0; unsigned char md[16]; if (md5 == NULL || md_ctx == NULL) goto end; /* Make sure X509_NAME structure cont...
287,438,784,369,694,900,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,222
openssl
55869f594f052561b11a2db6a7c42690051868de
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/55869f594f052561b11a2db6a7c42690051868de
Test that X509_issuer_and_serial_hash doesn't crash Provide a certificate with a bad issuer and check that X509_issuer_and_serial_hash doesn't crash. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
void FuzzerCleanup(void) { }
150,041,114,380,018,860,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,223
openssl
55869f594f052561b11a2db6a7c42690051868de
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/55869f594f052561b11a2db6a7c42690051868de
Test that X509_issuer_and_serial_hash doesn't crash Provide a certificate with a bad issuer and check that X509_issuer_and_serial_hash doesn't crash. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
int FuzzerTestOneInput(const uint8_t *buf, size_t len) { const unsigned char *p = buf; unsigned char *der = NULL; X509 *x509 = d2i_X509(NULL, &p, len); if (x509 != NULL) { BIO *bio = BIO_new(BIO_s_null()); /* This will load and print the public key as well as extensions */ X509_...
38,148,017,826,076,580,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,224
openssl
55869f594f052561b11a2db6a7c42690051868de
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/55869f594f052561b11a2db6a7c42690051868de
Test that X509_issuer_and_serial_hash doesn't crash Provide a certificate with a bad issuer and check that X509_issuer_and_serial_hash doesn't crash. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
int FuzzerInitialize(int *argc, char ***argv) { OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL); ERR_clear_error(); CRYPTO_free_ex_index(0, -1); FuzzerSetRand(); return 1; }
329,408,288,347,228,900,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is ma...
https://nvd.nist.gov/vuln/detail/CVE-2021-23841
507,225
openssl
6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
Don't overflow the output length in EVP_CipherUpdate calls CVE-2021-23840 Reviewed-by: Paul Dale <pauli@openssl.org>
0
int EVP_EncryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) { int n, ret; unsigned int i, b, bl; /* Prevent accidental use of decryption context when encrypting */ if (!ctx->encrypt) { EVPerr(EVP_F_EVP_ENCRYPTFINAL_EX, EVP_R_INVALID_OPERATION); return 0; } if (c...
8,427,431,708,217,950,000,000,000,000,000,000,000
None
null
[ "CWE-190" ]
CVE-2021-23840
Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return value from the function call will be 1 (indicating success), but the output ...
https://nvd.nist.gov/vuln/detail/CVE-2021-23840
507,226
openssl
6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
Don't overflow the output length in EVP_CipherUpdate calls CVE-2021-23840 Reviewed-by: Paul Dale <pauli@openssl.org>
0
int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv, int enc) { if (enc == -1) enc = ctx->encrypt; else { if (enc) enc = 1; ctx->encrypt = enc; } #...
264,359,464,015,063,500,000,000,000,000,000,000,000
None
null
[ "CWE-190" ]
CVE-2021-23840
Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return value from the function call will be 1 (indicating success), but the output ...
https://nvd.nist.gov/vuln/detail/CVE-2021-23840
507,227
openssl
6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
Don't overflow the output length in EVP_CipherUpdate calls CVE-2021-23840 Reviewed-by: Paul Dale <pauli@openssl.org>
0
int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in) { if ((in == NULL) || (in->cipher == NULL)) { EVPerr(EVP_F_EVP_CIPHER_CTX_COPY, EVP_R_INPUT_NOT_INITIALIZED); return 0; } #ifndef OPENSSL_NO_ENGINE /* Make sure it's safe to copy a cipher context using an ENGINE */ if...
221,464,780,113,637,050,000,000,000,000,000,000,000
None
null
[ "CWE-190" ]
CVE-2021-23840
Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return value from the function call will be 1 (indicating success), but the output ...
https://nvd.nist.gov/vuln/detail/CVE-2021-23840
507,229
openssl
6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
Don't overflow the output length in EVP_CipherUpdate calls CVE-2021-23840 Reviewed-by: Paul Dale <pauli@openssl.org>
0
int is_partially_overlapping(const void *ptr1, const void *ptr2, int len) { PTRDIFF_T diff = (PTRDIFF_T)ptr1-(PTRDIFF_T)ptr2; /* * Check for partially overlapping buffers. [Binary logical * operations are used instead of boolean to minimize number * of conditional branches.] */ int overl...
223,178,379,355,648,580,000,000,000,000,000,000,000
None
null
[ "CWE-190" ]
CVE-2021-23840
Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return value from the function call will be 1 (indicating success), but the output ...
https://nvd.nist.gov/vuln/detail/CVE-2021-23840
507,230
openssl
6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
Don't overflow the output length in EVP_CipherUpdate calls CVE-2021-23840 Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int evp_EncryptDecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl) { int i, j, bl, cmpl = inl; if (EVP_CIPHER_CTX_test_flags(ctx, EVP_CIPH_FLAG_LENGTH_BITS)) cmpl = (cmpl + 7) ...
58,660,237,677,661,720,000,000,000,000,000,000,000
None
null
[ "CWE-190" ]
CVE-2021-23840
Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return value from the function call will be 1 (indicating success), but the output ...
https://nvd.nist.gov/vuln/detail/CVE-2021-23840
507,231
openssl
6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
Don't overflow the output length in EVP_CipherUpdate calls CVE-2021-23840 Reviewed-by: Paul Dale <pauli@openssl.org>
0
int EVP_CIPHER_CTX_rand_key(EVP_CIPHER_CTX *ctx, unsigned char *key) { if (ctx->cipher->flags & EVP_CIPH_RAND_KEY) return EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_RAND_KEY, 0, key); if (RAND_priv_bytes(key, ctx->key_len) <= 0) return 0; return 1; }
137,485,907,345,831,700,000,000,000,000,000,000,000
None
null
[ "CWE-190" ]
CVE-2021-23840
Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return value from the function call will be 1 (indicating success), but the output ...
https://nvd.nist.gov/vuln/detail/CVE-2021-23840
507,232
openssl
6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
Don't overflow the output length in EVP_CipherUpdate calls CVE-2021-23840 Reviewed-by: Paul Dale <pauli@openssl.org>
0
int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv, int enc) { if (cipher != NULL) EVP_CIPHER_CTX_reset(ctx); return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc); }
68,497,150,775,182,360,000,000,000,000,000,000,000
None
null
[ "CWE-190" ]
CVE-2021-23840
Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return value from the function call will be 1 (indicating success), but the output ...
https://nvd.nist.gov/vuln/detail/CVE-2021-23840
507,233
openssl
6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
Don't overflow the output length in EVP_CipherUpdate calls CVE-2021-23840 Reviewed-by: Paul Dale <pauli@openssl.org>
0
int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl) { /* Prevent accidental use of decryption context when encrypting */ if (!ctx->encrypt) { EVPerr(EVP_F_EVP_ENCRYPTUPDATE, EVP_R_INVALID_OPERATION); return 0; } ...
58,191,376,989,091,605,000,000,000,000,000,000,000
None
null
[ "CWE-190" ]
CVE-2021-23840
Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return value from the function call will be 1 (indicating success), but the output ...
https://nvd.nist.gov/vuln/detail/CVE-2021-23840
507,234
openssl
6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
Don't overflow the output length in EVP_CipherUpdate calls CVE-2021-23840 Reviewed-by: Paul Dale <pauli@openssl.org>
0
int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl) { int fix_len, cmpl = inl; unsigned int b; /* Prevent accidental use of encryption context when decrypting */ if (ctx->encrypt) { EVPerr(EVP_F_EVP_DECRYPTUPDATE, EVP...
84,755,923,943,046,670,000,000,000,000,000,000,000
None
null
[ "CWE-190" ]
CVE-2021-23840
Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return value from the function call will be 1 (indicating success), but the output ...
https://nvd.nist.gov/vuln/detail/CVE-2021-23840
507,235
openssl
6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1
Don't overflow the output length in EVP_CipherUpdate calls CVE-2021-23840 Reviewed-by: Paul Dale <pauli@openssl.org>
0
int EVP_DecryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) { int i, n; unsigned int b; /* Prevent accidental use of encryption context when decrypting */ if (ctx->encrypt) { EVPerr(EVP_F_EVP_DECRYPTFINAL_EX, EVP_R_INVALID_OPERATION); return 0; } *outl = 0; ...
315,282,774,726,249,860,000,000,000,000,000,000,000
None
null
[ "CWE-190" ]
CVE-2021-23840
Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return value from the function call will be 1 (indicating success), but the output ...
https://nvd.nist.gov/vuln/detail/CVE-2021-23840
507,309
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
int extension_is_relevant(SSL *s, unsigned int extctx, unsigned int thisctx) { int is_tls13; /* * For HRR we haven't selected the version yet but we know it will be * TLSv1.3 */ if ((thisctx & SSL_EXT_TLS1_3_HELLO_RETRY_REQUEST) != 0) is_tls13 = 1; else is_tls13 = SSL_IS_...
145,242,437,834,897,100,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,310
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int init_status_request(SSL *s, unsigned int context) { if (s->server) { s->ext.status_type = TLSEXT_STATUSTYPE_nothing; } else { /* * Ensure we get sensible values passed to tlsext_status_cb in the event * that we don't receive a status message */ OPENS...
286,722,385,331,505,060,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,311
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int tls_parse_certificate_authorities(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx) { if (!parse_ca_names(s, pkt)) return 0; if (PACKET_remaining(pkt) != 0) { SSLfatal(s, SSL_A...
293,244,643,008,006,400,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,312
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static EXT_RETURN tls_construct_certificate_authorities(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) { const STACK_OF(X509_...
93,225,065,554,988,780,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,313
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
int tls_construct_extensions(SSL *s, WPACKET *pkt, unsigned int context, X509 *x, size_t chainidx) { size_t i; int min_version, max_version = 0, reason; const EXTENSION_DEFINITION *thisexd; if (!WPACKET_start_sub_packet_u16(pkt) /* * If extens...
102,003,458,391,362,250,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,314
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int init_srp(SSL *s, unsigned int context) { OPENSSL_free(s->srp_ctx.login); s->srp_ctx.login = NULL; return 1; }
145,591,484,156,403,340,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,315
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int verify_extension(SSL *s, unsigned int context, unsigned int type, custom_ext_methods *meths, RAW_EXTENSION *rawexlist, RAW_EXTENSION **found) { size_t i; size_t builtin_num = OSSL_NELEM(ext_defs); const EXTENSION_DEFINITION *thisext; fo...
197,784,624,077,714,840,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,316
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
int tls_validate_all_contexts(SSL *s, unsigned int thisctx, RAW_EXTENSION *exts) { size_t i, num_exts, builtin_num = OSSL_NELEM(ext_defs), offset; RAW_EXTENSION *thisext; unsigned int context; ENDPOINT role = ENDPOINT_BOTH; if ((thisctx & SSL_EXT_CLIENT_HELLO) != 0) role = ENDPOINT_SERVER; ...
31,040,440,525,998,380,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,317
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int final_ems(SSL *s, unsigned int context, int sent) { /* * Check extended master secret extension is not dropped on * renegotiation. */ if (!(s->s3->flags & TLS1_FLAGS_RECEIVED_EXTMS) && (s->s3->flags & TLS1_FLAGS_REQUIRED_EXTMS)) { SSLfatal(s, SSL_AD_HANDSHAKE_FAILURE, S...
247,395,369,141,294,340,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,318
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int init_post_handshake_auth(SSL *s, unsigned int context) { s->post_handshake_auth = SSL_PHA_NONE; return 1; }
260,383,831,346,521,050,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,319
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int final_sig_algs(SSL *s, unsigned int context, int sent) { if (!sent && SSL_IS_TLS13(s) && !s->hit) { SSLfatal(s, TLS13_AD_MISSING_EXTENSION, SSL_F_FINAL_SIG_ALGS, SSL_R_MISSING_SIGALGS_EXTENSION); return 0; } return 1; }
192,210,260,054,553,160,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,320
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int init_npn(SSL *s, unsigned int context) { s->s3->npn_seen = 0; return 1; }
303,398,884,082,024,760,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,321
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
int tls_parse_all_extensions(SSL *s, int context, RAW_EXTENSION *exts, X509 *x, size_t chainidx, int fin) { size_t i, numexts = OSSL_NELEM(ext_defs); const EXTENSION_DEFINITION *thisexd; /* Calculate the number of extensions in the extensions list */ numexts += s->cert->cus...
330,935,943,497,507,420,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,322
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int final_ec_pt_formats(SSL *s, unsigned int context, int sent) { unsigned long alg_k, alg_a; if (s->server) return 1; alg_k = s->s3->tmp.new_cipher->algorithm_mkey; alg_a = s->s3->tmp.new_cipher->algorithm_auth; /* * If we are client and using an elliptic curve cryptography c...
258,559,426,154,970,560,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,323
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
int tls_collect_extensions(SSL *s, PACKET *packet, unsigned int context, RAW_EXTENSION **res, size_t *len, int init) { PACKET extensions = *packet; size_t i = 0; size_t num_exts; custom_ext_methods *exts = &s->cert->custext; RAW_EXTENSION *raw_extensions = NULL; const ...
296,384,201,457,643,680,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,324
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int final_key_share(SSL *s, unsigned int context, int sent) { if (!SSL_IS_TLS13(s)) return 1; /* Nothing to do for key_share in an HRR */ if ((context & SSL_EXT_TLS1_3_HELLO_RETRY_REQUEST) != 0) return 1; /* * If * we are a client * AND * we have ...
284,502,323,226,653,600,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,325
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int final_server_name(SSL *s, unsigned int context, int sent) { int ret = SSL_TLSEXT_ERR_NOACK; int altmp = SSL_AD_UNRECOGNIZED_NAME; int was_ticket = (SSL_get_options(s) & SSL_OP_NO_TICKET) == 0; if (!ossl_assert(s->ctx != NULL) || !ossl_assert(s->session_ctx != NULL)) { SSLfatal(s, SSL...
97,905,881,443,038,380,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,326
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int init_ems(SSL *s, unsigned int context) { if (s->s3->flags & TLS1_FLAGS_RECEIVED_EXTMS) { s->s3->flags &= ~TLS1_FLAGS_RECEIVED_EXTMS; s->s3->flags |= TLS1_FLAGS_REQUIRED_EXTMS; } return 1; }
305,918,214,734,456,530,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,327
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int validate_context(SSL *s, unsigned int extctx, unsigned int thisctx) { /* Check we're allowed to use this extension in this context */ if ((thisctx & extctx) == 0) return 0; if (SSL_IS_DTLS(s)) { if ((extctx & SSL_EXT_TLS_ONLY) != 0) return 0; } else if ((extctx & ...
126,667,547,204,226,820,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,328
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
int should_add_extension(SSL *s, unsigned int extctx, unsigned int thisctx, int max_version) { /* Skip if not relevant for our context */ if ((extctx & thisctx) == 0) return 0; /* Check if this extension is defined for our protocol. If not, skip */ if (!extension_is_rel...
284,377,712,660,686,360,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,329
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
int tls_psk_do_binder(SSL *s, const EVP_MD *md, const unsigned char *msgstart, size_t binderoffset, const unsigned char *binderin, unsigned char *binderout, SSL_SESSION *sess, int sign, int external) { EVP_PKEY *mackey = NULL; EVP_MD_CTX *mctx = ...
149,438,185,171,709,460,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,330
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int init_certificate_authorities(SSL *s, unsigned int context) { sk_X509_NAME_pop_free(s->s3->tmp.peer_ca_names, X509_NAME_free); s->s3->tmp.peer_ca_names = NULL; return 1; }
306,725,322,699,519,500,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,331
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
int tls_parse_extension(SSL *s, TLSEXT_INDEX idx, int context, RAW_EXTENSION *exts, X509 *x, size_t chainidx) { RAW_EXTENSION *currext = &exts[idx]; int (*parser)(SSL *s, PACKET *pkt, unsigned int context, X509 *x, size_t chainidx) = NULL; /* Skip if the extension ...
42,881,323,725,362,110,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,332
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int final_renegotiate(SSL *s, unsigned int context, int sent) { if (!s->server) { /* * Check if we can connect to a server that doesn't support safe * renegotiation */ if (!(s->options & SSL_OP_LEGACY_SERVER_CONNECT) && !(s->options & SSL_OP_ALLOW_UN...
40,463,622,111,369,970,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,333
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int init_sig_algs(SSL *s, unsigned int context) { /* Clear any signature algorithms extension received */ OPENSSL_free(s->s3->tmp.peer_sigalgs); s->s3->tmp.peer_sigalgs = NULL; s->s3->tmp.peer_sigalgslen = 0; return 1; }
138,203,707,853,151,070,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,334
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int final_maxfragmentlen(SSL *s, unsigned int context, int sent) { /* * Session resumption on server-side with MFL extension active * BUT MFL extension packet was not resent (i.e. sent == 0) */ if (s->server && s->hit && USE_MAX_FRAGMENT_LENGTH_EXT(s->session) && !sent ) { ...
135,687,220,248,444,410,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,335
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int init_server_name(SSL *s, unsigned int context) { if (s->server) { s->servername_done = 0; OPENSSL_free(s->ext.hostname); s->ext.hostname = NULL; } return 1; }
68,591,946,250,512,580,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,336
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int init_psk_kex_modes(SSL *s, unsigned int context) { s->ext.psk_kex_mode = TLSEXT_KEX_MODE_FLAG_NONE; return 1; }
144,734,794,754,693,900,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,337
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int init_srtp(SSL *s, unsigned int context) { if (s->server) s->srtp_profile = NULL; return 1; }
204,017,827,961,936,100,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,338
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int init_sig_algs_cert(SSL *s, unsigned int context) { /* Clear any signature algorithms extension received */ OPENSSL_free(s->s3->tmp.peer_cert_sigalgs); s->s3->tmp.peer_cert_sigalgs = NULL; return 1; }
65,373,578,696,605,080,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,339
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int init_alpn(SSL *s, unsigned int context) { OPENSSL_free(s->s3->alpn_selected); s->s3->alpn_selected = NULL; s->s3->alpn_selected_len = 0; if (s->server) { OPENSSL_free(s->s3->alpn_proposed); s->s3->alpn_proposed = NULL; s->s3->alpn_proposed_len = 0; } return 1; ...
61,560,506,081,219,880,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,340
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int init_etm(SSL *s, unsigned int context) { s->ext.use_etm = 0; return 1; }
169,585,926,955,346,070,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,341
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int final_early_data(SSL *s, unsigned int context, int sent) { if (!sent) return 1; if (!s->server) { if (context == SSL_EXT_TLS1_3_ENCRYPTED_EXTENSIONS && sent && !s->ext.early_data_ok) { /* * If we get here then the server accept...
276,204,087,971,615,400,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,342
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int final_alpn(SSL *s, unsigned int context, int sent) { if (!s->server && !sent && s->session->ext.alpn_selected != NULL) s->ext.early_data_ok = 0; if (!s->server || !SSL_IS_TLS13(s)) return 1; /* * Call alpn_select callback if needed. Has to be done after SNI and * ...
123,781,222,363,571,170,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,343
openssl
fb9fa6b51defd48157eeb207f52181f735d96148
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/fb9fa6b51defd48157eeb207f52181f735d96148
ssl sigalg extension: fix NULL pointer dereference As the variable peer_sigalgslen is not cleared on ssl rehandshake, it's possible to crash an openssl tls secured server remotely by sending a manipulated hello message in a rehandshake. On such a manipulated rehandshake, tls1_set_shared_sigalgs() calls tls12_shared_s...
0
static int init_session_ticket(SSL *s, unsigned int context) { if (!s->server) s->ext.ticket_expected = 0; return 1; }
127,460,717,770,358,360,000,000,000,000,000,000,000
None
null
[ "CWE-476" ]
CVE-2021-3449
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer derefer...
https://nvd.nist.gov/vuln/detail/CVE-2021-3449
507,344
qemu
defac5e2fbddf8423a354ff0454283a2115e1367
https://github.com/bonzini/qemu
https://gitlab.com/qemu-project/qemu/-/commit/defac5e2fbddf8423a354ff0454283a2115e1367
hw/block/fdc: Prevent end-of-track overrun (CVE-2021-3507) Per the 82078 datasheet, if the end-of-track (EOT byte in the FIFO) is more than the number of sectors per side, the command is terminated unsuccessfully: * 5.2.5 DATA TRANSFER TERMINATION The 82078 supports terminal count explicitly through the TC pin a...
0
static void floppy_drive_realize(DeviceState *qdev, Error **errp) { FloppyDrive *dev = FLOPPY_DRIVE(qdev); FloppyBus *bus = FLOPPY_BUS(qdev->parent_bus); FDrive *drive; bool read_only; int ret; if (dev->unit == -1) { for (dev->unit = 0; dev->unit < MAX_FD; dev->unit++) { dri...
262,208,986,616,244,000,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2021-3507
A heap buffer overflow was found in the floppy disk emulator of QEMU up to 6.0.0 (including). It could occur in fdctrl_transfer_handler() in hw/block/fdc.c while processing DMA read data transfers from the floppy drive to the guest system. A privileged guest user could use this flaw to crash the QEMU process on the hos...
https://nvd.nist.gov/vuln/detail/CVE-2021-3507
507,345
qemu
defac5e2fbddf8423a354ff0454283a2115e1367
https://github.com/bonzini/qemu
https://gitlab.com/qemu-project/qemu/-/commit/defac5e2fbddf8423a354ff0454283a2115e1367
hw/block/fdc: Prevent end-of-track overrun (CVE-2021-3507) Per the 82078 datasheet, if the end-of-track (EOT byte in the FIFO) is more than the number of sectors per side, the command is terminated unsuccessfully: * 5.2.5 DATA TRANSFER TERMINATION The 82078 supports terminal count explicitly through the TC pin a...
0
static void fdctrl_handle_dumpreg(FDCtrl *fdctrl, int direction) { FDrive *cur_drv = get_cur_drv(fdctrl); /* Drives position */ fdctrl->fifo[0] = drv0(fdctrl)->track; fdctrl->fifo[1] = drv1(fdctrl)->track; #if MAX_FD == 4 fdctrl->fifo[2] = drv2(fdctrl)->track; fdctrl->fifo[3] = drv3(fdctrl)->tr...
9,045,681,222,686,279,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2021-3507
A heap buffer overflow was found in the floppy disk emulator of QEMU up to 6.0.0 (including). It could occur in fdctrl_transfer_handler() in hw/block/fdc.c while processing DMA read data transfers from the floppy drive to the guest system. A privileged guest user could use this flaw to crash the QEMU process on the hos...
https://nvd.nist.gov/vuln/detail/CVE-2021-3507
507,346
qemu
defac5e2fbddf8423a354ff0454283a2115e1367
https://github.com/bonzini/qemu
https://gitlab.com/qemu-project/qemu/-/commit/defac5e2fbddf8423a354ff0454283a2115e1367
hw/block/fdc: Prevent end-of-track overrun (CVE-2021-3507) Per the 82078 datasheet, if the end-of-track (EOT byte in the FIFO) is more than the number of sectors per side, the command is terminated unsuccessfully: * 5.2.5 DATA TRANSFER TERMINATION The 82078 supports terminal count explicitly through the TC pin a...
0
static void fdctrl_handle_seek(FDCtrl *fdctrl, int direction) { FDrive *cur_drv; SET_CUR_DRV(fdctrl, fdctrl->fifo[1] & FD_DOR_SELMASK); cur_drv = get_cur_drv(fdctrl); fdctrl_to_command_phase(fdctrl); /* The seek command just sends step pulses to the drive and doesn't care if * there is a mediu...
76,438,903,776,351,800,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2021-3507
A heap buffer overflow was found in the floppy disk emulator of QEMU up to 6.0.0 (including). It could occur in fdctrl_transfer_handler() in hw/block/fdc.c while processing DMA read data transfers from the floppy drive to the guest system. A privileged guest user could use this flaw to crash the QEMU process on the hos...
https://nvd.nist.gov/vuln/detail/CVE-2021-3507
507,347
qemu
defac5e2fbddf8423a354ff0454283a2115e1367
https://github.com/bonzini/qemu
https://gitlab.com/qemu-project/qemu/-/commit/defac5e2fbddf8423a354ff0454283a2115e1367
hw/block/fdc: Prevent end-of-track overrun (CVE-2021-3507) Per the 82078 datasheet, if the end-of-track (EOT byte in the FIFO) is more than the number of sectors per side, the command is terminated unsuccessfully: * 5.2.5 DATA TRANSFER TERMINATION The 82078 supports terminal count explicitly through the TC pin a...
0
static void fdctrl_handle_partid(FDCtrl *fdctrl, int direction) { fdctrl->fifo[0] = 0x41; /* Stepping 1 */ fdctrl_to_result_phase(fdctrl, 1); }
130,225,534,361,658,000,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2021-3507
A heap buffer overflow was found in the floppy disk emulator of QEMU up to 6.0.0 (including). It could occur in fdctrl_transfer_handler() in hw/block/fdc.c while processing DMA read data transfers from the floppy drive to the guest system. A privileged guest user could use this flaw to crash the QEMU process on the hos...
https://nvd.nist.gov/vuln/detail/CVE-2021-3507
507,348
qemu
defac5e2fbddf8423a354ff0454283a2115e1367
https://github.com/bonzini/qemu
https://gitlab.com/qemu-project/qemu/-/commit/defac5e2fbddf8423a354ff0454283a2115e1367
hw/block/fdc: Prevent end-of-track overrun (CVE-2021-3507) Per the 82078 datasheet, if the end-of-track (EOT byte in the FIFO) is more than the number of sectors per side, the command is terminated unsuccessfully: * 5.2.5 DATA TRANSFER TERMINATION The 82078 supports terminal count explicitly through the TC pin a...
0
static int reconstruct_phase(FDCtrl *fdctrl) { if (fdctrl->msr & FD_MSR_NONDMA) { return FD_PHASE_EXECUTION; } else if ((fdctrl->msr & FD_MSR_RQM) == 0) { /* qemu 2.3 disabled RQM only during DMA transfers */ return FD_PHASE_EXECUTION; } else if (fdctrl->msr & FD_MSR_DIO) { r...
84,104,278,853,535,580,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2021-3507
A heap buffer overflow was found in the floppy disk emulator of QEMU up to 6.0.0 (including). It could occur in fdctrl_transfer_handler() in hw/block/fdc.c while processing DMA read data transfers from the floppy drive to the guest system. A privileged guest user could use this flaw to crash the QEMU process on the hos...
https://nvd.nist.gov/vuln/detail/CVE-2021-3507
507,349
qemu
defac5e2fbddf8423a354ff0454283a2115e1367
https://github.com/bonzini/qemu
https://gitlab.com/qemu-project/qemu/-/commit/defac5e2fbddf8423a354ff0454283a2115e1367
hw/block/fdc: Prevent end-of-track overrun (CVE-2021-3507) Per the 82078 datasheet, if the end-of-track (EOT byte in the FIFO) is more than the number of sectors per side, the command is terminated unsuccessfully: * 5.2.5 DATA TRANSFER TERMINATION The 82078 supports terminal count explicitly through the TC pin a...
0
static void fdctrl_to_result_phase(FDCtrl *fdctrl, int fifo_len) { fdctrl->phase = FD_PHASE_RESULT; fdctrl->data_dir = FD_DIR_READ; fdctrl->data_len = fifo_len; fdctrl->data_pos = 0; fdctrl->msr |= FD_MSR_CMDBUSY | FD_MSR_RQM | FD_MSR_DIO; }
118,378,276,506,487,330,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2021-3507
A heap buffer overflow was found in the floppy disk emulator of QEMU up to 6.0.0 (including). It could occur in fdctrl_transfer_handler() in hw/block/fdc.c while processing DMA read data transfers from the floppy drive to the guest system. A privileged guest user could use this flaw to crash the QEMU process on the hos...
https://nvd.nist.gov/vuln/detail/CVE-2021-3507
507,350
qemu
defac5e2fbddf8423a354ff0454283a2115e1367
https://github.com/bonzini/qemu
https://gitlab.com/qemu-project/qemu/-/commit/defac5e2fbddf8423a354ff0454283a2115e1367
hw/block/fdc: Prevent end-of-track overrun (CVE-2021-3507) Per the 82078 datasheet, if the end-of-track (EOT byte in the FIFO) is more than the number of sectors per side, the command is terminated unsuccessfully: * 5.2.5 DATA TRANSFER TERMINATION The 82078 supports terminal count explicitly through the TC pin a...
0
static void fdctrl_handle_recalibrate(FDCtrl *fdctrl, int direction) { FDrive *cur_drv; SET_CUR_DRV(fdctrl, fdctrl->fifo[1] & FD_DOR_SELMASK); cur_drv = get_cur_drv(fdctrl); fd_recalibrate(cur_drv); fdctrl_to_command_phase(fdctrl); /* Raise Interrupt */ fdctrl->status0 |= FD_SR0_SEEK; f...
101,767,582,859,253,750,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2021-3507
A heap buffer overflow was found in the floppy disk emulator of QEMU up to 6.0.0 (including). It could occur in fdctrl_transfer_handler() in hw/block/fdc.c while processing DMA read data transfers from the floppy drive to the guest system. A privileged guest user could use this flaw to crash the QEMU process on the hos...
https://nvd.nist.gov/vuln/detail/CVE-2021-3507
507,351
qemu
defac5e2fbddf8423a354ff0454283a2115e1367
https://github.com/bonzini/qemu
https://gitlab.com/qemu-project/qemu/-/commit/defac5e2fbddf8423a354ff0454283a2115e1367
hw/block/fdc: Prevent end-of-track overrun (CVE-2021-3507) Per the 82078 datasheet, if the end-of-track (EOT byte in the FIFO) is more than the number of sectors per side, the command is terminated unsuccessfully: * 5.2.5 DATA TRANSFER TERMINATION The 82078 supports terminal count explicitly through the TC pin a...
0
static void fdctrl_handle_powerdown_mode(FDCtrl *fdctrl, int direction) { fdctrl->pwrd = fdctrl->fifo[1]; fdctrl->fifo[0] = fdctrl->fifo[1]; fdctrl_to_result_phase(fdctrl, 1); }
218,760,253,434,239,170,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2021-3507
A heap buffer overflow was found in the floppy disk emulator of QEMU up to 6.0.0 (including). It could occur in fdctrl_transfer_handler() in hw/block/fdc.c while processing DMA read data transfers from the floppy drive to the guest system. A privileged guest user could use this flaw to crash the QEMU process on the hos...
https://nvd.nist.gov/vuln/detail/CVE-2021-3507
507,352
qemu
defac5e2fbddf8423a354ff0454283a2115e1367
https://github.com/bonzini/qemu
https://gitlab.com/qemu-project/qemu/-/commit/defac5e2fbddf8423a354ff0454283a2115e1367
hw/block/fdc: Prevent end-of-track overrun (CVE-2021-3507) Per the 82078 datasheet, if the end-of-track (EOT byte in the FIFO) is more than the number of sectors per side, the command is terminated unsuccessfully: * 5.2.5 DATA TRANSFER TERMINATION The 82078 supports terminal count explicitly through the TC pin a...
0
static void fdctrl_handle_sense_interrupt_status(FDCtrl *fdctrl, int direction) { FDrive *cur_drv = get_cur_drv(fdctrl); if (fdctrl->reset_sensei > 0) { fdctrl->fifo[0] = FD_SR0_RDYCHG + FD_RESET_SENSEI_COUNT - fdctrl->reset_sensei; fdctrl->reset_sensei--; } else if (!(fdctrl->s...
324,409,308,458,207,920,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2021-3507
A heap buffer overflow was found in the floppy disk emulator of QEMU up to 6.0.0 (including). It could occur in fdctrl_transfer_handler() in hw/block/fdc.c while processing DMA read data transfers from the floppy drive to the guest system. A privileged guest user could use this flaw to crash the QEMU process on the hos...
https://nvd.nist.gov/vuln/detail/CVE-2021-3507
507,353
qemu
defac5e2fbddf8423a354ff0454283a2115e1367
https://github.com/bonzini/qemu
https://gitlab.com/qemu-project/qemu/-/commit/defac5e2fbddf8423a354ff0454283a2115e1367
hw/block/fdc: Prevent end-of-track overrun (CVE-2021-3507) Per the 82078 datasheet, if the end-of-track (EOT byte in the FIFO) is more than the number of sectors per side, the command is terminated unsuccessfully: * 5.2.5 DATA TRANSFER TERMINATION The 82078 supports terminal count explicitly through the TC pin a...
0
static const FDCtrlCommand *get_command(uint8_t cmd) { int idx; idx = command_to_handler[cmd]; FLOPPY_DPRINTF("%s command\n", handlers[idx].name); return &handlers[idx]; }
65,163,930,148,427,880,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2021-3507
A heap buffer overflow was found in the floppy disk emulator of QEMU up to 6.0.0 (including). It could occur in fdctrl_transfer_handler() in hw/block/fdc.c while processing DMA read data transfers from the floppy drive to the guest system. A privileged guest user could use this flaw to crash the QEMU process on the hos...
https://nvd.nist.gov/vuln/detail/CVE-2021-3507
507,354
qemu
defac5e2fbddf8423a354ff0454283a2115e1367
https://github.com/bonzini/qemu
https://gitlab.com/qemu-project/qemu/-/commit/defac5e2fbddf8423a354ff0454283a2115e1367
hw/block/fdc: Prevent end-of-track overrun (CVE-2021-3507) Per the 82078 datasheet, if the end-of-track (EOT byte in the FIFO) is more than the number of sectors per side, the command is terminated unsuccessfully: * 5.2.5 DATA TRANSFER TERMINATION The 82078 supports terminal count explicitly through the TC pin a...
0
static int fd_offset(FDrive *drv) { g_assert(fd_sector(drv) < INT_MAX >> BDRV_SECTOR_BITS); return fd_sector(drv) << BDRV_SECTOR_BITS; }
89,052,746,655,137,060,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2021-3507
A heap buffer overflow was found in the floppy disk emulator of QEMU up to 6.0.0 (including). It could occur in fdctrl_transfer_handler() in hw/block/fdc.c while processing DMA read data transfers from the floppy drive to the guest system. A privileged guest user could use this flaw to crash the QEMU process on the hos...
https://nvd.nist.gov/vuln/detail/CVE-2021-3507
507,355
qemu
defac5e2fbddf8423a354ff0454283a2115e1367
https://github.com/bonzini/qemu
https://gitlab.com/qemu-project/qemu/-/commit/defac5e2fbddf8423a354ff0454283a2115e1367
hw/block/fdc: Prevent end-of-track overrun (CVE-2021-3507) Per the 82078 datasheet, if the end-of-track (EOT byte in the FIFO) is more than the number of sectors per side, the command is terminated unsuccessfully: * 5.2.5 DATA TRANSFER TERMINATION The 82078 supports terminal count explicitly through the TC pin a...
0
static void fdctrl_handle_specify(FDCtrl *fdctrl, int direction) { fdctrl->timer0 = (fdctrl->fifo[1] >> 4) & 0xF; fdctrl->timer1 = fdctrl->fifo[2] >> 1; if (fdctrl->fifo[2] & 1) fdctrl->dor &= ~FD_DOR_DMAEN; else fdctrl->dor |= FD_DOR_DMAEN; /* No result back */ fdctrl_to_command...
202,615,142,961,973,370,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2021-3507
A heap buffer overflow was found in the floppy disk emulator of QEMU up to 6.0.0 (including). It could occur in fdctrl_transfer_handler() in hw/block/fdc.c while processing DMA read data transfers from the floppy drive to the guest system. A privileged guest user could use this flaw to crash the QEMU process on the hos...
https://nvd.nist.gov/vuln/detail/CVE-2021-3507