Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

nvd логотип

CVE-2023-40030

Опубликовано: 24 авг. 2023
Источник: nvd
CVSS3: 6.1
EPSS Низкий

Описание

Cargo downloads a Rust project’s dependencies and compiles the project. Starting in Rust 1.60.0 and prior to 1.72, Cargo did not escape Cargo feature names when including them in the report generated by cargo build --timings. A malicious package included as a dependency may inject nearly arbitrary HTML here, potentially leading to cross-site scripting if the report is subsequently uploaded somewhere. The vulnerability affects users relying on dependencies from git, local paths, or alternative registries. Users who solely depend on crates.io are unaffected.

Rust 1.60.0 introduced cargo build --timings, which produces a report of how long the different steps of the build process took. It includes lists of Cargo features for each crate. Prior to Rust 1.72, Cargo feature names were allowed to contain almost any characters (with some exceptions as used by the feature syntax), but it would produce a future incompatibility warning about them since Rust 1.49. crates.io is far more strin

Уязвимые конфигурации

Конфигурация 1
cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:*
Версия от 1.60.0 (включая) до 1.72.0 (исключая)

EPSS

Процентиль: 34%
0.00133
Низкий

6.1 Medium

CVSS3

Дефекты

CWE-79

Связанные уязвимости

CVSS3: 6.1
ubuntu
почти 2 года назад

Cargo downloads a Rust project’s dependencies and compiles the project. Starting in Rust 1.60.0 and prior to 1.72, Cargo did not escape Cargo feature names when including them in the report generated by `cargo build --timings`. A malicious package included as a dependency may inject nearly arbitrary HTML here, potentially leading to cross-site scripting if the report is subsequently uploaded somewhere. The vulnerability affects users relying on dependencies from git, local paths, or alternative registries. Users who solely depend on crates.io are unaffected. Rust 1.60.0 introduced `cargo build --timings`, which produces a report of how long the different steps of the build process took. It includes lists of Cargo features for each crate. Prior to Rust 1.72, Cargo feature names were allowed to contain almost any characters (with some exceptions as used by the feature syntax), but it would produce a future incompatibility warning about them since Rust 1.49. crates.io is far more str...

CVSS3: 6.1
debian
почти 2 года назад

Cargo downloads a Rust project\u2019s dependencies and compiles the pr ...

suse-cvrf
почти 2 года назад

Security update for rust, rust1.72

CVSS3: 6.1
redos
11 месяцев назад

Уязвимость rust

github
почти 2 года назад

Malicious dependencies can inject arbitrary JavaScript into cargo-generated timing reports

EPSS

Процентиль: 34%
0.00133
Низкий

6.1 Medium

CVSS3

Дефекты

CWE-79