Heap-based buffer overflow in sort in GNU Coreutils
Multiple products
At a glance
The keycompare_mb function in sort.c in sort in GNU Coreutils through 8.23 on 64-bit platforms performs a size calculation without considering the number of bytes occupied by multibyte characters, which allows attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via long UTF-8 strings.
Source description · CVE List / CNA
System impact
CVSS summary v3.1
- Published:
- Updated:
- EPSS:
- 0.518%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Local
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:gnu | coreutils | Affected versions: ≤ 8.23 |
| Vendor:redhat | coreutilsEnvironments (1)
| Affected versions:Range not specifiedShow full version range for coreutils
|
| Vendor:redhat | coreutils-libsEnvironments (1)
| Affected versions:Range not specifiedShow full version range for coreutils-libs
|
| Vendor:redhat | coreutilsEnvironments (1)
| Affected versions:Range not specifiedShow full version range for coreutils
|
| Vendor:SUSE | coreutilsEnvironments (14)
| Affected versions: < 0:8.32-150400.7.5 |
| Vendor:SUSE | coreutils-docEnvironments (14)
| Affected versions: < 0:8.32-150400.7.5 |
| Vendor:SUSE | coreutils-langEnvironments (14)
| Affected versions: < 0:8.32-150400.7.5 |
| Vendor:SUSE | coreutilsEnvironments (5)
| Affected versions: < 0:8.32-150400.9.6.1 |
| Vendor:SUSE | coreutils-docEnvironments (5)
| Affected versions: < 0:8.32-150400.9.6.1 |
| Vendor:SUSE | coreutils-langEnvironments (5)
| Affected versions: < 0:8.32-150400.9.6.1 |
1–10 of 75 · Page 1 of 8
CVSS scores and metrics7
[email protected] · NVD (Primary)Primary7.8 / 10HighCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hnvd · Wazuh CTI (cna)7.8 / 10HighCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HSUSE · SUSE VEX (adp)7.8 / 10HighCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H[email protected] · NVD (Primary)4.6 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:L/Au:N/C:P/I:P/A:Pnvd · Wazuh CTI (cna)4.6 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:L/Au:N/C:P/I:P/A:Predhat · Wazuh CTI (adp)3.7 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:H/Au:N/C:P/I:P/A:PRed Hat · Red Hat VEX (adp)3.7 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:H/Au:N/C:P/I:P/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences