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

exploitDog

Количество 6

Количество 6

ubuntu логотип

CVE-2022-36113

почти 4 года назад

Cargo is a package manager for the rust programming language. After a package is downloaded, Cargo extracts its source code in the ~/.cargo folder on disk, making it available to the Rust projects it builds. To record when an extraction is successful, Cargo writes "ok" to the .cargo-ok file at the root of the extracted source code once it extracted all the files. It was discovered that Cargo allowed packages to contain a .cargo-ok symbolic link, which Cargo would extract. Then, when Cargo attempted to write "ok" into .cargo-ok, it would actually replace the first two bytes of the file the symlink pointed to with ok. This would allow an attacker to corrupt one file on the machine using Cargo to extract the package. Note that by design Cargo allows code execution at build time, due to build scripts and procedural macros. The vulnerabilities in this advisory allow performing a subset of the possible damage in a harder to track down way. Your dependencies must still be trusted if you wa...

CVSS3: 4.6
EPSS: Низкий
nvd логотип

CVE-2022-36113

почти 4 года назад

Cargo is a package manager for the rust programming language. After a package is downloaded, Cargo extracts its source code in the ~/.cargo folder on disk, making it available to the Rust projects it builds. To record when an extraction is successful, Cargo writes "ok" to the .cargo-ok file at the root of the extracted source code once it extracted all the files. It was discovered that Cargo allowed packages to contain a .cargo-ok symbolic link, which Cargo would extract. Then, when Cargo attempted to write "ok" into .cargo-ok, it would actually replace the first two bytes of the file the symlink pointed to with ok. This would allow an attacker to corrupt one file on the machine using Cargo to extract the package. Note that by design Cargo allows code execution at build time, due to build scripts and procedural macros. The vulnerabilities in this advisory allow performing a subset of the possible damage in a harder to track down way. Your dependencies must still be trusted if you want

CVSS3: 4.6
EPSS: Низкий
msrc логотип

CVE-2022-36113

11 месяцев назад

Extracting malicious crates can corrupt arbitrary files

CVSS3: 4.6
EPSS: Низкий
debian логотип

CVE-2022-36113

почти 4 года назад

Cargo is a package manager for the rust programming language. After a ...

CVSS3: 4.6
EPSS: Низкий
github логотип

GHSA-rfj2-q3h3-hm5j

почти 4 года назад

Cargo extracting malicious crates can corrupt arbitrary files

CVSS3: 3.9
EPSS: Низкий
suse-cvrf логотип

SUSE-SU-2022:3451-1

почти 4 года назад

Security update for rust1.62

EPSS: Низкий

Уязвимостей на страницу

Уязвимость
CVSS
EPSS
Опубликовано
ubuntu логотип
CVE-2022-36113

Cargo is a package manager for the rust programming language. After a package is downloaded, Cargo extracts its source code in the ~/.cargo folder on disk, making it available to the Rust projects it builds. To record when an extraction is successful, Cargo writes "ok" to the .cargo-ok file at the root of the extracted source code once it extracted all the files. It was discovered that Cargo allowed packages to contain a .cargo-ok symbolic link, which Cargo would extract. Then, when Cargo attempted to write "ok" into .cargo-ok, it would actually replace the first two bytes of the file the symlink pointed to with ok. This would allow an attacker to corrupt one file on the machine using Cargo to extract the package. Note that by design Cargo allows code execution at build time, due to build scripts and procedural macros. The vulnerabilities in this advisory allow performing a subset of the possible damage in a harder to track down way. Your dependencies must still be trusted if you wa...

CVSS3: 4.6
1%
Низкий
почти 4 года назад
nvd логотип
CVE-2022-36113

Cargo is a package manager for the rust programming language. After a package is downloaded, Cargo extracts its source code in the ~/.cargo folder on disk, making it available to the Rust projects it builds. To record when an extraction is successful, Cargo writes "ok" to the .cargo-ok file at the root of the extracted source code once it extracted all the files. It was discovered that Cargo allowed packages to contain a .cargo-ok symbolic link, which Cargo would extract. Then, when Cargo attempted to write "ok" into .cargo-ok, it would actually replace the first two bytes of the file the symlink pointed to with ok. This would allow an attacker to corrupt one file on the machine using Cargo to extract the package. Note that by design Cargo allows code execution at build time, due to build scripts and procedural macros. The vulnerabilities in this advisory allow performing a subset of the possible damage in a harder to track down way. Your dependencies must still be trusted if you want

CVSS3: 4.6
1%
Низкий
почти 4 года назад
msrc логотип
CVE-2022-36113

Extracting malicious crates can corrupt arbitrary files

CVSS3: 4.6
1%
Низкий
11 месяцев назад
debian логотип
CVE-2022-36113

Cargo is a package manager for the rust programming language. After a ...

CVSS3: 4.6
1%
Низкий
почти 4 года назад
github логотип
GHSA-rfj2-q3h3-hm5j

Cargo extracting malicious crates can corrupt arbitrary files

CVSS3: 3.9
1%
Низкий
почти 4 года назад
suse-cvrf логотип
SUSE-SU-2022:3451-1

Security update for rust1.62

почти 4 года назад

Уязвимостей на страницу

exploitDog - Комплексное решение для обнаружения, оценки и устранения уязвимостей.