CVE-2022-39294
CVSS V2 None
CVSS V3 High 7.5
Description
conduit-hyper integrates a conduit application with the hyper server. Prior to version 0.4.2, `conduit-hyper` did not check any limit on a request's length before calling [`hyper::body::to_bytes`](https://docs.rs/hyper/latest/hyper/body/fn.to_bytes.html). An attacker could send a malicious request with an abnormally large `Content-Length`, which could lead to a panic if memory allocation failed for that request. In version 0.4.2, `conduit-hyper` sets an internal limit of 128 MiB per request, otherwise returning status 400 ("Bad Request"). This crate is part of the implementation of Rust's [crates.io](https://crates.io/), but that service is not affected due to its existing cloud infrastructure, which already drops such malicious requests. Even with the new limit in place, `conduit-hyper` is not recommended for production use, nor to directly serve the public Internet.
Overview
- CVE ID
- CVE-2022-39294
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-10-31T19:15:10
- Last Modified Date
- 2022-11-02T12:57:39
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:conduit-hyper_project:conduit-hyper:*:*:*:*:*:rust:*:* | 1 | OR | 0.4.2 | |
cpe:2.3:a:conduit-hyper_project:conduit-hyper:0.2.0:-:*:*:*:rust:*:* | 1 | OR | ||
cpe:2.3:a:conduit-hyper_project:conduit-hyper:0.2.0:alpha3:*:*:*:rust:*:* | 1 | OR | ||
cpe:2.3:a:conduit-hyper_project:conduit-hyper:0.2.0:alpha4:*:*:*:rust:*:* | 1 | OR |
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- HIGH
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://github.com/conduit-rust/conduit-hyper/security/advisories/GHSA-9398-5ghf-7pr6 |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-39294 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39294 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-10-31 20:00:20 | Added to TrackCVE | |||
2022-12-07 15:02:00 | 2022-10-31T19:15Z | 2022-10-31T19:15:10 | CVE Published Date | updated |
2022-12-07 15:02:00 | 2022-11-02T12:57:39 | CVE Modified Date | updated | |
2022-12-07 15:02:01 | Analyzed | Vulnerability Status | updated |