CVE-2017-9023
published 2017-06-08CVE-2017-9023: 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…
PriorityP434high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
2.22%
80.7th percentile
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.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | strongswan | < strongswan 5.5.1-4 (bookworm) | strongswan 5.5.1-4 (bookworm) |
| strongswan | strongswan | <= 5.5.2 | — |
| strongswan | strongswan | >= 0 < 5.5.1-4 | 5.5.1-4 |
| strongswan | strongswan | >= 0 < 5.5.1-4 | 5.5.1-4 |
| strongswan | strongswan | >= 0 < 5.5.1-4 | 5.5.1-4 |
| strongswan | strongswan | >= 0 < 5.5.1-4 | 5.5.1-4 |
| strongswan | strongswan | >= 0 < 5.1.2-0ubuntu2.6 | 5.1.2-0ubuntu2.6 |
| strongswan | strongswan | >= 0 < 5.3.5-1ubuntu3.3 | 5.3.5-1ubuntu3.3 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-3vpr-mhgf-fgjv: The ASN
ghsa_unreviewed·2022-05-13
CVE-2017-9023 [HIGH] CWE-835 GHSA-3vpr-mhgf-fgjv: The ASN
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.
OSV
CVE-2017-9023: The ASN
osv·2017-06-08·CVSS 7.5
CVE-2017-9023 [HIGH] CVE-2017-9023: The ASN
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.
OSV
strongswan vulnerabilities
osv·2017-05-30·CVSS 7.5
CVE-2017-9022 [HIGH] strongswan vulnerabilities
strongswan vulnerabilities
It was discovered that the strongSwan gmp plugin incorrectly validated RSA
public keys. A remote attacker could use this issue to cause strongSwan to
crash, resulting in a denial of service. (CVE-2017-9022)
It was discovered that strongSwan incorrectly parsed ASN.1 CHOICE types. A
remote attacker could use this issue to cause strongSwan to hang, resulting
in a denial of service. (CVE-2017-9023)
Red Hat
strongswan: Incorrect Handling of CHOICE types in ASN.1 parser and x509 plugin
vendor_redhat·2017-05-30·CVSS 7.5
CVE-2017-9023 [HIGH] CWE-835 strongswan: Incorrect Handling of CHOICE types in ASN.1 parser and x509 plugin
strongswan: Incorrect Handling of CHOICE types in ASN.1 parser and x509 plugin
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.
Statement: Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Package: strongimcv (Red Hat Enterprise Linux 7) - Will not fix
Ubuntu
strongSwan vulnerabilities
vendor_ubuntu·2017-05-30·CVSS 7.5
CVE-2017-9022 [HIGH] strongSwan vulnerabilities
Title: strongSwan vulnerabilities
Summary: strongSwan could be made to crash or hang if it received specially crafted
network traffic.
It was discovered that the strongSwan gmp plugin incorrectly validated RSA
public keys. A remote attacker could use this issue to cause strongSwan to
crash, resulting in a denial of service. (CVE-2017-9022)
It was discovered that strongSwan incorrectly parsed ASN.1 CHOICE types. A
remote attacker could use this issue to cause strongSwan to hang, resulting
in a denial of service. (CVE-2017-9023)
Instructions: In general, a standard system update will make all the necessary changes.
Debian
CVE-2017-9023: strongswan - The ASN.1 parser in strongSwan before 5.5.3 improperly handles CHOICE types when...
vendor_debian·2017·CVSS 7.5
CVE-2017-9023 [HIGH] CVE-2017-9023: strongswan - The ASN.1 parser in strongSwan before 5.5.3 improperly handles CHOICE types when...
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.
Scope: local
bookworm: resolved (fixed in 5.5.1-4)
bullseye: resolved (fixed in 5.5.1-4)
forky: resolved (fixed in 5.5.1-4)
sid: resolved (fixed in 5.5.1-4)
trixie: resolved (fixed in 5.5.1-4)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-9022 CVE-2017-9023 strongswan: various flaws [epel-all]
bugzilla·2017-05-31·CVSS 7.5
CVE-2017-9022 [HIGH] CVE-2017-9022 CVE-2017-9023 strongswan: various flaws [epel-all]
CVE-2017-9022 CVE-2017-9023 strongswan: various flaws [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora EPEL
Bugzilla
CVE-2017-9022 CVE-2017-9023 strongswan: various flaws [fedora-all]
bugzilla·2017-05-31·CVSS 7.5
CVE-2017-9022 [HIGH] CVE-2017-9022 CVE-2017-9023 strongswan: various flaws [fedora-all]
CVE-2017-9022 CVE-2017-9023 strongswan: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora.
Bugzilla
CVE-2017-9023 strongswan: Incorrect Handling of CHOICE types in ASN.1 parser and x509 plugin
bugzilla·2017-05-31·CVSS 7.5
CVE-2017-9023 [HIGH] CVE-2017-9023 strongswan: Incorrect Handling of CHOICE types in ASN.1 parser and x509 plugin
CVE-2017-9023 strongswan: Incorrect Handling of CHOICE types in ASN.1 parser and x509 plugin
It was found that ASN.1 CHOICE types are not correctly handled by the ASN.1 parser when parsing X.509 certificates with extensions that use such types. This could lead to infinite looping of the thread parsing a specifically crafted certificate.
External References:
https://www.strongswan.org/blog/2017/05/30/strongswan-vulnerability-(cve-2017-9023).html
Discussion:
Created strongswan tracking bugs for this issue:
Affects: epel-all [bug 1457123]
Affects: fedora-all [bug 1457124]
---
Patches:
https://download.strongswan.org/security/CVE-2017-9023/
---
Statement:
Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addre
http://www.debian.org/security/2017/dsa-3866http://www.securityfocus.com/bid/98756http://www.ubuntu.com/usn/USN-3301-1https://www.strongswan.org/blog/2017/05/30/strongswan-vulnerability-%28cve-2017-9023%29.htmlhttp://www.debian.org/security/2017/dsa-3866http://www.securityfocus.com/bid/98756http://www.ubuntu.com/usn/USN-3301-1https://www.strongswan.org/blog/2017/05/30/strongswan-vulnerability-%28cve-2017-9023%29.html
2017-06-08
Published