{"schemaVersion":3,"id":"CVE-2017-9023","aliases":["ALPINE-CVE-2017-9023","UBUNTU-CVE-2017-9023","DEBIAN-CVE-2017-9023"],"status":"published","duplicateOf":null,"title":null,"description":"The ASN.1 parser in strongSwan before 5.5.3 improperly handles CHOICE types when the x509 plugin is enabled, which allows remote attackers to cause a denial of service (infinite loop) via a crafted certificate.","dates":{"published":"2017-06-08T16:00:00.000Z","modified":"2025-12-03T21:13:34.693Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Alpine","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.02222,"percentile":0.82424,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02222},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02228,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02222,"percentile":0.82424}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02228,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02222,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02222,"percentile":0.82424}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition ('Infinite Loop')","description":"The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/835.html"}],"affected":[{"vendor":"alpine","product":"strongswan","name":"strongswan","label":"strongswan","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/strongswan","purlType":"apk","versions":[{"text":"< 5.5.3-r0","noFixRecorded":false,"fixedIn":null},{"text":"< 5.3.5-r2","noFixRecorded":false,"fixedIn":null},{"text":"< 5.4.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.5.3-r0 | < 5.3.5-r2 | < 5.4.0-r2","eol":null,"hubHref":null},{"vendor":"debian","product":"strongswan","name":"strongswan","label":"strongswan","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/strongswan","purlType":"deb","versions":[{"text":"< 5.5.1-4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.5.1-4","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"strongswan","name":"strongswan","label":"strongswan","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/strongswan","purlType":"deb","versions":[{"text":"< 5.1.2-0ubuntu2.6","noFixRecorded":false,"fixedIn":null},{"text":"< 5.3.5-1ubuntu3.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.1.2-0ubuntu2.6 | < 5.3.5-1ubuntu3.3","eol":null,"hubHref":null},{"vendor":"strongswan","product":"strongswan","name":"strongswan","label":"strongswan","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 5.5.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 5.5.2","eol":null,"hubHref":"/vendor/strongswan/strongswan"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.securityfocus.com/bid/98756","label":"www.securityfocus.com/bid/98756","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://www.strongswan.org/blog/2017/05/30/strongswan-vulnerability-%28cve-2017-9023%29.html","label":"www.strongswan.org/blog/2017/05/30/strongswan-vulnerability-%28cve-2017-9023%29.html","hostname":"www.strongswan.org","tags":["X Refsource CONFIRM"]},{"url":"http://www.debian.org/security/2017/dsa-3866","label":"www.debian.org/security/2017/dsa-3866","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"http://www.ubuntu.com/usn/USN-3301-1","label":"www.ubuntu.com/usn/USN-3301-1","hostname":"www.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2017-9023","label":"security.alpinelinux.org/vuln/CVE-2017-9023","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-9023","label":"ubuntu.com/security/CVE-2017-9023","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3301-1","label":"ubuntu.com/security/notices/USN-3301-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-9023","label":"www.cve.org/CVERecord?id=CVE-2017-9023","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-9023","label":"security-tracker.debian.org/tracker/CVE-2017-9023","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-973-1","DSA-3866-1","OPENSUSE-SU-2024:11411-1","SUSE-SU-2017:1471-1","SUSE-SU-2017:1473-1","USN-3301-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11411-1","SUSE-SU-2017:1471-1","SUSE-SU-2017:1473-1","USN-3301-1"]},"timeline":[{"kind":"published","date":"2017-06-08T16:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-12-03T21:13:34.693Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:16:49.273Z","stale":false,"partial":false}}