- Description
- The POWER9 backend in GNU Compiler Collection (GCC) before version 10 could optimize multiple calls of the __builtin_darn intrinsic into a single call, thus reducing the entropy of the random number generator. This occurred because a volatile operation was not specified. For example, within a single execution of a program, the output of every __builtin_darn() call may be the same.
- Source
- cve@mitre.org
- NVD status
- Modified
CVSS 3.1
- Type
- Primary
- Base score
- 7.5
- Impact score
- 3.6
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Severity
- HIGH
CVSS 2.0
- Type
- Primary
- Base score
- 5
- Impact score
- 2.9
- Exploitability score
- 10
- Vector string
- AV:N/AC:L/Au:N/C:P/I:N/A:N
- nvd@nist.gov
- CWE-331
- Hype score
- Not currently trending
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5C24970D-A6E6-4AFC-876C-AA77A4D9F2C9",
"versionEndExcluding": "7.5.0"
},
{
"criteria": "cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "0C079769-9E9D-4338-9246-B80DB23FF8C2",
"versionEndExcluding": "8.4.0",
"versionStartIncluding": "8.0"
},
{
"criteria": "cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D143DC53-6A5E-42E7-AF7B-9568650BF837",
"versionEndExcluding": "9.3.0",
"versionStartIncluding": "9.0"
},
{
"criteria": "cpe:2.3:a:gnu:gcc:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1CBB0226-5EEA-4106-B59D-35BAFA97C1B6",
"versionEndExcluding": "10.1.0",
"versionStartIncluding": "10.0"
}
],
"operator": "OR"
}
]
},
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F1E78106-58E6-4D59-990F-75DA575BFAD9"
},
{
"criteria": "cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B620311B-34A3-48A6-82DF-6F078D7A4493"
}
],
"operator": "OR"
}
]
}
]