RUSTSEC-2019-0027

Source
https://rustsec.org/advisories/RUSTSEC-2019-0027
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2019-0027.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2019-0027
Aliases
Published
2019-10-14T12:00:00Z
Modified
2023-11-08T04:01:32.045348Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Flaw in Scalar::check_overflow allows side-channel timing attack
Details

Versions of libsecp256k1 prior to 0.3.1 did not execute Scalar::check_overflow in constant time.

This allows an attacker to potentially leak information via a timing attack.

The flaw was corrected by modifying Scalar::check_overflow to execute in constant time.

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

Affected packages

crates.io / libsecp256k1

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.3.1

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [
            "libsecp256k1::Scalar::check_overflow"
        ],
        "arch": []
    }
}

Database specific

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