RUSTSEC-2024-0336

Source
https://rustsec.org/advisories/RUSTSEC-2024-0336
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2024-0336.json
Aliases
Published
2024-04-19T12:00:00Z
Modified
2024-04-20T02:21:14Z
Details

If a close_notify alert is received during a handshake, complete_io does not terminate.

Callers which do not call complete_io are not affected.

rustls-tokio and rustls-ffi do not call complete_io and are not affected.

rustls::Stream and rustls::StreamOwned types use complete_io and are affected.

References

Affected packages

crates.io / rustls

Package

Name
rustls

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.21.11
Introduced
0.22.0
Fixed
0.22.4
Introduced
0.23.0
Fixed
0.23.5

Ecosystem specific

{
    "affects": {
        "os": [],
        "functions": [
            "rustls::ConnectionCommon::complete_io"
        ],
        "arch": []
    }
}

Database specific

{
    "cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
    "informational": null,
    "categories": [
        "denial-of-service"
    ]
}