Security Resilience

CVE-2023-23589

Torproject Tor ≤ 0.4.7.13

Public PoC
Published
14 January 2023
Modified
07 April 2025
Patch / advisory
CVSS Score v3.1 6.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS Score 0.0089 60th percentile
Risk Priority 53 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-23589 is a medium-severity Protection Mechanism Failure (CWE-693) vulnerability in Torproject Tor. Its CVSS base score is 6.5 (Medium).

Operationally, ranked in the top 40% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

The SafeSocks option in Tor before 0.4.7.13 has a logic error in which the unsafe SOCKS4 protocol can be used but not the safe SOCKS4a protocol, aka TROVE-2022-002.

CWE(s)

Related Threats

CVEs Like This One

CVE-2024-0809Shared CWE-693
CVE-2023-32006Shared CWE-693
CVE-2024-31142Shared CWE-693
CVE-2024-0804Shared CWE-693
CVE-2023-2725Related weakness
CVE-2023-39350Related weakness
CVE-2023-4572Related weakness
CVE-2023-2460Related weakness
CVE-2023-20867Related weakness
CVE-2023-4906Related weakness

Affected Assets

torproject
tor
≤ 0.4.7.13
debian
debian linux
10.0, 11.0
fedoraproject
fedora
36, 37

Mitigating Controls

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-693

Implements a reliable, tamperproof protection mechanism whose completeness can be assured.

addresses: CWE-693

Procedures for training on protection mechanisms reduce the chance of protection mechanism failures being present or exploitable.

addresses: CWE-693

Documented procedures to implement assessment, authorization, and monitoring controls prevent these protection mechanisms from failing due to undefined processes.

addresses: CWE-693

Direct evaluation of whether controls produce desired security outcomes detects protection mechanism failures and enables remediation.

addresses: CWE-693

Requires assessment that protection mechanisms are correctly implemented and producing intended security outcomes.

addresses: CWE-693

The POA&M process ensures identified weaknesses in protection mechanisms are documented and scheduled for remediation, reducing the duration they remain exploitable.

addresses: CWE-693

Ongoing control assessments and analysis of monitoring data enable timely detection and response when protection mechanisms fail.

addresses: CWE-693

Impact analysis identifies changes that could weaken or disable existing protection mechanisms.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

A.8.20 implements network-layer protection mechanisms (firewalls, network segmentation, transit encryption, connection filtering, device hardening) that, when well implemented, block exploitation of attacks relying on missing or insufficient network protection; but CWE-693 is a Pillar weakness covering all protection mechanism failures across the product, and the vast majority—application-layer input validation, output encoding, authentication, authorization, memory protection, cryptographic storage—are outside A.8.20's scope.

blocks

A.8.21 mandates authentication, encryption, network connection controls and monitoring for network services, which blocks exploitation of the network-service-related slice of CWE-693; the remainder is bounded and nameable — protection mechanism failures in application logic, sandboxing, signing, virtualization, and other non-network-service domains are outside the clause's scope.

removes

A.8.24 mandates proper cryptographic protections and therefore removes existing CWE-693 instances where the failed or missing protection mechanism is cryptographic, but it does not remove the many non-cryptographic protection-mechanism failures covered by CWE-693, so it addresses only a minority of the class.

prevents

A.8.28's secure coding principles, threat modelling, coding standards, and prohibition of insecure design techniques address a meaningful slice of protection-mechanism failures (missing, insufficient, ignored), but CWE-693 is a Class-level weakness spanning architectural, implementation, and operational protection failures that the clause does not reach, and the practice is fallible.

prevents

A.8.30 carries its effect through the secure-design, coding and testing practices its contract requires of the supplier (8.25–8.29), so it prevents some protection-mechanism failures in outsourced code the way those practices do; CWE-693 is far broader than the format-string case (architecture, runtime, ignored-mechanism failures), so the remainder is large and not cleanly bounded.

removes

A.8.5 mandates authentication mechanisms (MFA, strong authentication, secure log-on procedures), so applied to a system that previously lacked them it removes the authentication-related instances of CWE-693; but CWE-693 is a pillar covering protection mechanism failures across encryption, access control, sandboxing, input validation and many other domains, of which authentication is only one slice, so the remainder is the broad majority of the class.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-693, a pillar-level weakness. Rules are authored against its narrower children: CWE-654, CWE-757.

References