CVE-2018-10903

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-10903
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-10903.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-10903
Aliases
Related
Published
2018-07-30T16:29:00Z
Modified
2024-10-12T03:04:25.771751Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

A flaw was found in python-cryptography versions between >=1.9.0 and <2.3. The finalizewithtag API did not enforce a minimum tag length. If a user did not validate the input length prior to passing it to finalizewithtag an attacker could craft an invalid payload with a shortened tag (e.g. 1 byte) such that they would have a 1 in 256 chance of passing the MAC check. GCM tag forgeries can cause key leakage.

References

Affected packages

Debian:11 / python-cryptography

Package

Name
python-cryptography
Purl
pkg:deb/debian/python-cryptography?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / python-cryptography

Package

Name
python-cryptography
Purl
pkg:deb/debian/python-cryptography?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / python-cryptography

Package

Name
python-cryptography
Purl
pkg:deb/debian/python-cryptography?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/pyca/cryptography

Affected ranges

Type
GIT
Repo
https://github.com/pyca/cryptography
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.1
0.2
0.3
0.4
0.5
0.5.1
0.6
0.7
0.8
0.9

1.*

1.0
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9

2.*

2.0
2.1
2.2