Improper Handling of Syntactically Invalid Structure Affecting github.com/swift-asn1 package, versions <1.3.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SWIFT-SWIFTASN1-8623545
  • published15 Jan 2025
  • disclosed14 Jan 2025
  • creditbaarde

Introduced: 14 Jan 2025

NewCVE-2025-0343  (opens in a new tab)
CWE-228  (opens in a new tab)

How to fix?

Upgrade swift-asn1 to version 1.3.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Handling of Syntactically Invalid Structure due to the parsing process. An attacker can cause the application to crash by sending specially crafted BER/DER data.

References

CVSS Scores

version 4.0
version 3.1