Arama; açıklama metninde, ürün ve üretici adlarında ve açık türlerinde (Türkçe ya da İngilizce, eksik yazımla da) yapılır.

CVE-2023-40030
rust-lang rust

Puan6.1 Orta
CVSS 3.1
İstismar olasılığı (EPSS)1.1%
önümüzdeki 30 gün içinde
KategoriSiteler arası betik (XSS)
Yayımlanma24 Ağustos 2023
Son güncelleme: 17 Haziran 2026

Kısaca

Bu açık internet üzerinden, uzaktan, oturum açmadan, kullanıcının bir bağlantıya tıklaması ya da dosya açması gibi bir etkileşimle istismar edilebilir.

Etkisi sınırlı: gizli bilgilerin okunması, verilerin değiştirilmesi.

Etki, açığın bulunduğu bileşenin dışındaki sistemlere de yayılabilir.

Açık türü: Siteler arası betik (XSS).

✨ Yapay zekâ yorumu

Kısa bir reklam izledikten sonra bu açığın sade bir dille yorumu gösterilir. Yapay zekâ hata yapabilir; kararlarınızı resmi kaynaklara göre verin.

Resmi açıklama (İngilizce)

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 stringent about what it considers a valid feature name and has not allowed such feature names. As the feature names were included unescaped in the timings report, they could be used to inject Javascript into the page, for example with a feature name like `features = ["<img src='' onerror=alert(0)"]`. If this report were subsequently uploaded to a domain that uses credentials, the injected Javascript could access resources from the website visitor. This issue was fixed in Rust 1.72 by turning the future incompatibility warning into an error. Users should still exercise care in which package they download, by only including trusted dependencies in their projects. Please note that even with these vulnerabilities fixed, by design Cargo allows arbitrary code execution at build time thanks to build scripts and procedural macros: a malicious dependency will be able to cause damage regardless of these vulnerabilities. crates.io has server-side checks preventing this attack, and there are no packages on crates.io exploiting these vulnerabilities. crates.io users still need to excercise care in choosing their dependencies though, as remote code execution is allowed by design there as well.

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Açık türü: CWE-79 – Siteler arası betik (XSS)

Etkilenen ürünler

ÜreticiÜrünSürümler
rust-langrust>=1.60.0 <1.72.0

Kaynaklar

Aynı kategoriden son açıklar

  • CVE-2026-133643 Orta 6.1
    Improper neutralization of input during web page generation ('Cross-site Scripting') vulnerability in Apache Struts. If the application uses the doubleselect tag with the doubleMultiple attribute set, the value the tag…
    Siteler arası betik (XSS) · 30 Kasım 2026
  • CVE-2026-133639 Orta 6.1
    Improper neutralization of input during web page generation ('Cross-site Scripting') vulnerability in Apache Struts. If the application uses the Javatemplates plugin, an additional attribute passed to a UI tag, that is…
    Siteler arası betik (XSS) · 30 Kasım 2026
  • CVE-2026-93583 Yüksek 7.6
    A stored Cross-Site Scripting (XSS) vulnerability has been identified in EV Observe before 2026.2. An authenticated user with low privileges can inject malicious JavaScript code into a user profile field. The injected…
    Siteler arası betik (XSS) · 30 Kasım 2026
  • CVE-2026-124264 Orta 5.3
    Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in silverplugins217 Dynamic Text Field For Contact Form 7 dynamic-text-field-for-contact-form-7 allows Code Injection.This…
    Siteler arası betik (XSS) · 30 Kasım 2026
  • CVE-2026-79096 Puanlanmadı
    Improper neutralization of alternate XSS syntax vulnerability in Apache OpenMeetings. This issue affects Apache OpenMeetings: from 3.3.0 before 9.2.0. Apache OpenMeetings Docker: from 5.1.0 before 9.2.0. The attacker…
    Siteler arası betik (XSS) · 30 Kasım 2026
  • CVE-2026-134903 Orta 4.8
    baserCMS contains a cross-site scripting vulnerability in the redirection process after mail form submission, which may allow an attacker to execute arbitrary scripts in the web browser of a user who accesses a website…
    Siteler arası betik (XSS) · 30 Kasım 2026