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,815
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static void skip_prefix(const unsigned char **p, size_t *plen, size_t subject_len, unsigned int flags) { const unsigned char *pattern = *p; size_t pattern_len = *plen; /* * If subject starts with a leading '.' followed by more octets, and * pattern ...
20,999,117,001,220,880,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,816
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
void X509V3_conf_free(CONF_VALUE *conf) { if (!conf) return; OPENSSL_free(conf->name); OPENSSL_free(conf->value); OPENSSL_free(conf->section); OPENSSL_free(conf); }
272,953,836,399,175,200,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,817
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int equal_nocase(const unsigned char *pattern, size_t pattern_len, const unsigned char *subject, size_t subject_len, unsigned int flags) { skip_prefix(&pattern, &pattern_len, subject_len, flags); if (pattern_len != subject_len) return 0; while (...
139,879,876,754,781,300,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,818
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static char *strip_spaces(char *name) { char *p, *q; /* Skip over leading spaces */ p = name; while (*p && ossl_isspace(*p)) p++; if (!*p) return NULL; q = p + strlen(p) - 1; while ((q != p) && ossl_isspace(*q)) q--; if (p != q) q[1] = 0; if (!*p) ...
172,933,754,081,854,600,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,819
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
int X509V3_add_value_uchar(const char *name, const unsigned char *value, STACK_OF(CONF_VALUE) **extlist) { return x509v3_add_len_value(name, (const char *)value, value != NULL ? strlen((const char *)value) : 0, extlist); }
14,912,381,991,962,516,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,820
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
int x509v3_add_len_value_uchar(const char *name, const unsigned char *value, size_t vallen, STACK_OF(CONF_VALUE) **extlist) { return x509v3_add_len_value(name, (const char *)value, vallen, extlist); }
58,313,473,082,838,975,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,821
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
int X509V3_get_value_int(const CONF_VALUE *value, ASN1_INTEGER **aint) { ASN1_INTEGER *itmp; if ((itmp = s2i_ASN1_INTEGER(NULL, value->value)) == NULL) { X509V3_conf_err(value); return 0; } *aint = itmp; return 1; }
282,172,495,559,049,180,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,822
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int do_x509_check(X509 *x, const char *chk, size_t chklen, unsigned int flags, int check_type, char **peername) { GENERAL_NAMES *gens = NULL; X509_NAME *name = NULL; int i; int cnid = NID_undef; int alt_type; int san_present = 0; int rv = 0; equal_fn equal...
322,753,425,816,927,000,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,823
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
int name_cmp(const char *name, const char *cmp) { int len, ret; char c; len = strlen(cmp); if ((ret = strncmp(name, cmp, len))) return ret; c = name[len]; if (!c || (c == '.')) return 0; return 1; }
49,627,224,669,139,390,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,824
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int equal_case(const unsigned char *pattern, size_t pattern_len, const unsigned char *subject, size_t subject_len, unsigned int flags) { skip_prefix(&pattern, &pattern_len, subject_len, flags); if (pattern_len != subject_len) return 0; return !memcm...
220,722,244,316,407,360,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,825
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static STACK_OF(OPENSSL_STRING) *get_email(X509_NAME *name, GENERAL_NAMES *gens) { STACK_OF(OPENSSL_STRING) *ret = NULL; X509_NAME_ENTRY *ne; const ASN1_IA5STRING *email; GENERAL_NAME *gen; int i = -1; /* Now add any email address(es) to STACK */ /...
141,956,012,999,455,120,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,826
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int x509v3_add_len_value(const char *name, const char *value, size_t vallen, STACK_OF(CONF_VALUE) **extlist) { CONF_VALUE *vtmp = NULL; char *tname = NULL, *tvalue = NULL; int sk_allocated = (*extlist == NULL); if (name != NULL && (tname = OPENSSL_strdup(name)) ==...
274,511,468,313,037,600,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,827
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int sk_strcmp(const char *const *a, const char *const *b) { return strcmp(*a, *b); }
170,165,090,423,450,720,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,828
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
char *i2s_ASN1_ENUMERATED(X509V3_EXT_METHOD *method, const ASN1_ENUMERATED *a) { BIGNUM *bntmp = NULL; char *strtmp = NULL; if (!a) return NULL; if ((bntmp = ASN1_ENUMERATED_to_BN(a, NULL)) == NULL || (strtmp = bignum_to_string(bntmp)) == NULL) X509V3err(X509V3_F_I2S_ASN1_ENUMER...
292,246,533,599,262,650,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,829
openssl
4de66925203ca99189c842136ec4a623137ea447
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/4de66925203ca99189c842136ec4a623137ea447
Fix test code to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int test_days(int n) { char d[16]; ASN1_TIME *a = NULL; struct tm t; int r; BIO_snprintf(d, sizeof(d), "%04d%02d%02d050505Z", day_of_week_tests[n].y, day_of_week_tests[n].m, day_of_week_tests[n].d); if (!TEST_ptr(a = ASN1_TIME_new())) return 0; ...
24,263,625,204,100,454,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,830
openssl
4de66925203ca99189c842136ec4a623137ea447
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/4de66925203ca99189c842136ec4a623137ea447
Fix test code to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int test_x509_cmp_time_current(void) { time_t now = time(NULL); /* Pick a day earlier and later, relative to any system clock. */ ASN1_TIME *asn1_before = NULL, *asn1_after = NULL; int cmp_result, failed = 0; asn1_before = ASN1_TIME_adj(NULL, now, -1, 0); asn1_after = ASN1_TIME_adj(NULL,...
328,909,105,888,343,500,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,831
openssl
4de66925203ca99189c842136ec4a623137ea447
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/4de66925203ca99189c842136ec4a623137ea447
Fix test code to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int test_x509_cmp_time(int idx) { ASN1_TIME t; int result; memset(&t, 0, sizeof(t)); t.type = x509_cmp_tests[idx].type; t.data = (unsigned char*)(x509_cmp_tests[idx].data); t.length = strlen(x509_cmp_tests[idx].data); t.flags = 0; result = X509_cmp_time(&t, &x509_cmp_tests[idx]....
31,659,555,436,542,584,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,832
openssl
4de66925203ca99189c842136ec4a623137ea447
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/4de66925203ca99189c842136ec4a623137ea447
Fix test code to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int test_x509_time(int idx) { ASN1_TIME *t = NULL; int result, rv = 0; if (x509_format_tests[idx].set_string) { /* set-string mode */ t = ASN1_TIME_new(); if (t == NULL) { TEST_info("test_x509_time(%d) failed: internal error\n", idx); return 0; ...
191,092,689,006,157,140,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,833
openssl
4de66925203ca99189c842136ec4a623137ea447
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/4de66925203ca99189c842136ec4a623137ea447
Fix test code to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
int setup_tests(void) { ADD_TEST(test_x509_cmp_time_current); ADD_ALL_TESTS(test_x509_cmp_time, OSSL_NELEM(x509_cmp_tests)); ADD_ALL_TESTS(test_x509_time, OSSL_NELEM(x509_format_tests)); ADD_ALL_TESTS(test_days, OSSL_NELEM(day_of_week_tests)); ADD_ALL_TESTS(test_x509_time_print, OSSL_NELEM(x509_prin...
34,427,191,166,937,356,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,834
openssl
4de66925203ca99189c842136ec4a623137ea447
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/4de66925203ca99189c842136ec4a623137ea447
Fix test code to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int test_x509_time_print(int idx) { BIO *m; int ret = 0, rv; char *pp; const char *readable; if (!TEST_ptr(m = BIO_new(BIO_s_mem()))) goto err; rv = ASN1_TIME_print(m, &x509_print_tests[idx].asn1); readable = x509_print_tests[idx].readable; if (rv == 0 && !TEST_str_eq(r...
218,045,356,593,220,820,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,852
openssl
23446958685a593d4d9434475734b99138902ed2
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/23446958685a593d4d9434475734b99138902ed2
Fix printing of PROXY_CERT_INFO_EXTENSION to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int process_pci_value(CONF_VALUE *val, ASN1_OBJECT **language, ASN1_INTEGER **pathlen, ASN1_OCTET_STRING **policy) { int free_policy = 0; if (strcmp(val->name, "language") == 0) { if (*language) { X509V3err(X509V3_F_PROCESS_PC...
118,374,041,181,068,180,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,853
openssl
23446958685a593d4d9434475734b99138902ed2
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/23446958685a593d4d9434475734b99138902ed2
Fix printing of PROXY_CERT_INFO_EXTENSION to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int i2r_pci(X509V3_EXT_METHOD *method, PROXY_CERT_INFO_EXTENSION *pci, BIO *out, int indent) { BIO_printf(out, "%*sPath Length Constraint: ", indent, ""); if (pci->pcPathLengthConstraint) i2a_ASN1_INTEGER(out, pci->pcPathLengthConstraint); else BIO_printf(out, "infi...
291,842,418,864,040,780,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,854
openssl
23446958685a593d4d9434475734b99138902ed2
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/23446958685a593d4d9434475734b99138902ed2
Fix printing of PROXY_CERT_INFO_EXTENSION to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static PROXY_CERT_INFO_EXTENSION *r2i_pci(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, char *value) { PROXY_CERT_INFO_EXTENSION *pci = NULL; STACK_OF(CONF_VALUE) *vals; ASN1_OBJECT *language = NULL; ASN1_INTEGER *pathlen = NULL; ASN1_OCTET_STRING *policy = NU...
84,346,940,991,958,510,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,865
openssl
d9d838ddc0ed083fb4c26dd067e71aad7c65ad16
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/d9d838ddc0ed083fb4c26dd067e71aad7c65ad16
Fix a read buffer overrun in X509_aux_print(). The ASN1_STRING_get0_data(3) manual explitely cautions the reader that the data is not necessarily NUL-terminated, and the function X509_alias_set1(3) does not sanitize the data passed into it in any way either, so we must assume the return value from X509_alias_get0(3) i...
0
int X509_print(BIO *bp, X509 *x) { return X509_print_ex(bp, x, XN_FLAG_COMPAT, X509_FLAG_COMPAT); }
241,966,840,513,695,360,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,866
openssl
d9d838ddc0ed083fb4c26dd067e71aad7c65ad16
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/d9d838ddc0ed083fb4c26dd067e71aad7c65ad16
Fix a read buffer overrun in X509_aux_print(). The ASN1_STRING_get0_data(3) manual explitely cautions the reader that the data is not necessarily NUL-terminated, and the function X509_alias_set1(3) does not sanitize the data passed into it in any way either, so we must assume the return value from X509_alias_get0(3) i...
0
int X509_signature_dump(BIO *bp, const ASN1_STRING *sig, int indent) { const unsigned char *s; int i, n; n = sig->length; s = sig->data; for (i = 0; i < n; i++) { if ((i % 18) == 0) { if (BIO_write(bp, "\n", 1) <= 0) return 0; if (BIO_indent(bp, inden...
21,393,470,531,276,334,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,867
openssl
d9d838ddc0ed083fb4c26dd067e71aad7c65ad16
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/d9d838ddc0ed083fb4c26dd067e71aad7c65ad16
Fix a read buffer overrun in X509_aux_print(). The ASN1_STRING_get0_data(3) manual explitely cautions the reader that the data is not necessarily NUL-terminated, and the function X509_alias_set1(3) does not sanitize the data passed into it in any way either, so we must assume the return value from X509_alias_get0(3) i...
0
int X509_signature_print(BIO *bp, const X509_ALGOR *sigalg, const ASN1_STRING *sig) { int sig_nid; if (BIO_puts(bp, " Signature Algorithm: ") <= 0) return 0; if (i2a_ASN1_OBJECT(bp, sigalg->algorithm) <= 0) return 0; sig_nid = OBJ_obj2nid(sigalg->algorithm); ...
90,438,331,041,794,500,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,868
openssl
d9d838ddc0ed083fb4c26dd067e71aad7c65ad16
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/d9d838ddc0ed083fb4c26dd067e71aad7c65ad16
Fix a read buffer overrun in X509_aux_print(). The ASN1_STRING_get0_data(3) manual explitely cautions the reader that the data is not necessarily NUL-terminated, and the function X509_alias_set1(3) does not sanitize the data passed into it in any way either, so we must assume the return value from X509_alias_get0(3) i...
0
int X509_aux_print(BIO *out, X509 *x, int indent) { char oidstr[80], first; STACK_OF(ASN1_OBJECT) *trust, *reject; const unsigned char *alias, *keyid; int keyidlen; int i; if (X509_trusted(x) == 0) return 1; trust = X509_get0_trust_objects(x); reject = X509_get0_reject_objects(x)...
259,335,861,165,031,600,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,869
openssl
d9d838ddc0ed083fb4c26dd067e71aad7c65ad16
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/d9d838ddc0ed083fb4c26dd067e71aad7c65ad16
Fix a read buffer overrun in X509_aux_print(). The ASN1_STRING_get0_data(3) manual explitely cautions the reader that the data is not necessarily NUL-terminated, and the function X509_alias_set1(3) does not sanitize the data passed into it in any way either, so we must assume the return value from X509_alias_get0(3) i...
0
int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags, unsigned long cflag) { long l; int ret = 0, i; char *m = NULL, mlch = ' '; int nmindent = 0; ASN1_INTEGER *bs; EVP_PKEY *pkey = NULL; const char *neg; if ((nmflags & XN_FLAG_SEP_MASK) == XN_FLAG_SEP_MULTILINE) ...
114,599,415,398,184,370,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,870
openssl
d9d838ddc0ed083fb4c26dd067e71aad7c65ad16
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/d9d838ddc0ed083fb4c26dd067e71aad7c65ad16
Fix a read buffer overrun in X509_aux_print(). The ASN1_STRING_get0_data(3) manual explitely cautions the reader that the data is not necessarily NUL-terminated, and the function X509_alias_set1(3) does not sanitize the data passed into it in any way either, so we must assume the return value from X509_alias_get0(3) i...
0
int X509_print_ex_fp(FILE *fp, X509 *x, unsigned long nmflag, unsigned long cflag) { BIO *b; int ret; if ((b = BIO_new(BIO_s_file())) == NULL) { X509err(X509_F_X509_PRINT_EX_FP, ERR_R_BUF_LIB); return 0; } BIO_set_fp(b, fp, BIO_NOCLOSE); ret = X509_print_ex(...
256,756,565,152,285,530,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,871
openssl
d9d838ddc0ed083fb4c26dd067e71aad7c65ad16
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/d9d838ddc0ed083fb4c26dd067e71aad7c65ad16
Fix a read buffer overrun in X509_aux_print(). The ASN1_STRING_get0_data(3) manual explitely cautions the reader that the data is not necessarily NUL-terminated, and the function X509_alias_set1(3) does not sanitize the data passed into it in any way either, so we must assume the return value from X509_alias_get0(3) i...
0
int X509_ocspid_print(BIO *bp, X509 *x) { unsigned char *der = NULL; unsigned char *dertmp; int derlen; int i; unsigned char SHA1md[SHA_DIGEST_LENGTH]; ASN1_BIT_STRING *keybstr; X509_NAME *subj; /* * display the hash of the subject as it would appear in OCSP requests */ if...
324,904,613,104,834,900,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,872
openssl
d9d838ddc0ed083fb4c26dd067e71aad7c65ad16
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/d9d838ddc0ed083fb4c26dd067e71aad7c65ad16
Fix a read buffer overrun in X509_aux_print(). The ASN1_STRING_get0_data(3) manual explitely cautions the reader that the data is not necessarily NUL-terminated, and the function X509_alias_set1(3) does not sanitize the data passed into it in any way either, so we must assume the return value from X509_alias_get0(3) i...
0
int X509_print_fp(FILE *fp, X509 *x) { return X509_print_ex_fp(fp, x, XN_FLAG_COMPAT, X509_FLAG_COMPAT); }
183,281,475,231,162,160,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,873
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
read_cc_bcc (compose_env_t *env) { if (mailvar_is_true (mailvar_name_askcc)) compose_header_set (env, MU_HEADER_CC, ml_readline_with_intr ("Cc: "), COMPOSE_REPLACE); if (mailvar_is_true (mailvar_name_askbcc)) compose_header_set (env, MU_HEADER_BCC, ml_readline_with_intr ("Bcc: "), COMPOSE_REPLACE); }
19,556,229,810,224,534,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,874
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
parse_headers (mu_stream_t input, compose_env_t *env) { int status; mu_header_t header; char *name = NULL; char *value = NULL; enum { STATE_INIT, STATE_READ, STATE_BODY } state = STATE_INIT; char *buf = NULL; size_t size = 0, n; int errcnt = 0, line = 0; if ((status = mu_header_create (&header, NUL...
52,084,132,185,027,390,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,875
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
mail_send (int argc, char **argv) { compose_env_t env; int status; int save_to = mu_isupper (argv[0][0]); compose_init (&env); if (argc < 2) { if (interactive) compose_header_set (&env, MU_HEADER_TO, ml_readline_with_intr ("To: "), COMPOSE_REPLACE); else if (mailvar_is_true (mailvar_...
246,532,972,873,625,350,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,876
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
msg_to_pipe (const char *cmd, mu_message_t msg) { mu_stream_t progstream, msgstream; int status, rc; char *argv[4]; argv[0] = getenv ("SHELL"); if (!argv[0]) argv[0] = "/bin/sh"; argv[1] = "-c"; argv[2] = (char*) cmd; argv[3] = NULL; status = mu_prog_stream_create (&progstream, argv[0], ...
41,312,599,634,509,433,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,877
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
compose_header_get (compose_env_t *env, char *name, char *defval) { char const *p; if (mu_header_sget_value (env->header, name, &p)) p = defval; return p; }
98,359,909,427,924,330,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,878
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
seed_headers (void *item, void *data) { struct add_header *hp = item; compose_env_t *env = data; compose_header_set (env, hp->name, hp->value, hp->mode); return 0; }
30,350,792,035,277,824,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,879
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
list_headers (void *item, void *data) { struct add_header *hp = item; char *name = data; if (!name || strcmp (name, hp->name) == 0) { mu_printf ("%s: %s\n", hp->name, hp->value); } return 0; }
326,613,544,708,693,400,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,880
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
attach_set_content_type (struct atchinfo *aptr, char const *content_type) { char *charset; if (!content_type) content_type = "text/plain"; if (strncmp (content_type, "text/", 5) == 0 && !strstr (content_type, "charset=") && (charset = util_get_charset ())) { mu_asprintf (&aptr->content_...
231,150,738,093,263,200,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,881
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
fill_body (mu_message_t msg, mu_stream_t instr) { int rc; mu_body_t body = NULL; mu_stream_t stream = NULL; mu_off_t n; rc = mu_message_get_body (msg, &body); if (rc) { mu_error (_("cannot get message body: %s"), mu_strerror (rc)); return 1; } rc = mu_body_get_streamref (body, &stre...
190,348,579,144,701,900,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,882
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
attlist_attach_file (mu_list_t *attlist_ptr, int fd, const char *realname, const char *content_filename, const char *content_name, const char *content_type, const char *encoding) { int rc; struct stat st; mu_list_t list; mu_stream_t stream = NULL; char *id = NULL; mu_list_t attli...
55,676,975,462,551,940,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,883
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
save_dead_message_env (compose_env_t *env) { if (mailvar_is_true (mailvar_name_save)) { mu_stream_t dead_letter, str; int rc; time_t t; struct tm *tm; const char *name = getenv ("DEAD"); char *sender; /* FIXME: Use MU_STREAM_APPEND if appenddeadletter, instead of t...
45,806,136,461,349,105,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,884
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
add_body (mu_message_t inmsg, compose_env_t *env) { int rc; mu_body_t body; mu_stream_t str; struct atchinfo *aptr; mu_message_get_body (inmsg, &body); mu_body_get_streamref (body, &str); aptr = mu_alloc (sizeof (*aptr)); mu_asprintf (&aptr->id, "(body)"); aptr->encoding = default_encoding ? mu_st...
264,943,645,613,775,570,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,885
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
saveatt (void *item, void *data) { struct atchinfo *aptr = item; compose_env_t *env = data; mu_message_t part; int rc; rc = mu_attachment_create (&part, aptr->content_type, aptr->encoding, aptr->name, aptr->filename); if (rc) { mu_error (_("can't create attachment %s: %s"), ap...
50,773,003,503,020,200,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,886
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
save_dead_message (mu_message_t msg) { if (mailvar_is_true (mailvar_name_save)) { mu_stream_t dead_letter, str; int rc; time_t t; struct tm *tm; const char *name = getenv ("DEAD"); char *sender; /* FIXME: Use MU_STREAM_APPEND if appenddeadletter, instead of the s...
264,081,584,566,429,660,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,887
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
save_attachment (struct atchinfo *aptr, compose_env_t *env, mu_message_t part) { mu_header_t hdr; int rc; size_t nparts; char *p; rc = mu_attachment_copy_from_stream (part, aptr->source); if (rc) { mu_error (_("cannot attach %s: %s"), aptr->id, mu_strerror (rc)); return 1; } if (ap...
56,958,682,707,107,840,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,888
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
report_multipart_type (compose_env_t *env) { mu_printf ("multipart/%s\n", env->alt ? "alternative" : "mixed"); }
154,873,103,912,954,230,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,889
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
compose_header_set (compose_env_t *env, const char *name, const char *value, int mode) { int status; char *expansion = NULL; if (!value || value[0] == 0) return EINVAL; if (is_address_field (name) && mailvar_is_true (mailvar_name_inplacealiases)) { struct mu_address hint = MU_ADD...
23,177,042,476,606,690,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,890
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
isfilename (const char *p) { if (p) if (*p == '/' || *p == '.' || *p == '|') return 1; return 0; }
141,908,822,520,231,490,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,891
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
attlist_new (void) { mu_list_t lst; int rc = mu_list_create (&lst); if (rc) { mu_diag_funcall (MU_DIAG_ERROR, "mu_list_create", NULL, rc); exit (1); } mu_list_set_destroy_item (lst, atchinfo_free); return lst; }
230,092,777,497,264,050,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,892
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
compose_destroy (compose_env_t *env) { mu_header_destroy (&env->header); free (env->outfiles); mu_mime_destroy (&env->mime); mu_list_destroy (&env->attlist); mu_stream_destroy (&env->compstr); }
233,547,617,212,593,800,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,893
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
add_header (char *name, char *value, int mode) { struct add_header *hp; if (!add_header_list) { int rc = mu_list_create (&add_header_list); if (rc) { mu_error (_("Cannot create header list: %s"), mu_strerror (rc)); exit (1); } } hp = mu_alloc (sizeof (*hp)); hp->mode = mode; hp...
282,628,033,025,188,530,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,894
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
attlist_copy (mu_list_t src) { mu_list_t dst; if (!src) return NULL; dst = attlist_new (); mu_list_foreach (src, attlist_helper, dst); return dst; }
117,138,217,796,677,780,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,895
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
attlist_helper (void *item, void *data) { struct atchinfo *aptr = item; mu_list_t list = data; attlist_add (list, aptr->id, aptr->encoding, aptr->content_type, aptr->name, aptr->filename, aptr->source, aptr->skip_empty, aptr->disp_inline); return 0; }
14,289,426,926,800,976,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,896
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
send_message (mu_message_t msg) { char *mailer_url = NULL; char *sendmail; int status; if (mailvar_get (&sendmail, mailvar_name_sendmail, mailvar_type_string, 0) == 0) { if (mailvar_is_true (mailvar_name_mailx)) { /* * Mailx compatibility: assume sendmail:// scheme. */ if (!mu_i...
107,121,127,316,466,240,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,897
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
escape_attach (int argc, char **argv, compose_env_t *env) { const char *encoding = default_encoding; const char *content_type = default_content_type; switch (argc) { case 4: encoding = argv[3]; case 3: content_type = argv[2]; case 2: return attlist_attach_file (&env->attlist, ...
171,338,595,097,500,550,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,898
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
add_attachments (compose_env_t *env, mu_message_t *pmsg) { mu_message_t inmsg, outmsg; mu_header_t inhdr, outhdr; mu_iterator_t itr; int rc; inmsg = *pmsg; if (mailvar_is_true (mailvar_name_mime) && add_body (inmsg, env)) return 1; if (mu_list_is_empty (env->attlist)) return 0; /* Crea...
177,409,014,014,605,100,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,899
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
compose_init (compose_env_t *env) { memset (env, 0, sizeof (*env)); env->alt = multipart_alternative; env->attlist = attlist_copy (attachment_list); mu_list_foreach (add_header_list, seed_headers, env); }
273,192,344,088,929,200,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,900
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
attlist_add (mu_list_t attlist, char *id, char const *encoding, char const *content_type, char const *content_name, char const *content_filename, mu_stream_t stream, int skip_empty, int disp_inline) { struct atchinfo *aptr; int rc; aptr = mu_alloc (sizeof (*aptr)); aptr->id = id ? mu_strdu...
177,652,045,413,350,100,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,901
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
mail_compose_send (compose_env_t *env, int save_to) { int done = 0; int rc; char *savefile = NULL; int int_cnt; char *escape; /* Prepare environment */ rc = mu_temp_stream_create (&env->compstr, 0); if (rc) { mu_error (_("Cannot open temporary file: %s"), mu_strerror (rc)); return 1; ...
101,476,111,919,582,000,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,902
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
send_append_header (char const *text) { char *p; size_t len; char *name; p = strchr (text, ':'); if (!p) { mu_error (_("Invalid header: %s"), text); return; } len = p - text; name = mu_alloc (len + 1); memcpy (name, text, len); name[len] = 0; for (p++; *p && mu_isspace (*p); p++...
134,691,094,372,937,340,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,903
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
atchinfo_free (void *p) { struct atchinfo *ap = p; free (ap->id); free (ap->encoding); free (ap->content_type); free (ap->name); free (ap->filename); mu_stream_destroy (&ap->source); free (ap); }
314,146,196,747,462,980,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,904
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
escape_toggle_multipart_type (int argc, char **argv, compose_env_t *env) { env->alt = !env->alt; report_multipart_type (env); return 0; }
320,139,846,961,806,750,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,905
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
message_add_date (mu_message_t msg) { mu_header_t hdr; char buf[MU_DATETIME_RFC822_LENGTH+1]; struct tm ltm; time_t t; int rc; rc = mu_message_get_header (msg, &hdr); if (rc) { mu_diag_funcall (MU_DIAG_ERROR, "mu_message_get_header", NULL, rc); return; } t = time (NULL); localt...
83,172,490,815,436,970,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,906
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
send_append_header2 (char const *name, char const *value, int mode) { add_header (mu_strdup (name), mu_strdup (value), mode); }
305,175,839,709,602,300,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,907
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
escape_list_attachments (int argc, char **argv, compose_env_t *env) { mu_iterator_t itr; int i; report_multipart_type (env); if (mu_list_is_empty (env->attlist) || mu_list_get_iterator (env->attlist, &itr)) { mu_printf ("%s\n", _("No attachments")); return 0; } for (mu_iterato...
268,690,576,661,096,100,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,908
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
escape_remove_attachment (int argc, char **argv, compose_env_t *env) { size_t count; unsigned long n; char *p; if (escape_check_args (argc, argv, 2, 2)) return 1; n = strtoul (argv[1], &p, 10); if (*p) { mu_error (_("not a valid number: %s"), argv[1]); return 1; } mu_list_cou...
152,151,058,041,355,980,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,909
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
send_attach_file (int fd, const char *realname, const char *content_filename, const char *content_name, const char *content_type, const char *encoding) { return attlist_attach_file (&attachment_list, fd, realname, content_filename, content_name, content_type, ...
166,645,156,646,496,040,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
507,910
mailutils
4befcfd015256c568121653038accbd84820198f
http://git.savannah.gnu.org/cgit/mailutils
http://git.savannah.gnu.org/cgit/mailutils.git/commit/?h=release-3.13&id=4befcfd015256c568121653038accbd84820198f
mail: disable compose escapes in non-interctive mode. * NEWS: Document changes. * doc/texinfo/programs/mail.texi: Document changes. * mail/send.c (mail_compose_send): Recognize escapes only in interactive mode.
0
mail_sendheader (int argc, char **argv) { if (argc == 1) mu_list_foreach (add_header_list, list_headers, NULL); else if (argc == 2) { if (strchr (argv[1], ':')) send_append_header (argv[1]); else mu_list_foreach (add_header_list, list_headers, argv[1]); } else { size_t len = st...
129,604,757,565,718,360,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
508,065
qemu
9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895
https://github.com/bonzini/qemu
https://github.com/bonzini/qemu/commit/9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895
display/qxl-render: fix race condition in qxl_cursor (CVE-2021-4207) Avoid fetching 'width' and 'height' a second time to prevent possible race condition. Refer to security advisory https://starlabs.sg/advisories/22-4207/ for more information. Fixes: CVE-2021-4207 Signed-off-by: Mauro Matteo Cascella <mcascell@redhat...
0
static void qxl_blit(PCIQXLDevice *qxl, QXLRect *rect) { DisplaySurface *surface = qemu_console_surface(qxl->vga.con); uint8_t *dst = surface_data(surface); uint8_t *src; int len, i; if (is_buffer_shared(surface)) { return; } trace_qxl_render_blit(qxl->guest_primary.qxl_stride, ...
44,527,582,160,603,770,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
508,066
qemu
9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895
https://github.com/bonzini/qemu
https://github.com/bonzini/qemu/commit/9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895
display/qxl-render: fix race condition in qxl_cursor (CVE-2021-4207) Avoid fetching 'width' and 'height' a second time to prevent possible race condition. Refer to security advisory https://starlabs.sg/advisories/22-4207/ for more information. Fixes: CVE-2021-4207 Signed-off-by: Mauro Matteo Cascella <mcascell@redhat...
0
static void qxl_set_rect_to_surface(PCIQXLDevice *qxl, QXLRect *area) { area->left = 0; area->right = qxl->guest_primary.surface.width; area->top = 0; area->bottom = qxl->guest_primary.surface.height; }
67,910,539,817,883,260,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
508,067
qemu
9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895
https://github.com/bonzini/qemu
https://github.com/bonzini/qemu/commit/9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895
display/qxl-render: fix race condition in qxl_cursor (CVE-2021-4207) Avoid fetching 'width' and 'height' a second time to prevent possible race condition. Refer to security advisory https://starlabs.sg/advisories/22-4207/ for more information. Fixes: CVE-2021-4207 Signed-off-by: Mauro Matteo Cascella <mcascell@redhat...
0
void qxl_render_resize(PCIQXLDevice *qxl) { QXLSurfaceCreate *sc = &qxl->guest_primary.surface; qxl->guest_primary.qxl_stride = sc->stride; qxl->guest_primary.abs_stride = abs(sc->stride); qxl->guest_primary.resized++; switch (sc->format) { case SPICE_SURFACE_FMT_16_555: qxl->guest_prim...
324,493,912,942,647,170,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
508,068
qemu
9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895
https://github.com/bonzini/qemu
https://github.com/bonzini/qemu/commit/9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895
display/qxl-render: fix race condition in qxl_cursor (CVE-2021-4207) Avoid fetching 'width' and 'height' a second time to prevent possible race condition. Refer to security advisory https://starlabs.sg/advisories/22-4207/ for more information. Fixes: CVE-2021-4207 Signed-off-by: Mauro Matteo Cascella <mcascell@redhat...
0
static void qxl_render_update_area_unlocked(PCIQXLDevice *qxl) { VGACommonState *vga = &qxl->vga; DisplaySurface *surface; int width = qxl->guest_head0_width ?: qxl->guest_primary.surface.width; int height = qxl->guest_head0_height ?: qxl->guest_primary.surface.height; int i; if (qxl->guest_pri...
308,114,359,028,788,000,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
508,069
qemu
9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895
https://github.com/bonzini/qemu
https://github.com/bonzini/qemu/commit/9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895
display/qxl-render: fix race condition in qxl_cursor (CVE-2021-4207) Avoid fetching 'width' and 'height' a second time to prevent possible race condition. Refer to security advisory https://starlabs.sg/advisories/22-4207/ for more information. Fixes: CVE-2021-4207 Signed-off-by: Mauro Matteo Cascella <mcascell@redhat...
0
void qxl_render_update_area_bh(void *opaque) { PCIQXLDevice *qxl = opaque; qemu_mutex_lock(&qxl->ssd.lock); qxl_render_update_area_unlocked(qxl); qemu_mutex_unlock(&qxl->ssd.lock); }
207,687,141,561,388,100,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
508,070
qemu
9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895
https://github.com/bonzini/qemu
https://github.com/bonzini/qemu/commit/9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895
display/qxl-render: fix race condition in qxl_cursor (CVE-2021-4207) Avoid fetching 'width' and 'height' a second time to prevent possible race condition. Refer to security advisory https://starlabs.sg/advisories/22-4207/ for more information. Fixes: CVE-2021-4207 Signed-off-by: Mauro Matteo Cascella <mcascell@redhat...
0
static void qxl_unpack_chunks(void *dest, size_t size, PCIQXLDevice *qxl, QXLDataChunk *chunk, uint32_t group_id) { uint32_t max_chunks = 32; size_t offset = 0; size_t bytes; for (;;) { bytes = MIN(size - offset, chunk->data_size); memcpy(dest + offset, chu...
227,969,611,203,877,670,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
508,071
qemu
9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895
https://github.com/bonzini/qemu
https://github.com/bonzini/qemu/commit/9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895
display/qxl-render: fix race condition in qxl_cursor (CVE-2021-4207) Avoid fetching 'width' and 'height' a second time to prevent possible race condition. Refer to security advisory https://starlabs.sg/advisories/22-4207/ for more information. Fixes: CVE-2021-4207 Signed-off-by: Mauro Matteo Cascella <mcascell@redhat...
0
void qxl_render_update(PCIQXLDevice *qxl) { QXLCookie *cookie; qemu_mutex_lock(&qxl->ssd.lock); if (!runstate_is_running() || !qxl->guest_primary.commands || qxl->mode == QXL_MODE_UNDEFINED) { qxl_render_update_area_unlocked(qxl); qemu_mutex_unlock(&qxl->ssd.lock); graphic_...
324,756,577,062,807,100,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
508,072
qemu
9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895
https://github.com/bonzini/qemu
https://github.com/bonzini/qemu/commit/9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895
display/qxl-render: fix race condition in qxl_cursor (CVE-2021-4207) Avoid fetching 'width' and 'height' a second time to prevent possible race condition. Refer to security advisory https://starlabs.sg/advisories/22-4207/ for more information. Fixes: CVE-2021-4207 Signed-off-by: Mauro Matteo Cascella <mcascell@redhat...
0
void qxl_render_update_area_done(PCIQXLDevice *qxl, QXLCookie *cookie) { qemu_mutex_lock(&qxl->ssd.lock); trace_qxl_render_update_area_done(cookie); qemu_bh_schedule(qxl->update_area_bh); qxl->render_update_cookie_num--; qemu_mutex_unlock(&qxl->ssd.lock); g_free(cookie); }
323,011,487,867,116,200,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
508,073
qemu
9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895
https://github.com/bonzini/qemu
https://github.com/bonzini/qemu/commit/9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895
display/qxl-render: fix race condition in qxl_cursor (CVE-2021-4207) Avoid fetching 'width' and 'height' a second time to prevent possible race condition. Refer to security advisory https://starlabs.sg/advisories/22-4207/ for more information. Fixes: CVE-2021-4207 Signed-off-by: Mauro Matteo Cascella <mcascell@redhat...
0
int qxl_render_cursor(PCIQXLDevice *qxl, QXLCommandExt *ext) { QXLCursorCmd *cmd = qxl_phys2virt(qxl, ext->cmd.data, ext->group_id); QXLCursor *cursor; QEMUCursor *c; if (!cmd) { return 1; } if (!dpy_cursor_define_supported(qxl->vga.con)) { return 0; } if (qxl->debug >...
172,207,773,744,450,220,000,000,000,000,000,000,000
None
null
[]
None
None
https://nvd.nist.gov/vuln/detail/None
508,222
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static int parse_bigBN(BIGNUM **out, const char *bn_strings[]) { char *bigstring = glue_strings(bn_strings, NULL); int ret = BN_hex2bn(out, bigstring); OPENSSL_free(bigstring); return ret; }
58,434,122,416,447,030,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160
508,223
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static int test_gf2m_modsolvequad(void) { BIGNUM *a = NULL, *b[2] = {NULL, NULL}, *c = NULL, *d = NULL; BIGNUM *e = NULL; int i, j, s = 0, t, st = 0; if (!TEST_ptr(a = BN_new()) || !TEST_ptr(b[0] = BN_new()) || !TEST_ptr(b[1] = BN_new()) || !TEST_ptr(c = BN_new()) ...
290,179,534,194,867,930,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160
508,224
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static int parseBN(BIGNUM **out, const char *in) { *out = NULL; return BN_hex2bn(out, in); }
259,916,143,651,605,700,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160
508,225
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static int equalBN(const char *op, const BIGNUM *expected, const BIGNUM *actual) { if (BN_cmp(expected, actual) == 0) return 1; TEST_error("unexpected %s value", op); TEST_BN_eq(expected, actual); return 0; }
195,005,905,362,829,740,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160
508,226
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static int getint(STANZA *s, int *out, const char *attribute) { BIGNUM *ret; BN_ULONG word; int st = 0; if (!TEST_ptr(ret = getBN(s, attribute)) || !TEST_ulong_le(word = BN_get_word(ret), INT_MAX)) goto err; *out = (int)word; st = 1; err: BN_free(ret); return st; }
44,751,468,565,759,920,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160
508,227
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static int test_gf2m_mod(void) { BIGNUM *a = NULL, *b[2] = {NULL, NULL}, *c = NULL, *d = NULL, *e = NULL; int i, j, st = 0; if (!TEST_ptr(a = BN_new()) || !TEST_ptr(b[0] = BN_new()) || !TEST_ptr(b[1] = BN_new()) || !TEST_ptr(c = BN_new()) || !TEST_ptr(d = BN_...
201,790,952,420,638,660,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160
508,228
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static int test_is_prime(int i) { int ret = 0; BIGNUM *r = NULL; int trial; if (!TEST_ptr(r = BN_new())) goto err; for (trial = 0; trial <= 1; ++trial) { if (!TEST_true(BN_set_word(r, primes[i])) || !TEST_int_eq(BN_check_prime(r, ctx, NULL), ...
239,186,646,514,249,920,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160
508,229
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static int test_bn2padded(void) { uint8_t zeros[256], out[256], reference[128]; size_t bytes; BIGNUM *n; int st = 0; /* Test edge case at 0. */ if (!TEST_ptr((n = BN_new()))) goto err; if (!TEST_int_eq(BN_bn2binpad(n, NULL, 0), 0)) goto err; memset(out, -1, sizeof(out));...
246,464,814,201,150,500,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160
508,230
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static BIGNUM *set_signed_bn(int value) { BIGNUM *bn = BN_new(); if (bn == NULL) return NULL; if (!BN_set_word(bn, value < 0 ? -value : value)) { BN_free(bn); return NULL; } BN_set_negative(bn, value < 0); return bn; }
339,444,517,335,396,650,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160
508,231
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static int test_swap(void) { BIGNUM *a = NULL, *b = NULL, *c = NULL, *d = NULL; int top, cond, st = 0; if (!TEST_ptr(a = BN_new()) || !TEST_ptr(b = BN_new()) || !TEST_ptr(c = BN_new()) || !TEST_ptr(d = BN_new())) goto err; if (!(TEST_true(BN_bntest_rand(a, 1...
10,859,485,692,597,652,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160
508,232
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static int test_gf2m_add(void) { BIGNUM *a = NULL, *b = NULL, *c = NULL; int i, st = 0; if (!TEST_ptr(a = BN_new()) || !TEST_ptr(b = BN_new()) || !TEST_ptr(c = BN_new())) goto err; for (i = 0; i < NUM0; i++) { if (!(TEST_true(BN_rand(a, 512, 0, 0)) ...
100,211,177,374,406,380,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160
508,233
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static int test_dec2bn(void) { BIGNUM *bn = NULL; int st = 0; if (!TEST_int_eq(parsedecBN(&bn, "0"), 1) || !TEST_BN_eq_word(bn, 0) || !TEST_BN_eq_zero(bn) || !TEST_BN_le_zero(bn) || !TEST_BN_ge_zero(bn) || !TEST_BN_even(bn)) goto err; ...
257,888,997,857,812,200,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160
508,234
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static int test_rand_range(void) { int n_success = 0; size_t i; for (i = 0; i < OSSL_NELEM(rand_range_cases); i++) n_success += test_rand_range_single(i); if (TEST_int_ge(n_success, binomial_critical)) return 1; TEST_note("This test is expected to fail by chance 0.01%% of the time."...
236,683,990,620,402,650,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160
508,235
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static int test_gcd_prime(void) { BIGNUM *a = NULL, *b = NULL, *gcd = NULL; int i, st = 0; if (!TEST_ptr(a = BN_new()) || !TEST_ptr(b = BN_new()) || !TEST_ptr(gcd = BN_new())) goto err; if (!TEST_true(BN_generate_prime_ex(a, 1024, 0, NULL, NULL, NULL))) goto...
157,159,810,517,601,410,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160
508,236
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static int file_product(STANZA *s) { BIGNUM *a = NULL, *b = NULL, *product = NULL, *ret = NULL; BIGNUM *remainder = NULL, *zero = NULL; int st = 0; if (!TEST_ptr(a = getBN(s, "A")) || !TEST_ptr(b = getBN(s, "B")) || !TEST_ptr(product = getBN(s, "Product")) || !TEST_p...
125,659,835,062,755,200,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160
508,237
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static int test_gf2m_moddiv(void) { BIGNUM *a = NULL, *b[2] = {NULL, NULL}, *c = NULL, *d = NULL; BIGNUM *e = NULL, *f = NULL; int i, j, st = 0; if (!TEST_ptr(a = BN_new()) || !TEST_ptr(b[0] = BN_new()) || !TEST_ptr(b[1] = BN_new()) || !TEST_ptr(c = BN_new()) ...
148,477,688,201,111,250,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160
508,238
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static int test_gf2m_sqr(void) { BIGNUM *a = NULL, *b[2] = {NULL, NULL}, *c = NULL, *d = NULL; int i, j, st = 0; if (!TEST_ptr(a = BN_new()) || !TEST_ptr(b[0] = BN_new()) || !TEST_ptr(b[1] = BN_new()) || !TEST_ptr(c = BN_new()) || !TEST_ptr(d = BN_new())) ...
184,903,417,238,491,140,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160
508,239
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static int test_smallsafeprime(int kBits) { BIGNUM *r; int st = 0; if (!TEST_ptr(r = BN_new())) goto err; if (kBits <= 5 && kBits != 3) { if (!TEST_false(BN_generate_prime_ex(r, kBits, 1, NULL, NULL, NULL))) goto err; } else ...
142,381,511,051,364,470,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160
508,240
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static int test_negzero(void) { BIGNUM *a = NULL, *b = NULL, *c = NULL, *d = NULL; BIGNUM *numerator = NULL, *denominator = NULL; int consttime, st = 0; if (!TEST_ptr(a = BN_new()) || !TEST_ptr(b = BN_new()) || !TEST_ptr(c = BN_new()) || !TEST_ptr(d = BN_new())) ...
139,279,447,110,754,760,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160
508,241
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static int file_modexp(STANZA *s) { BIGNUM *a = NULL, *e = NULL, *m = NULL, *mod_exp = NULL, *ret = NULL; BIGNUM *b = NULL, *c = NULL, *d = NULL; int st = 0; if (!TEST_ptr(a = getBN(s, "A")) || !TEST_ptr(e = getBN(s, "E")) || !TEST_ptr(m = getBN(s, "M")) || !TEST_ptr...
128,114,480,873,129,060,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160
508,242
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static int test_kronecker(void) { BIGNUM *a = NULL, *b = NULL, *r = NULL, *t = NULL; int i, legendre, kronecker, st = 0; if (!TEST_ptr(a = BN_new()) || !TEST_ptr(b = BN_new()) || !TEST_ptr(r = BN_new()) || !TEST_ptr(t = BN_new())) goto err; /* * We test...
248,360,862,944,107,000,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160
508,243
openssl
336923c0c8d705cb8af5216b29a205662db0d590
https://github.com/openssl/openssl
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=336923c0c8d705cb8af5216b29a205662db0d590
Fix a carry overflow bug in bn_sqr_comba4/8 for mips 32-bit targets bn_sqr_comba8 does for instance compute a wrong result for the value: a=0x4aaac919 62056c84 fba7334e 1a6be678 022181ba fd3aa878 899b2346 ee210f45 The correct result is: r=0x15c72e32 605a3061 d11b1012 3c187483 6df96999 bd0c22ba d3e7d437 4724a82f 9...
0
static int test_not_prime(int i) { int ret = 0; BIGNUM *r = NULL; int trial; if (!TEST_ptr(r = BN_new())) goto err; for (trial = 0; trial <= 1; ++trial) { if (!TEST_true(BN_set_word(r, not_primes[i])) || !TEST_false(BN_check_prime(r, ctx, NULL))) goto er...
334,584,221,925,066,650,000,000,000,000,000,000,000
None
null
[ "NVD-CWE-noinfo" ]
CVE-2021-4160
There is a carry propagation bug in the MIPS32 and MIPS64 squaring procedure. Many EC algorithms are affected, including some of the TLS 1.3 default curves. Impact was not analyzed in detail, because the pre-requisites for attack are considered unlikely and include reusing private keys. Analysis suggests that attacks a...
https://nvd.nist.gov/vuln/detail/CVE-2021-4160