Daemon crash via signed DNSSL label length
Published Mar 25, 2022 · Updated Aug 3, 2024
Heap-based buffer overflow in OpenBSD slaacd 6.9 and 7.0 before 2022-03-22 allows remote attackers to crash the daemon via IPv6. The parse_dnssl function reads an attacker-controlled label length into a signed integer, bypasses its bounds checks, and passes the negative value to memcpy as a huge unsigned size. The attacker must reach the target over its local IPv6 link; privilege separation and pledge confine the overflow to the unprivileged daemon, making code execution unlikely.
Summary
What happened
Heap-based buffer overflow in OpenBSD slaacd 6.9 and 7.0 before 2022-03-22 allows remote attackers to crash the daemon via IPv6. The parse_dnssl function reads an attacker-controlled label length into a signed integer, bypasses its bounds checks, and passes the negative value to memcpy as a huge unsigned size. The attacker must reach the target over its local IPv6 link; privilege separation and pledge confine the overflow to the unprivileged daemon, making code execution unlikely.
The record
- CVE
- CVE-2022-27882
- Published
- Mar 25, 2022
- Updated
- Aug 3, 2024
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-681, T1499.004
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 25, 2022CVE publishedPublication date reported by the CVE source.
- Aug 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Quarkslab slaacd DNSSL proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo