ID CVE-2020-36323
Summary In the standard library in Rust before 1.52.0, there is an optimization for joining strings that can cause uninitialized bytes to be exposed (or the program to crash) if the borrowed string changes after its length is checked.
References
Vulnerable Configurations
  • cpe:2.3:a:rust-lang:rust:0.1:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:0.2:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:0.3:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:0.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:0.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:0.4:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:0.5:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:0.5:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:0.6:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:0.6:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:0.7:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:0.7:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:0.8:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:0.8:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:0.9:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:0.9:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:0.10:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:0.10:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:0.11.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:0.11.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:0.12.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:0.12.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.0.0:-:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.0.0:-:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.0.0:alpha:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.0.0:alpha:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.0.0:alpha2:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.0.0:alpha2:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.0.0:alpha_2:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.0.0:alpha_2:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.0.0:beta:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.0.0:beta:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.6.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.7.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.8.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.9.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.10.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.11.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.11.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.12.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.12.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.12.1:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.12.1:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.13.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.13.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.14.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.14.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.15.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.15.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.15.1:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.15.1:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.16.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.16.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.17.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.17.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.18.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.18.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.19.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.19.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.20.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.20.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.21.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.21.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.22.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.22.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.22.1:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.22.1:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.23.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.23.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.24.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.24.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.24.1:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.24.1:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.25.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.25.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.26.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.26.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.26.1:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.26.1:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.26.2:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.26.2:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.27.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.27.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.27.1:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.27.1:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.27.2:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.27.2:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.28.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.28.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.29.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.29.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.29.1:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.29.1:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.29.2:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.29.2:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.30.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.30.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.30.1:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.30.1:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.31.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.31.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.31.1:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.31.1:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.32.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.32.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.33.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.33.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.34.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.34.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.34.1:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.34.1:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.34.2:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.34.2:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.35.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.35.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.36.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.36.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.37.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.37.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.38.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.38.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.39.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.39.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.40.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.40.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.41.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.41.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.41.1:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.41.1:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.42.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.42.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.43.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.43.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.43.1:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.43.1:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.44.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.44.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.44.1:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.44.1:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.45.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.45.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.45.1:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.45.1:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.45.2:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.45.2:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.46.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.46.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.47.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.47.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.48.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.48.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.49.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.49.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.50.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.50.0:*:*:*:*:*:*:*
  • cpe:2.3:a:rust-lang:rust:1.51.0:*:*:*:*:*:*:*
    cpe:2.3:a:rust-lang:rust:1.51.0:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
CVSS
Base: 6.4 (as of 27-04-2021 - 14:37)
Impact:
Exploitability:
CWE CWE-134
CAPEC
  • String Format Overflow in syslog()
    This attack targets the format string vulnerabilities in the syslog() function. An attacker would typically inject malicious input in the format string parameter of the syslog function. This is a common problem, and many public vulnerabilities and associated exploits have been posted.
  • Format String Injection
    An adversary includes formatting characters in a string input field on the target application. Most applications assume that users will provide static text and may respond unpredictably to the presence of formatting character. For example, in certain functions of the C programming languages such as printf, the formatting character %s will print the contents of a memory location expecting this location to identify a string and the formatting character %n prints the number of DWORD written in the memory. An adversary can use this to read or write to memory locations or files, or simply to manipulate the value of the resulting text in unexpected ways. Reading or writing memory may result in program crashes and writing memory could result in the execution of arbitrary code if the adversary can write to the program stack.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL NONE PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:P/I:N/A:P
Last major update 27-04-2021 - 14:37
Published 14-04-2021 - 07:15
Last modified 27-04-2021 - 14:37
Back to Top