{"id":"CVE-2013-0243","aliases":["EUVD-2013-0275","GHSA-4q83-8359-v5v3","HSEC-2023-0005"],"status":"published","title":"haskell-tls-extra before 0.6.1 has Basic Constraints attribute vulnerability may lead to Man in...","description":"haskell-tls-extra before 0.6.1 has Basic Constraints attribute vulnerability may lead to Man in the Middle attacks on TLS connections","severity":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01047,"percentile":0.64416,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2019-12-05T15:16:46Z","modified":"2026-06-16T23:49:02Z","fixes":[{"ecosystem":"Hackage","package":"tls-extra","fixed_in":["0.4.6.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Hackage","package":"tls-extra","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.0"},{"fixed":"0.4.6.1"}]}],"versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.1.9","0.2.0","0.2.1","0.2.2","0.2.3","0.3.0","0.3.1","0.4.0","0.4.1","0.4.2","0.4.2.1","0.4.3","0.4.4","0.4.5","0.4.6"]}],"products":[{"vendor":"haskell","product":"hs-tls"},{"vendor":"haskell-tls-extra","product":"haskell-tls-extra"}],"references":[{"url":"https://security-tracker.debian.org/tracker/CVE-2013-0243","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://access.redhat.com/security/cve/cve-2013-0243","tags":["x_refsource_MISC","x_transferred","Broken Link"]},{"url":"http://www.openwall.com/lists/oss-security/2013/01/30/6","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-0243"},{"url":"https://github.com/advisories/GHSA-4q83-8359-v5v3"},{"url":"https://www.openwall.com/lists/oss-security/2013/01/30/6","tags":["discussion"]},{"url":"https://github.com/haskell-tls/hs-tls/issues/29","tags":["report"]},{"url":"https://github.com/haskell-tls/hs-tls/commit/15885c0649ceabd2f4d2913df8ac6dc63d6b3b37","tags":["fix"]}],"sources":{"cve":[{"id":"CVE-2013-0243","description":"haskell-tls-extra before 0.6.1 has Basic Constraints attribute vulnerability may lead to Man in the Middle attacks on TLS connections","status":"published","published":"2019-12-05T15:16:46Z","modified":"2024-08-06T14:18:09.737Z","updated_at":"2026-11-02T14:34:59.222149Z"}],"euvd":[{"id":"EUVD-2013-0275","description":"haskell-tls-extra before 0.6.1 has Basic Constraints attribute vulnerability may lead to Man in the Middle attacks on TLS connections","status":"published","published":"2019-12-05T15:16:46Z","modified":"2024-08-06T14:18:09Z","updated_at":"2026-11-03T01:56:45.704567Z"}],"ghsa":[{"id":"GHSA-4q83-8359-v5v3","title":"haskell-tls-extra before 0.6.1 has Basic Constraints attribute vulnerability may lead to Man in...","description":"haskell-tls-extra before 0.6.1 has Basic Constraints attribute vulnerability may lead to Man in the Middle attacks on TLS connections","status":"published","published":"2022-05-05T00:29:08Z","modified":"2024-04-03T23:57:37Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:55:47.825036Z"}],"nvd":[{"id":"CVE-2013-0243","description":"haskell-tls-extra before 0.6.1 has Basic Constraints attribute vulnerability may lead to Man in the Middle attacks on TLS connections","status":"published","published":"2019-12-05T16:15:10.317Z","modified":"2026-06-16T23:49:02.47Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:52.545039Z"}],"osv":[{"id":"HSEC-2023-0005","title":"tls-extra: certificate validation does not check Basic Constraints","description":"# tls-extra: certificate validation does not check Basic Constraints\n\n*tls-extra* does not check the Basic Constraints extension of a\ncertificate in certificate chain processing.  Any certificate is\ntreated as a CA certificate.  As a consequence, anyone who has a\nvalid certificate can use it to sign another one (with an arbitrary\nsubject DN/domain name embedded into it) and have it accepted by\n*tls*.  This allows MITM attacks on TLS connections.\n","status":"published","published":"2025-11-14T14:45:34Z","modified":"2025-11-14T18:15:34.407551Z","updated_at":"2026-11-02T15:47:17.805107Z"}]}}
