Enterprise Linux: Allocation of Resources Without Limits or Throttling
CVE-2023-50387 is a high-severity allocation of resources without limits or throttling vulnerability in Enterprise Linux from Red Hat, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected Enterprise Linux versions: 6.0; 7.0; 8.0, and others listed below. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 100% chance of exploitation within 30 days, which is in the top 0.01% of all scored CVEs.
Exploitation in the next 30 days is more likely than not, according to EPSS.
What to do
- Update Dnsmasq to 2.90 or a later version.
- Update Knot Resolver to 5.71 or a later version.
- Update Recursor to 4.8.6 or 4.9.3 or 5.0.2, whichever matches your release line, or a later version.
- Read the advisory on docs.powerdns.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Red Hat | Enterprise Linux | 6.0; 7.0; 8.0; 9.0 | Not stated |
| Microsoft | Windows Server 2008 | r2 | Not stated |
| Microsoft | Windows Server 2012 | r2 | Not stated |
| Microsoft | Windows Server 2016 | Not specified in the record | Not stated |
| Microsoft | Windows Server 2019 | Not specified in the record | Not stated |
| Microsoft | Windows Server 2022 | Not specified in the record | Not stated |
| Microsoft | Windows Server 2022 23h2 | Not specified in the record | Not stated |
| Fedora Project | Fedora | 39 | Not stated |
| Thekelleys | Dnsmasq | before 2.90 | 2.90 |
| Nic | Knot Resolver | before 5.71 | 5.71 |
| Powerdns | Recursor | 4.8.0 up to, but not including, 4.8.6; 4.9.0 up to, but not including, 4.9.3; 5.0.0 up to, but not including, 5.0.2 | 4.8.6, 4.9.3, 5.0.2 |
| ISC | Bind | 9.0.0 through 9.16.46; 9.18.0 through 9.18.22; 9.19.0 through 9.19.20 | Not stated |
| Nlnetlabs | Unbound | before 1.19.1 | 1.19.1 |
Version data comes from NVD's product matching. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- NoneNo data is disclosed.
- Integrity
- NoneNothing can be modified.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.5 | High | NVD |
| CVSS 3.1 | 7.5 | High | CISA (ADP) |
Official description
Certain DNSSEC aspects of the DNS protocol (in RFC 4033, 4034, 4035, 6840, and related RFCs) allow remote attackers to cause a denial of service (CPU consumption) via one or more DNSSEC responses, aka the "KeyTrap" issue. One of the concerns is that, when there is a zone with many DNSKEY and RRSIG records, the protocol specification implies that an algorithm must evaluate all combinations of DNSKEY and RRSIG records.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Allocation of Resources Without Limits or Throttling
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
How developers prevent this class of flaw
- Clearly specify the minimum and maximum expectations for capabilities, and dictate which behaviors are acceptable when resource allocation reaches limits.
- Limit the amount of resources that are accessible to unprivileged users. Set per-user limits for resources. Allow the system administrator to define these limits. Be careful to avoid CWE-410.
- For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.
More Allocation of Resources Without Limits or Throttling vulnerabilities (CWE-770)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Patches and release notes
Third-party and government advisories
- access.redhat.com/security/cve/CVE-2023-50387Third Party Advisory
- kb.isc.org/docs/cve-2023-50387Third Party Advisory, VDB Entry
- lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2024q1/017430.htmlMailing List, Third Party Advisory
- news.ycombinator.com/item?id=39367411Third Party Advisory
- athene-center.de/aktuelles/key-trapThird Party Advisory
- athene-center.de/fileadmin/content/PDF/Technical_Report_KeyTrap.pdfTechnical Description, Third Party Advisory
- isc.org/blogs/2024-bind-security-release/Third Party Advisory
- securityweek.com/keytrap-dns-attack-could-disable-large-parts-of-internet-researchers/Press/Media Coverage, Third Party Advisory
Other references
- openwall.com/lists/oss-security/2024/02/16/2Mailing List
- openwall.com/lists/oss-security/2024/02/16/3Mailing List
- bugzilla.suse.com/show_bug.cgi?id=1219823Issue Tracking
- lists.debian.org/debian-lts-announce/2024/02/msg00006.html
- lists.debian.org/debian-lts-announce/2024/05/msg00011.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6FV5O347JTX7P5OZA6NG…
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BUIP7T7Z4T3UHLXFWG6X…Mailing List
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVRDSJVZKMCXKKPP6PNR…
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IGSLGKUAQTW5JPPZCMF5…
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PNNHZSZPG2E7NBMBNYPG…Mailing List
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RGS7JN6FZXUSTC2XKQHH…
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVYA42BLXUCIDLD35YIJ…Mailing List
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TEXGOYGW7DBS3N2QSSQO…
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UQESRWMJCF4JEYJEAKLR…
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZDZFMEKQTZ4L7RY46FCE…
Other vulnerabilities in Enterprise Linux
- 8.1 High severity
- 9.8 Critical severity
- 8.6 High severity
- 8.6 High severity
- 8.2 High severity
- 8.6 High severity
Recent Allocation of Resources Without Limits or Throttling vulnerabilities
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
Spotted an error? Tell us.