Appsecure logo

CVE-2021-3670: Medium Vulnerability in Red Hat Samba

CVE-2021-3670 is a medium-severity vulnerability affecting Samba, impacting systems' availability. Organizations should prioritize patching to mitigate potential risks.

MEDIUMCVSS 6.5 · Published August 23, 2022

Not a customer? See how AppSecure simulates real world attacks to protect your infrastructure.

Speak to Experts

CVE-2021-3670 is classified as a medium-severity vulnerability with a CVSS score of 6.5. This vulnerability allows the MaxQueryDuration setting to be ignored in Samba AD DC LDAP, which could lead to availability issues in affected systems. Organizations running vulnerable versions of Samba should be particularly vigilant, as the potential impact includes system downtime and degraded performance.

The vulnerability affects systems using Samba versions from 4.1.0 to below 4.16.0, as well as Red Hat storage and Fedora 35. With the attack vector being network-based and a low attack complexity, the risk to organizations includes exploitation opportunities that can lead to significant availability impacts.

Given the nature of this vulnerability, organizations should prioritize patching immediately to prevent any potential exploitation. While there are currently no known exploits or public proof-of-concept available, the characteristics of this vulnerability necessitate swift action to mitigate risks.

The vulnerability was published on August 23, 2022, and has since been analyzed. Organizations should schedule remediation and ensure their systems are updated to the latest patched versions to avoid any potential disruptions.

Vulnerability Details

CVE-2021-3670 allows the MaxQueryDuration setting to be ignored in Samba AD DC LDAP, leading to potential availability issues. The vulnerability has a CVSS score of 6.5, indicating a medium level of severity. The affected products include Samba versions from 4.1.0 up to but not including 4.16.0, Red Hat storage, and Fedora 35.

The vulnerability was made public on August 23, 2022, and has been classified under CWE-400, which relates to the lack of proper throttling or rate limiting in applications.

Technical Analysis

The root cause of CVE-2021-3670 is the failure to honor the MaxQueryDuration setting in Samba's LDAP component. This oversight can lead to excessive resource usage, potentially resulting in denial of service (DoS) conditions.

The attack vector is network-based, meaning that an attacker could exploit this vulnerability remotely. The attack complexity is low, which means that it does not require extensive technical skills to execute an attack. Privileges required to exploit this vulnerability are considered low, and no user interaction is necessary.

The confidentiality and integrity impacts are both rated as none, while the availability impact is rated as high. This indicates that while sensitive data may not be at risk, the operational functionality of the affected system could be critically compromised.

Risk & Impact Analysis

Organizations deploying Samba in their environments face significant risks associated with CVE-2021-3670. The potential for denial of service due to the vulnerability can lead to severe operational disruptions, impacting business continuity.

Organizations should consider the blast radius of this vulnerability, particularly if Samba is critical to their infrastructure. The urgency for remediation is high due to the moderate CVSS score and the nature of the potential attack vector.

Given that the vulnerability is not currently in the KEV catalog and has no known public exploits, organizations should still treat it with priority, ensuring that they are prepared to respond should it come under active exploitation.

Exploitation Status

Signal

Status

Known Exploit

No

Public PoC

No

Actively Exploited

No

Ransomware Use

No

Affected Versions

The affected versions include Samba versions from 4.1.0 to below 4.16.0, as well as Red Hat storage version 3.0, and Fedora 35. Organizations should ensure that they update to the latest patched versions to mitigate risks associated with this vulnerability.

Mitigation & Remediation

Organizations should prioritize patching affected systems. The latest patches for Samba are available through the official Samba repository. Additionally, organizations can benefit from implementing security controls to limit access to vulnerable systems.

For further assistance on conducting penetration testing to validate the effectiveness of patches, organizations may consider engaging in penetration testing services.

Detection Guidance

Organizations should monitor logs for unusual LDAP query patterns and potential timeout occurrences. Behavioral anomalies related to service availability should also be tracked to identify potential exploitation attempts.

AppSecure Threat Intelligence Insight

The long-term significance of CVE-2021-3670 lies in its potential to impact availability in systems leveraging Samba for directory services. This vulnerability represents a pattern of insufficient request handling, emphasizing the need for robust security measures in infrastructure.

Organizations can benefit from lessons learned from this vulnerability by reviewing their security posture, especially in terms of resource management and application configuration. As a strategic defensive takeaway, consider implementing regular security assessments and adopting best practices for application security.

For additional resources on vulnerability management, organizations can refer to the following guides: vulnerability management program design and penetration testing methodology to enhance security measures.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Latest CVEs. Recently published vulnerabilities from the NVD database.

View all vulnerabilities
CVE IDSeverity
CVE-2025-65418HIGH
CVE-2025-65417MEDIUM
CVE-2025-65416MEDIUM
CVE-2025-65415MEDIUM
CVE-2025-61314HIGH

Protect Your Business with Hacker-Focused Approach.