RUSTSEC-2019-0005

Source
https://rustsec.org/advisories/RUSTSEC-2019-0005
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2019-0005.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2019-0005
Aliases
Published
2019-06-15T12:00:00Z
Modified
2023-11-08T04:01:13.919164Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Format string vulnerabilities in `pancurses`
Details

pancurses::mvprintw and pancurses::printw passes a pointer from a rust &str to C, allowing hostile input to execute a format string attack, which trivially allows writing arbitrary data to stack memory.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / pancurses

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [
            "pancurses::mvprintw",
            "pancurses::printw"
        ],
        "arch": []
    }
}

Database specific

{
    "cvss": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
    "informational": null,
    "categories": []
}