PYSEC-2024-155

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/cbor2/PYSEC-2024-155.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2024-155
Aliases
Published
2024-02-19T23:15:07Z
Modified
2026-06-10T17:14:17.453532103Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

cbor2 provides encoding and decoding for the Concise Binary Object Representation (CBOR) (RFC 8949) serialization format. Starting in version 5.5.1 and prior to version 5.6.2, an attacker can crash a service using cbor2 to parse a CBOR binary by sending a long enough object. Version 5.6.2 contains a patch for this issue.

References

Affected packages

PyPI / cbor2

Package

Affected ranges

Type
GIT
Repo
https://github.com/agronholm/cbor2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Type
ECOSYSTEM
Events
Introduced
5.5.1
Fixed
5.6.2

Affected versions

1.*
1.0.0
1.1.0
2.*
2.0.0
3.*
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
4.*
4.0.0
4.0.1
4.1.0
4.1.1
4.1.2
4.2.0
5.*
5.0.0
5.0.1
5.1.0
5.1.1
5.1.2
5.2.0
5.3.0
5.4.0
5.4.1
5.4.2
5.4.2.post1
5.4.3
5.4.4
5.4.5
5.4.6
5.5.0
5.5.1
5.6.0
5.6.1

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/cbor2/PYSEC-2024-155.yaml"