一、 漏洞 CVE-2025-0343 基础信息
漏洞标题
N/A
来源:AIGC 神龙大模型
漏洞描述信息
Swift ASN.1在解析特定的BER/DER结构时可能会导致崩溃。这一崩溃是由ASN.1库本身的混淆引起的,该库假设某些对象只能以构造形式或原语形式提供,如果这个约束未得到满足,就会触发preconditionFailure。 重要的是,这些约束在DER中实际上是必须为真的,但在早期节点解析器中并没有强制执行这一正确性,因此依赖它在后期解码中是不正确的,而库却这样做了。 当解析任何DER/BER格式的对象时,都可能触发这些崩溃。这里不存在内存安全问题:崩溃是从Swift运行时优雅地发生的。这一问题的影响在于,它可以用作解析来自未知源的BER/DER数据时的拒绝服务向量,例如在解析TLS证书时。
来源:AIGC 神龙大模型
CVSS信息
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
来源:AIGC 神龙大模型
漏洞类别
输入验证不恰当
来源:AIGC 神龙大模型
漏洞标题
N/A
来源:美国国家漏洞数据库 NVD
漏洞描述信息
Swift ASN.1 can be caused to crash when parsing certain BER/DER constructions. This crash is caused by a confusion in the ASN.1 library itself which assumes that certain objects can only be provided in either constructed or primitive forms, and will trigger a preconditionFailure if that constraint isn't met. Importantly, these constraints are actually required to be true in DER, but that correctness wasn't enforced on the early node parser side so it was incorrect to rely on it later on in decoding, which is what the library did. These crashes can be triggered when parsing any DER/BER format object. There is no memory-safety issue here: the crash is a graceful one from the Swift runtime. The impact of this is that it can be used as a denial-of-service vector when parsing BER/DER data from unknown sources, e.g. when parsing TLS certificates.
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
N/A
来源:美国国家漏洞数据库 NVD
漏洞标题
SwiftASN1 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
SwiftASN1是Apple开源的一个 Swift 的 ASN.1 实现。 SwiftASN1 1.3.0之前版本存在安全漏洞,该漏洞源于在解析某些BER/DER构造时对对象形式的假设错误,当这些假设不成立时会触发先决条件失败。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2025-0343 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2025-0343 的情报信息