{"resultsPerPage":1,"startIndex":0,"totalResults":1,"format":"NVD_CVE","version":"2.0","timestamp":"2026-04-15T13:09:33.931","vulnerabilities":[{"cve":{"id":"CVE-2025-0343","sourceIdentifier":"cve@forums.swift.org","published":"2025-01-15T01:15:13.673","lastModified":"2025-03-24T16:15:33.270","vulnStatus":"Awaiting Analysis","cveTags":[],"descriptions":[{"lang":"en","value":"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.\n\nImportantly, 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.\n\nThese 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."},{"lang":"es","value":"Swift ASN.1 puede bloquearse al analizar ciertas construcciones BER\/DER. Este bloqueo se debe a una confusión en la propia librería ASN.1, que supone que ciertos objetos solo se pueden proporcionar en formas construidas o primitivas, y activará un error de condición previa si no se cumple esa restricción. Es importante destacar que, en realidad, se requiere que estas restricciones sean verdaderas en DER, pero esa corrección no se aplicó en el lado del analizador del nodo inicial, por lo que fue incorrecto confiar en ella más adelante en la decodificación, que es lo que hizo la librería. Estos bloqueos se pueden activar al analizar cualquier objeto con formato DER\/BER. No hay ningún problema de seguridad de la memoria aquí: el bloqueo es elegante desde el entorno de ejecución de Swift. El impacto de esto es que se puede usar como un vector de denegación de servicio al analizar datos BER\/DER de fuentes desconocidas, por ejemplo, al analizar certificados TLS."}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1\/AV:N\/AC:L\/PR:N\/UI:N\/S:U\/C:N\/I:N\/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}]},"weaknesses":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-228"}]}],"references":[{"url":"https:\/\/github.com\/apple\/swift-asn1\/security\/advisories\/GHSA-w8xv-rwgf-4fwh","source":"cve@forums.swift.org"}]}}]}