Rustls vulnerable to an infinite loop in rustls::conn::ConnectionCommon::complete_io() with proper client input (rustls rustls)

CVE-2024-32650
HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 0.95 % · percentile 61 ()
State
PUBLISHED
Published
Updated
Assigner
GitHub_M
NVD status
Deferred

Description

Rustls is a modern TLS library written in Rust. `rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input. When using a blocking rustls server, if a client send a `close_notify` message immediately after `client_hello`, the server's `complete_io` will get in an infinite loop. This vulnerability is fixed in 0.23.5, 0.22.4, and 0.21.11.

Weaknesses (CWE)

  • CWE-835 — Loop with Unreachable Exit Condition

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HGitHub_M
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · security-advisories@github.com (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
rustls · rustlsaffected >= 0.23.0, < 0.23.5 ; affected >= 0.22.0, < 0.22.4 ; affected >= 0.21.0, < 0.21.11 ; affected = 0.20.0

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD