Unauthenticated service crash via recursive LDAP filters
Published May 6, 2020 · Updated Aug 4, 2024
Uncontrolled recursion in Red Hat Samba before 4.10.15, before 4.11.8, and before 4.12.2 allows remote attackers to crash AD DC LDAP workers. The LDAP server parses pre-authentication ASN.1 filters with a recursive-descent parser that consumes about 600 bytes of stack per nested filter. A deeply nested anonymous LDAP search exhausts the process stack and raises SIGSEGV; worker restart behavior bounds the effect to service disruption, with longer outages under older process models.
Summary
What happened
Uncontrolled recursion in Red Hat Samba before 4.10.15, before 4.11.8, and before 4.12.2 allows remote attackers to crash AD DC LDAP workers. The LDAP server parses pre-authentication ASN.1 filters with a recursive-descent parser that consumes about 600 bytes of stack per nested filter. A deeply nested anonymous LDAP search exhausts the process stack and raises SIGSEGV; worker restart behavior bounds the effect to service disruption, with longer outages under older process models.
The record
- CVE
- CVE-2020-10704
- Published
- May 6, 2020
- Updated
- Aug 4, 2024
- Vendor
- Red Hat
- Product
- Samba
- Classifications
- CWE-674, T1499
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 6, 2020CVE publishedPublication date reported by the CVE source.
- Aug 4, 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?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=All versions before 4.10.15
- Affected versionversion=All versions before 4.11.8
- Affected versionversion=All versions before 4.12.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
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.
Public exploit references
No public exploit references are available in this record.
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