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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
508,244 | 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_hex2bn(void)
{
BIGNUM *bn = NULL;
int st = 0;
if (!TEST_int_eq(parseBN(&bn, "0"), 1)
|| !TEST_BN_eq_zero(bn)
|| !TEST_BN_ge_zero(bn)
|| !TEST_BN_even(bn))
goto err;
BN_free(bn);
bn = NULL;
if (!TEST_int_eq(parseBN(&bn, "256"), 3)
... | 147,304,492,117,858,720,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,245 | 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_expmodzero(void)
{
BIGNUM *a = NULL, *r = NULL, *zero = NULL;
int st = 0;
if (!TEST_ptr(zero = BN_new())
|| !TEST_ptr(a = BN_new())
|| !TEST_ptr(r = BN_new()))
goto err;
BN_zero(zero);
if (!TEST_true(BN_mod_exp(r, a, zero, BN_value_one(), NULL))
... | 114,059,134,387,759,640,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,246 | 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_ctx_check_ct_flag(BN_CTX *c)
{
int st = 0;
size_t i;
BIGNUM *b[30];
BN_CTX_start(c);
for (i = 0; i < OSSL_NELEM(b); i++) {
if (!TEST_ptr(b[i] = BN_CTX_get(c)))
goto err;
if (!TEST_false(BN_get_flags(b[i], BN_FLG_CONSTTIME)))
goto err;
}
... | 333,755,079,193,004,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,247 | 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 | const OPTIONS *test_get_options(void)
{
static const OPTIONS test_options[] = {
OPT_TEST_OPTIONS_WITH_EXTRA_USAGE("[file...]\n"),
{ "stochastic", OPT_STOCHASTIC_TESTS, '-', "Run stochastic tests" },
{ OPT_HELP_STR, 1, '-',
"file\tFile to run tests on. Normal tests are not run\n" },... | 163,385,612,093,150,420,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,248 | 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_quotient(STANZA *s)
{
BIGNUM *a = NULL, *b = NULL, *quotient = NULL, *remainder = NULL;
BIGNUM *ret = NULL, *ret2 = NULL, *nnmod = NULL;
BN_ULONG b_word, ret_word;
int st = 0;
if (!TEST_ptr(a = getBN(s, "A"))
|| !TEST_ptr(b = getBN(s, "B"))
|| !TEST_ptr(quoti... | 109,285,350,859,788,320,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,249 | 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 parsedecBN(BIGNUM **out, const char *in)
{
*out = NULL;
return BN_dec2bn(out, in);
} | 260,082,493,595,686,820,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,250 | 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_modexp(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())
... | 12,881,120,905,839,667,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,251 | 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_rshift(STANZA *s)
{
BIGNUM *a = NULL, *rshift = NULL, *ret = NULL;
int n = 0, st = 0;
if (!TEST_ptr(a = getBN(s, "A"))
|| !TEST_ptr(rshift = getBN(s, "RShift"))
|| !TEST_ptr(ret = BN_new())
|| !getint(s, &n, "N"))
goto err;
if (!TEST_true(BN_... | 78,198,252,061,022,960,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,252 | 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 *getBN(STANZA *s, const char *attribute)
{
const char *hex;
BIGNUM *ret = NULL;
if ((hex = findattr(s, attribute)) == NULL) {
TEST_error("%s:%d: Can't find %s", s->test_file, s->start, attribute);
return NULL;
}
if (parseBN(&ret, hex) != (int)strlen(hex)) {
TE... | 226,567,543,055,612,440,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,253 | 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_modmul(STANZA *s)
{
BIGNUM *a = NULL, *b = NULL, *m = NULL, *mod_mul = NULL, *ret = NULL;
int st = 0;
if (!TEST_ptr(a = getBN(s, "A"))
|| !TEST_ptr(b = getBN(s, "B"))
|| !TEST_ptr(m = getBN(s, "M"))
|| !TEST_ptr(mod_mul = getBN(s, "ModMul"))
|... | 339,873,191,699,347,800,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,254 | 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_square(STANZA *s)
{
BIGNUM *a = NULL, *square = NULL, *zero = NULL, *ret = NULL;
BIGNUM *remainder = NULL, *tmp = NULL;
int st = 0;
if (!TEST_ptr(a = getBN(s, "A"))
|| !TEST_ptr(square = getBN(s, "Square"))
|| !TEST_ptr(zero = BN_new())
|| !TEST_ptr(r... | 28,105,974,305,704,013,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,255 | 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_asc2bn(void)
{
BIGNUM *bn = NULL;
int st = 0;
if (!TEST_ptr(bn = BN_new()))
goto err;
if (!TEST_true(BN_asc2bn(&bn, "0"))
|| !TEST_BN_eq_zero(bn)
|| !TEST_BN_ge_zero(bn))
goto err;
if (!TEST_true(BN_asc2bn(&bn, "256"))
|| !TEST_B... | 280,544,734,819,006,100,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,256 | 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_modinv(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()))
... | 171,574,895,685,839,670,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,257 | 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_modsqrt(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())
... | 104,762,694,288,610,180,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,258 | 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_badmod(void)
{
BIGNUM *a = NULL, *b = NULL, *zero = NULL;
BN_MONT_CTX *mont = NULL;
int st = 0;
if (!TEST_ptr(a = BN_new())
|| !TEST_ptr(b = BN_new())
|| !TEST_ptr(zero = BN_new())
|| !TEST_ptr(mont = BN_MONT_CTX_new()))
goto err;
BN_zero(... | 11,078,982,909,237,138,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,259 | 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 rand_neg(void)
{
static unsigned int neg = 0;
static int sign[8] = { 0, 0, 0, 1, 1, 0, 1, 1 };
return sign[(neg++) % 8];
} | 31,599,531,224,462,010,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,260 | 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_mul(void)
{
BIGNUM *a, *b[2] = {NULL, NULL}, *c = NULL, *d = NULL;
BIGNUM *e = NULL, *f = NULL, *g = NULL, *h = 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_ne... | 279,107,323,102,390,770,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,261 | 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_mod_exp(int i)
{
const MOD_EXP_TEST *test = &ModExpTests[i];
int res = 0;
BIGNUM* result = NULL;
BIGNUM *base = NULL, *exponent = NULL, *modulo = NULL;
char *s = NULL;
if (!TEST_ptr(result = BN_new())
|| !TEST_true(BN_dec2bn(&base, test->base))
|| !TEST_t... | 192,471,028,753,204,680,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,262 | 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_modexp_mont5(void)
{
BIGNUM *a = NULL, *p = NULL, *m = NULL, *d = NULL, *e = NULL;
BIGNUM *b = NULL, *n = NULL, *c = NULL;
BN_MONT_CTX *mont = NULL;
int st = 0;
if (!TEST_ptr(a = BN_new())
|| !TEST_ptr(p = BN_new())
|| !TEST_ptr(m = BN_new())
|| !... | 76,206,022,469,721,770,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,263 | 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_sum(STANZA *s)
{
BIGNUM *a = NULL, *b = NULL, *sum = NULL, *ret = NULL;
BN_ULONG b_word;
int st = 0;
if (!TEST_ptr(a = getBN(s, "A"))
|| !TEST_ptr(b = getBN(s, "B"))
|| !TEST_ptr(sum = getBN(s, "Sum"))
|| !TEST_ptr(ret = BN_new()))
goto err;
... | 40,337,014,027,390,875,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,264 | 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_mod_exp_consttime(int i)
{
const MOD_EXP_TEST *test = &ModExpTests[i];
int res = 0;
BIGNUM* result = NULL;
BIGNUM *base = NULL, *exponent = NULL, *modulo = NULL;
char *s = NULL;
if (!TEST_ptr(result = BN_new())
|| !TEST_true(BN_dec2bn(&base, test->base))
... | 237,425,915,276,644,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,265 | 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_gcd(STANZA *s)
{
BIGNUM *a = NULL, *b = NULL, *gcd = NULL, *ret = NULL;
int st = 0;
if (!TEST_ptr(a = getBN(s, "A"))
|| !TEST_ptr(b = getBN(s, "B"))
|| !TEST_ptr(gcd = getBN(s, "GCD"))
|| !TEST_ptr(ret = BN_new()))
goto err;
if (!TEST_true(BN... | 307,181,788,928,228,580,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,266 | 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 | int setup_tests(void)
{
OPTION_CHOICE o;
int n, stochastic = 0;
while ((o = opt_next()) != OPT_EOF) {
switch (o) {
case OPT_STOCHASTIC_TESTS:
stochastic = 1;
break;
case OPT_TEST_CASES:
break;
default:
case OPT_ERR:
retu... | 206,681,834,380,309,970,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,267 | 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_exp(STANZA *s)
{
BIGNUM *a = NULL, *e = NULL, *exp = NULL, *ret = NULL;
int st = 0;
if (!TEST_ptr(a = getBN(s, "A"))
|| !TEST_ptr(e = getBN(s, "E"))
|| !TEST_ptr(exp = getBN(s, "Exp"))
|| !TEST_ptr(ret = BN_new()))
goto err;
if (!TEST_true(BN... | 297,418,719,882,216,150,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,268 | 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_div_recip(void)
{
BIGNUM *a = NULL, *b = NULL, *c = NULL, *d = NULL, *e = NULL;
BN_RECP_CTX *recp = NULL;
int st = 0, i;
if (!TEST_ptr(a = BN_new())
|| !TEST_ptr(b = BN_new())
|| !TEST_ptr(c = BN_new())
|| !TEST_ptr(d = BN_new())
|| !TEST_... | 64,672,228,626,350,600,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,269 | 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_expmodone(void)
{
int ret = 0, i;
BIGNUM *r = BN_new();
BIGNUM *a = BN_new();
BIGNUM *p = BN_new();
BIGNUM *m = BN_new();
if (!TEST_ptr(r)
|| !TEST_ptr(a)
|| !TEST_ptr(p)
|| !TEST_ptr(p)
|| !TEST_ptr(m)
|| !TEST_true(BN... | 13,068,074,254,819,566,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,270 | 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_test_run(STANZA *s)
{
static const FILETEST filetests[] = {
{"Sum", file_sum},
{"LShift1", file_lshift1},
{"LShift", file_lshift},
{"RShift", file_rshift},
{"Square", file_square},
{"Product", file_product},
{"Quotient", file_quotient},
... | 61,521,233,513,443,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,271 | 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 | void cleanup_tests(void)
{
BN_CTX_free(ctx);
} | 4,834,496,735,893,249,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,272 | 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_modsqrt(STANZA *s)
{
BIGNUM *a = NULL, *p = NULL, *mod_sqrt = NULL, *ret = NULL, *ret2 = NULL;
int st = 0;
if (!TEST_ptr(a = getBN(s, "A"))
|| !TEST_ptr(p = getBN(s, "P"))
|| !TEST_ptr(mod_sqrt = getBN(s, "ModSqrt"))
|| !TEST_ptr(ret = BN_new())
... | 278,965,003,618,513,100,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,273 | 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 run_file_tests(int i)
{
STANZA *s = NULL;
char *testfile = test_get_argument(i);
int c;
if (!TEST_ptr(s = OPENSSL_zalloc(sizeof(*s))))
return 0;
if (!test_start_file(s, testfile)) {
OPENSSL_free(s);
return 0;
}
/* Read test file. */
while (!BIO_eof(s-... | 330,649,842,236,176,840,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,274 | 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_smallprime(int kBits)
{
BIGNUM *r;
int st = 0;
if (!TEST_ptr(r = BN_new()))
goto err;
if (kBits <= 1) {
if (!TEST_false(BN_generate_prime_ex(r, kBits, 0,
NULL, NULL, NULL)))
goto err;
} else {
if (!TES... | 245,835,877,686,616,540,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,275 | 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_sub(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 + NUM1; i++) {
if (i < NUM1) {
if (!(TEST_true(BN_bnt... | 172,174,986,831,260,400,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,276 | 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 const char *findattr(STANZA *s, const char *key)
{
int i = s->numpairs;
PAIR *pp = s->pairs;
for ( ; --i >= 0; pp++)
if (strcasecmp(pp->key, key) == 0)
return pp->value;
return NULL;
} | 234,239,409,400,167,400,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,277 | 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_lshift(STANZA *s)
{
BIGNUM *a = NULL, *lshift = NULL, *ret = NULL;
int n = 0, st = 0;
if (!TEST_ptr(a = getBN(s, "A"))
|| !TEST_ptr(lshift = getBN(s, "LShift"))
|| !TEST_ptr(ret = BN_new())
|| !getint(s, &n, "N"))
goto err;
if (!TEST_true(BN_... | 178,718,423,982,013,560,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,278 | 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(void)
{
BIGNUM *bn = NULL;
int st = 0;
if (!TEST_ptr(bn = BN_new()))
return 0;
/* Test BN_rand for degenerate cases with |top| and |bottom| parameters. */
if (!TEST_false(BN_rand(bn, 0, 0 /* top */ , 0 /* bottom */ ))
|| !TEST_false(BN_rand(bn, 0, 1 /* top ... | 167,593,345,579,784,810,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,279 | 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_ctx_set_ct_flag(BN_CTX *c)
{
int st = 0;
size_t i;
BIGNUM *b[15];
BN_CTX_start(c);
for (i = 0; i < OSSL_NELEM(b); i++) {
if (!TEST_ptr(b[i] = BN_CTX_get(c)))
goto err;
if (i % 2 == 1)
BN_set_flags(b[i], BN_FLG_CONSTTIME);
}
st = 1;
e... | 263,732,773,244,294,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,280 | 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_mpi(int i)
{
uint8_t scratch[8];
const MPITEST *test = &kMPITests[i];
size_t mpi_len, mpi_len2;
BIGNUM *bn = NULL;
BIGNUM *bn2 = NULL;
int st = 0;
if (!TEST_ptr(bn = BN_new())
|| !TEST_true(BN_asc2bn(&bn, test->base10)))
goto err;
mpi_len = BN_bn2mpi(... | 291,361,423,761,355,720,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,281 | 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_signed_mod_replace_ba(int n)
{
BIGNUM *a = NULL, *b = NULL, *c = NULL, *d = NULL;
int st = 0;
if (!TEST_ptr(a = set_signed_bn(signed_mod_tests[n].n))
|| !TEST_ptr(b = set_signed_bn(signed_mod_tests[n].divisor))
|| !TEST_ptr(c = set_signed_bn(signed_mod_tests[n].resul... | 115,809,025,761,182,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,282 | 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_single(size_t n)
{
const unsigned int range = rand_range_cases[n].range;
const unsigned int iterations = rand_range_cases[n].iterations;
const double critical = rand_range_cases[n].critical;
const double expected = iterations / (double)range;
double sum = 0;
BIGNUM *rn... | 177,965,623,431,249,870,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,283 | 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_mod(void)
{
BIGNUM *a = NULL, *b = NULL, *c = NULL, *d = NULL, *e = NULL;
int st = 0, i;
if (!TEST_ptr(a = BN_new())
|| !TEST_ptr(b = BN_new())
|| !TEST_ptr(c = BN_new())
|| !TEST_ptr(d = BN_new())
|| !TEST_ptr(e = BN_new()))
goto err;... | 146,946,715,198,972,970,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,284 | 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_ctx_consttime_flag(void)
{
/*-
* The constant-time flag should not "leak" among BN_CTX frames:
*
* - test_ctx_set_ct_flag() starts a frame in the given BN_CTX and
* sets the BN_FLG_CONSTTIME flag on some of the BIGNUMs obtained
* from the frame before ending it.
* -... | 310,272,195,338,884,260,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,285 | 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_lshift1(STANZA *s)
{
BIGNUM *a = NULL, *lshift1 = NULL, *zero = NULL, *ret = NULL;
BIGNUM *two = NULL, *remainder = NULL;
int st = 0;
if (!TEST_ptr(a = getBN(s, "A"))
|| !TEST_ptr(lshift1 = getBN(s, "LShift1"))
|| !TEST_ptr(zero = BN_new())
|| !TEST_p... | 208,828,187,988,233,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,286 | 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_signed_mod_replace_ab(int n)
{
BIGNUM *a = NULL, *b = NULL, *c = NULL, *d = NULL;
int st = 0;
if (!TEST_ptr(a = set_signed_bn(signed_mod_tests[n].n))
|| !TEST_ptr(b = set_signed_bn(signed_mod_tests[n].divisor))
|| !TEST_ptr(c = set_signed_bn(signed_mod_tests[n].resul... | 29,360,402,769,531,698,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 |
509,581 | openssl | 3118eb64934499d93db3230748a452351d1d9a65 | https://github.com/openssl/openssl | https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=3118eb64934499d93db3230748a452351d1d9a65 | Fix possible infinite loop in BN_mod_sqrt()
The calculation in some cases does not finish for non-prime p.
This fixes CVE-2022-0778.
Based on patch by David Benjamin <davidben@google.com>.
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org> | 0 | BIGNUM *BN_mod_sqrt(BIGNUM *in, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
/*
* Returns 'ret' such that ret^2 == a (mod p), using the Tonelli/Shanks
* algorithm (cf. Henri Cohen, "A Course in Algebraic Computational Number
* Theory", algorithm 1.5.1). 'p' must be prime, otherwise an error or
* an incorrect "res... | 248,690,382,993,613,740,000,000,000,000,000,000,000 | None | null | [
"CWE-835"
] | CVE-2022-0778 | The BN_mod_sqrt() function, which computes a modular square root, contains a bug that can cause it to loop forever for non-prime moduli. Internally this function is used when parsing certificates that contain elliptic curve public keys in compressed form or explicit elliptic curve parameters with a base point encoded i... | https://nvd.nist.gov/vuln/detail/CVE-2022-0778 |
511,874 | server | e4e25d2bacc067417c35750f5f6c44cad10c81de | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/e4e25d2bacc067417c35750f5f6c44cad10c81de | MDEV-26423 MariaDB server crash in Create_tmp_table::finalize
Removed prohibition of creating temporary field of Item_default_value
(added by mistake by 1d9b043a1f5db7ff229d5200652cff7a78ea6266 fix of
MDEV-10780 and MDEV-11265). | 0 | bool is_json_type() { return (*ref)->is_json_type(); } | 137,700,906,666,897,440,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27378 | An issue in the component Create_tmp_table::finalize of MariaDB Server v10.7 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27378 |
511,875 | server | e4e25d2bacc067417c35750f5f6c44cad10c81de | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/e4e25d2bacc067417c35750f5f6c44cad10c81de | MDEV-26423 MariaDB server crash in Create_tmp_table::finalize
Removed prohibition of creating temporary field of Item_default_value
(added by mistake by 1d9b043a1f5db7ff229d5200652cff7a78ea6266 fix of
MDEV-10780 and MDEV-11265). | 0 | Item_default_value(THD *thd, Name_resolution_context *context_arg)
:Item_field(thd, context_arg, (const char *)NULL, (const char *)NULL,
(const char *)NULL),
arg(NULL) {} | 137,895,301,929,293,600,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27378 | An issue in the component Create_tmp_table::finalize of MariaDB Server v10.7 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27378 |
511,876 | server | e4e25d2bacc067417c35750f5f6c44cad10c81de | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/e4e25d2bacc067417c35750f5f6c44cad10c81de | MDEV-26423 MariaDB server crash in Create_tmp_table::finalize
Removed prohibition of creating temporary field of Item_default_value
(added by mistake by 1d9b043a1f5db7ff229d5200652cff7a78ea6266 fix of
MDEV-10780 and MDEV-11265). | 0 | bool check_table_name_processor(void *arg)
{
Check_table_name_prm &p= *(Check_table_name_prm *) arg;
if (!field && p.table_name.length && table_name)
{
DBUG_ASSERT(p.db.length);
if ((db_name &&
my_strcasecmp(table_alias_charset, p.db.str, db_name)) ||
my_strcasecmp(table_... | 85,852,048,514,346,480,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27378 | An issue in the component Create_tmp_table::finalize of MariaDB Server v10.7 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27378 |
511,877 | server | e4e25d2bacc067417c35750f5f6c44cad10c81de | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/e4e25d2bacc067417c35750f5f6c44cad10c81de | MDEV-26423 MariaDB server crash in Create_tmp_table::finalize
Removed prohibition of creating temporary field of Item_default_value
(added by mistake by 1d9b043a1f5db7ff229d5200652cff7a78ea6266 fix of
MDEV-10780 and MDEV-11265). | 0 | virtual bool enchant_default_with_arg_processor(void *arg) { return 0; } | 29,168,335,090,712,150,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27378 | An issue in the component Create_tmp_table::finalize of MariaDB Server v10.7 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27378 |
511,878 | server | e4e25d2bacc067417c35750f5f6c44cad10c81de | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/e4e25d2bacc067417c35750f5f6c44cad10c81de | MDEV-26423 MariaDB server crash in Create_tmp_table::finalize
Removed prohibition of creating temporary field of Item_default_value
(added by mistake by 1d9b043a1f5db7ff229d5200652cff7a78ea6266 fix of
MDEV-10780 and MDEV-11265). | 0 | Item_default_value(THD *thd, Name_resolution_context *context_arg, Item *a)
:Item_field(thd, context_arg, (const char *)NULL, (const char *)NULL,
(const char *)NULL),
arg(a) {} | 246,482,614,308,533,840,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27378 | An issue in the component Create_tmp_table::finalize of MariaDB Server v10.7 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27378 |
511,879 | server | e4e25d2bacc067417c35750f5f6c44cad10c81de | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/e4e25d2bacc067417c35750f5f6c44cad10c81de | MDEV-26423 MariaDB server crash in Create_tmp_table::finalize
Removed prohibition of creating temporary field of Item_default_value
(added by mistake by 1d9b043a1f5db7ff229d5200652cff7a78ea6266 fix of
MDEV-10780 and MDEV-11265). | 0 | Item_default_value(THD *thd, Name_resolution_context *context_arg, Field *a)
:Item_field(thd, context_arg, (const char *)NULL, (const char *)NULL,
(const char *)NULL),
arg(NULL) {} | 83,046,109,264,018,260,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27378 | An issue in the component Create_tmp_table::finalize of MariaDB Server v10.7 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27378 |
511,880 | server | e4e25d2bacc067417c35750f5f6c44cad10c81de | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/e4e25d2bacc067417c35750f5f6c44cad10c81de | MDEV-26423 MariaDB server crash in Create_tmp_table::finalize
Removed prohibition of creating temporary field of Item_default_value
(added by mistake by 1d9b043a1f5db7ff229d5200652cff7a78ea6266 fix of
MDEV-10780 and MDEV-11265). | 0 | Item_default_value_arg(THD *thd, Name_resolution_context *context, Item *a)
:Item_default_value(thd, context, a) {} | 213,354,197,186,679,530,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27378 | An issue in the component Create_tmp_table::finalize of MariaDB Server v10.7 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27378 |
511,881 | server | e4e25d2bacc067417c35750f5f6c44cad10c81de | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/e4e25d2bacc067417c35750f5f6c44cad10c81de | MDEV-26423 MariaDB server crash in Create_tmp_table::finalize
Removed prohibition of creating temporary field of Item_default_value
(added by mistake by 1d9b043a1f5db7ff229d5200652cff7a78ea6266 fix of
MDEV-10780 and MDEV-11265). | 0 | void update_used_tables()
{
if (field && field->default_value)
field->default_value->expr->update_used_tables();
} | 219,533,794,787,612,220,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27378 | An issue in the component Create_tmp_table::finalize of MariaDB Server v10.7 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27378 |
511,882 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_in_subselect::val_bool()
{
DBUG_ASSERT(fixed == 1);
if (forced_const)
return value;
DBUG_ASSERT((engine->uncacheable() & ~UNCACHEABLE_EXPLAIN) ||
! engine->is_executed() || with_recursive_reference);
null_value= was_null= FALSE;
if (exec())
{
reset();
return 0;
}
if (... | 123,883,259,912,144,420,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,883 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_subselect::set_fake_select_as_master_processor(void *arg)
{
SELECT_LEX *fake_select= (SELECT_LEX*) arg;
/*
Move the st_select_lex_unit of a subquery from a global ORDER BY clause to
become a direct child of the fake_select of a UNION. In this way the
ORDER BY that is applied to the temporary t... | 160,949,123,205,760,040,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,884 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void subselect_hash_sj_engine::print(String *str, enum_query_type query_type)
{
str->append(STRING_WITH_LEN(" <materialize> ("));
materialize_engine->print(str, query_type);
str->append(STRING_WITH_LEN(" ), "));
if (lookup_engine)
lookup_engine->print(str, query_type);
else
str->append(STRING_WITH_LE... | 185,116,439,432,395,450,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,885 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item::Type Item_subselect::type() const
{
return SUBSELECT_ITEM;
} | 253,333,921,137,196,900,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,886 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void subselect_partial_match_engine::print(String *str,
enum_query_type query_type)
{
/*
Should never be called as the actual engine cannot be known at query
optimization time.
DBUG_ASSERT(FALSE);
*/
} | 55,240,459,470,596,300,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,887 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_singlerow_subselect::fix_length_and_dec()
{
if ((max_columns= engine->cols()) == 1)
{
if (engine->fix_length_and_dec(row= &value))
return TRUE;
}
else
{
if (!(row= (Item_cache**) current_thd->alloc(sizeof(Item_cache*) *
max_columns)) ||
... | 262,929,527,540,289,200,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,888 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | table_map Item_subselect::used_tables() const
{
return (table_map) ((engine->uncacheable() & ~UNCACHEABLE_EXPLAIN)?
used_tables_cache : 0L);
} | 95,025,034,608,561,400,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,889 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item_singlerow_subselect::select_transformer(JOIN *join)
{
DBUG_ENTER("Item_singlerow_subselect::select_transformer");
if (changed)
DBUG_RETURN(false);
DBUG_ASSERT(join->thd == thd);
SELECT_LEX *select_lex= join->select_lex;
Query_arena *arena= thd->stmt_arena;
if (!select_lex->master_unit()->is_union... | 103,011,371,544,759,540,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,890 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item_in_subselect::row_value_transformer(JOIN *join)
{
SELECT_LEX *select_lex= join->select_lex;
uint cols_num= left_expr->cols();
DBUG_ENTER("Item_in_subselect::row_value_transformer");
DBUG_ASSERT(thd == join->thd);
// psergey: duplicated_subselect_card_check
if (select_lex->item_list.elements != cols_n... | 125,784,621,605,453,880,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,891 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_subselect::const_item() const
{
DBUG_ASSERT(thd);
return (thd->lex->context_analysis_only || with_recursive_reference ?
FALSE :
forced_const || const_item_cache);
} | 2,727,362,477,574,538,500,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,892 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_in_subselect::inject_in_to_exists_cond(JOIN *join_arg)
{
SELECT_LEX *select_lex= join_arg->select_lex;
Item *where_item= join_arg->in_to_exists_where;
Item *having_item= join_arg->in_to_exists_having;
DBUG_ENTER("Item_in_subselect::inject_in_to_exists_cond");
DBUG_ASSERT(thd == join_arg->thd);
i... | 272,661,084,125,126,800,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,893 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | enum Item_result Item_singlerow_subselect::cmp_type() const
{
return engine->cmptype();
} | 318,619,698,561,878,200,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,894 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | subselect_hash_sj_engine::choose_partial_match_strategy(
bool has_non_null_key, bool has_covering_null_row,
MY_BITMAP *partial_match_key_parts_arg)
{
ulonglong pm_buff_size;
DBUG_ASSERT(strategy == PARTIAL_MATCH);
/*
Choose according to global optimizer switch. If only one of the switches is
'ON', th... | 92,441,357,374,516,980,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,895 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item_subselect::select_transformer(JOIN *join)
{
DBUG_ENTER("Item_subselect::select_transformer");
DBUG_ASSERT(thd == join->thd);
DBUG_RETURN(false);
} | 185,625,730,371,225,920,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,896 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item_in_subselect::single_value_transformer(JOIN *join)
{
SELECT_LEX *select_lex= join->select_lex;
DBUG_ENTER("Item_in_subselect::single_value_transformer");
DBUG_ASSERT(thd == join->thd);
/*
Check that the right part of the subselect contains no more than one
column. E.g. in SELECT 1 IN (SELECT * ..)... | 23,247,088,471,000,220,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,897 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | virtual void visit_field(Item_field *item)
{
//for (TABLE_LIST *tbl= new_parent->leaf_tables; tbl; tbl= tbl->next_local)
//{
// if (tbl->table == field->table)
// {
used_tables|= item->field->table->map;
// return;
// }
//}
//used_tables |= OUTER_REF_TABLE_BIT;
} | 225,131,958,199,550,360,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,898 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void subselect_engine::set_thd(THD *thd_arg)
{
thd= thd_arg;
if (result)
result->set_thd(thd_arg);
} | 193,279,088,869,707,040,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,899 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void subselect_single_select_engine::cleanup()
{
DBUG_ENTER("subselect_single_select_engine::cleanup");
prepared= executed= 0;
join= 0;
result->cleanup();
select_lex->uncacheable&= ~UNCACHEABLE_DEPENDENT_INJECTED;
DBUG_VOID_RETURN;
} | 275,892,082,756,208,400,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,900 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | table_map subselect_engine::calc_const_tables(List<TABLE_LIST> &list)
{
table_map map= 0;
List_iterator<TABLE_LIST> ti(list);
TABLE_LIST *table;
//for (; table; table= table->next_leaf)
while ((table= ti++))
{
TABLE *tbl= table->table;
if (tbl && tbl->const_table)
map|= tbl->map;
}
return ... | 129,484,421,946,416,880,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,901 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item_in_subselect::select_transformer(JOIN *join)
{
return select_in_like_transformer(join);
} | 245,296,487,248,527,700,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,902 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_in_subselect::expr_cache_is_needed(THD *thd)
{
return (optimizer_flag(thd, OPTIMIZER_SWITCH_SUBQUERY_CACHE) &&
!(engine->uncacheable() & (UNCACHEABLE_RAND |
UNCACHEABLE_SIDEEFFECT)) &&
!with_recursive_reference);
} | 49,563,022,854,868,800,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,903 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | int subselect_single_select_engine::get_identifier()
{
return select_lex->select_number;
} | 187,253,762,588,916,940,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,904 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void subselect_single_select_engine::print(String *str,
enum_query_type query_type)
{
With_clause* with_clause= select_lex->get_with_clause();
if (with_clause)
with_clause->print(str, query_type);
select_lex->print(get_thd(), str, query_type);
} | 88,740,326,658,983,580,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,905 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_rowid_merge_engine::partial_match()
{
Ordered_key *min_key; /* Key that contains the current minimum position. */
rownum_t min_row_num; /* Current row number of min_key. */
Ordered_key *cur_key;
rownum_t cur_row_num;
uint count_nulls_in_search_key= 0;
uint max_null_in_any_row=
((select_ma... | 125,731,313,297,707,430,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,906 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_subselect::walk(Item_processor processor, bool walk_subquery,
void *argument)
{
if (!(unit->uncacheable & ~UNCACHEABLE_DEPENDENT) && engine->is_executed() &&
!unit->describe)
{
/*
The subquery has already been executed (for real, it wasn't EXPLAIN's
fake exe... | 314,107,604,341,266,760,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,907 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_in_subselect::fix_fields(THD *thd_arg, Item **ref)
{
uint outer_cols_num;
List<Item> *inner_cols;
char const *save_where= thd_arg->where;
DBUG_ENTER("Item_in_subselect::fix_fields");
thd= thd_arg;
DBUG_ASSERT(unit->thd == thd);
if (test_strategy(SUBS_SEMI_JOIN))
DBUG_RETURN( !( (*ref)= new... | 302,120,330,192,472,560,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,908 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | subselect_single_select_engine::
subselect_single_select_engine(st_select_lex *select,
select_result_interceptor *result_arg,
Item_subselect *item_arg)
:subselect_engine(item_arg, result_arg),
prepared(0), executed(0),
select_lex(select), join(0)
{
select_lex->master_unit()->item= item_arg... | 219,029,962,547,681,060,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,909 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_subselect::update_used_tables()
{
if (!forced_const)
{
recalc_used_tables(parent_select, FALSE);
if (!(engine->uncacheable() & ~UNCACHEABLE_EXPLAIN))
{
// did all used tables become static?
if (!(used_tables_cache & ~engine->upper_select_const_tables()) &&
! with_recursiv... | 304,784,038,182,736,340,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,910 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | String *Item_singlerow_subselect::val_str(String *str)
{
DBUG_ASSERT(fixed == 1);
if (forced_const)
{
String *res= value->val_str(str);
null_value= value->null_value;
return res;
}
if (!exec() && !value->null_value)
{
null_value= FALSE;
return value->val_str(str);
}
else
{
rese... | 230,283,402,898,678,930,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,911 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | my_decimal *Item_singlerow_subselect::val_decimal(my_decimal *decimal_value)
{
DBUG_ASSERT(fixed == 1);
if (forced_const)
{
my_decimal *val= value->val_decimal(decimal_value);
null_value= value->null_value;
return val;
}
if (!exec() && !value->null_value)
{
null_value= FALSE;
return valu... | 175,900,121,795,463,000,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,912 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_single_select_engine::fix_length_and_dec(Item_cache **row)
{
DBUG_ASSERT(row || select_lex->item_list.elements==1);
if (set_row(select_lex->item_list, row))
return TRUE;
item->collation.set(row[0]->collation);
if (cols() != 1)
maybe_null= 0;
return FALSE;
} | 305,864,498,420,766,070,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,913 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_allany_subselect::is_maxmin_applicable(JOIN *join)
{
/*
Check if max/min optimization applicable: It is top item of
WHERE condition.
*/
return (abort_on_null || (upper_item && upper_item->is_top_level_item())) &&
!(join->select_lex->master_unit()->uncacheable & ~UNCACHEABLE_EXPLAIN) && !fu... | 82,087,761,591,822,510,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,914 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | subselect_rowid_merge_engine::~subselect_rowid_merge_engine()
{
/* None of the resources below is allocated if there are no ordered keys. */
if (merge_keys_count)
{
my_free(row_num_to_rowid);
for (uint i= 0; i < merge_keys_count; i++)
delete merge_keys[i];
delete_queue(&pq);
if (tmp_table->f... | 10,227,951,785,636,671,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,915 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_exists_subselect::print(String *str, enum_query_type query_type)
{
str->append(STRING_WITH_LEN("exists"));
Item_subselect::print(str, query_type);
} | 116,688,089,068,534,300,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,916 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item_singlerow_subselect::invalidate_and_restore_select_lex()
{
DBUG_ENTER("Item_singlerow_subselect::invalidate_and_restore_select_lex");
st_select_lex *result= get_select_lex();
DBUG_ASSERT(result);
/*
This code restore the parse tree in it's state before the execution of
Item_singlerow_subselect::I... | 203,836,953,408,327,020,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,917 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | uint Item_singlerow_subselect::cols()
{
return engine->cols();
} | 315,810,458,302,833,000,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,918 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_exists_subselect::fix_fields(THD *thd, Item **ref)
{
DBUG_ENTER("Item_exists_subselect::fix_fields");
if (exists_transformed)
DBUG_RETURN( !( (*ref)= new (thd->mem_root) Item_int(thd, 1)));
DBUG_RETURN(Item_subselect::fix_fields(thd, ref));
} | 108,259,649,648,432,580,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,919 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_allany_subselect::no_rows_in_result()
{
/*
Subquery predicates outside of the SELECT list must be evaluated in order
to possibly filter the special result row generated for implicit grouping
if the subquery is in the HAVING clause.
If the predicate is constant, we need its actual value in th... | 303,078,802,326,256,350,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,920 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_hash_sj_engine::make_semi_join_conds()
{
/*
Table reference for tmp_table that is used to resolve column references
(Item_fields) to columns in tmp_table.
*/
TABLE_LIST *tmp_table_ref;
/* Name resolution context for all tmp_table columns created below. */
Name_resolution_context *contex... | 150,435,028,338,793,440,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,921 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | int Item_in_subselect::optimize(double *out_rows, double *cost)
{
int res;
DBUG_ENTER("Item_in_subselect::optimize");
DBUG_ASSERT(fixed);
SELECT_LEX *save_select= thd->lex->current_select;
JOIN *join= unit->first_select()->join;
thd->lex->current_select= join->select_lex;
if ((res= join->optimize()))
... | 167,353,261,968,676,310,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,922 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | subselect_rowid_merge_engine::cmp_keys_by_cur_rownum(void *arg,
uchar *k1, uchar *k2)
{
rownum_t r1= ((Ordered_key*) k1)->current();
rownum_t r2= ((Ordered_key*) k2)->current();
return (r1 < r2) ? -1 : (r1 > r2) ? 1 : 0;
} | 234,938,224,743,329,300,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,923 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item_in_subselect::select_in_like_transformer(JOIN *join)
{
Query_arena *arena= 0, backup;
SELECT_LEX *current= thd->lex->current_select;
const char *save_where= thd->where;
bool trans_res= true;
bool result;
DBUG_ENTER("Item_in_subselect::select_in_like_transformer");
DBUG_ASSERT(thd == join->thd);
/... | 331,674,141,389,810,500,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,924 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_subselect::init_expr_cache_tracker(THD *thd)
{
if(!expr_cache)
return;
Explain_query *qw= thd->lex->explain;
DBUG_ASSERT(qw);
Explain_node *node= qw->get_node(unit->first_select()->select_number);
if (!node)
return;
DBUG_ASSERT(expr_cache->type() == Item::EXPR_CACHE_ITEM);
node->cache_t... | 7,691,203,688,339,697,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,925 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_subselect::print(String *str, enum_query_type query_type)
{
if (query_type & QT_ITEM_SUBSELECT_ID_ONLY)
{
str->append("(subquery#");
if (unit && unit->first_select())
{
char buf[64];
ll2str(unit->first_select()->select_number, buf, 10, 0);
str->append(buf);
}
else
... | 330,208,656,872,643,600,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,926 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_subselect::eliminate_subselect_processor(void *arg)
{
unit->item= NULL;
unit->exclude();
eliminated= TRUE;
return FALSE;
} | 244,720,044,038,264,040,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,927 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Ordered_key::sort_keys()
{
if (tbl->file->ha_rnd_init_with_error(0))
return TRUE;
my_qsort2(key_buff, (size_t) key_buff_elements, sizeof(rownum_t),
(qsort2_cmp) &cmp_keys_by_row_data_and_rownum, (void*) this);
/* Invalidate the current row position. */
cur_key_idx= HA_POS_ERROR;
tbl->file... | 294,207,336,010,283,900,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,928 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_singlerow_subselect::bring_value()
{
if (!exec() && assigned())
{
null_value= true;
for (uint i= 0; i < max_columns ; i++)
{
if (!row[i]->null_value)
{
null_value= false;
return;
}
}
}
else
reset();
} | 60,376,001,895,445,045,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,929 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_in_subselect::cleanup()
{
DBUG_ENTER("Item_in_subselect::cleanup");
if (left_expr_cache)
{
left_expr_cache->delete_elements();
delete left_expr_cache;
left_expr_cache= NULL;
}
/*
TODO: This breaks the commented assert in add_strategy().
in_strategy&= ~SUBS_STRATEGY_CHOSEN;
*/
... | 266,752,793,992,916,300,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.