PT-2025-3838 · Apple · Swift Asn.1
Baarde
·
Published
2025-01-14
·
Updated
2025-01-15
·
CVE-2025-0343
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Swift ASN.1 (affected versions not specified)
Description
The issue is caused by a confusion in the ASN.1 library, which assumes that certain objects can only be provided in either constructed or primitive forms. This can trigger a
preconditionFailure if the constraint is not met. The impact of this is that it can be used as a denial-of-service vector when parsing BER/DER data from unknown sources, such as when parsing TLS certificates. There is no memory-safety issue, and the crash is a graceful one from the Swift runtime.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
DoS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Swift Asn.1