CVE-2018-18559
Last modified
CVE-2018-18559 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. In the Linux kernel through 4.19, a use-after-free can occur due to a race condition between fanout_add from setsockopt and bind on an AF_PACKET socket. This issue exists because of the 15fe076edea787807a7cdc168df832544b58eba6 incomplete fix for a race condition. EPSS estimates a 2.61% chance of exploitation in the next 30 days.
Description
In the Linux kernel through 4.19, a use-after-free can occur due to a race condition between fanout_add from setsockopt and bind on an AF_PACKET socket. This issue exists because of the 15fe076edea787807a7cdc168df832544b58eba6 incomplete fix for a race condition. The code mishandles a certain multithreaded case involving a packet_do_bind unregister action followed by a packet_notifier register action. Later, packet_release operates on only one of the two applicable linked lists. The attacker can achieve Program Counter control.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 3.2.95, < 3.2.100 |
| Linux | Linux Kernel | >= 3.14.58, < 3.15 |
| Linux | Linux Kernel | >= 3.18.25, < 3.18.88 |
| Linux | Linux Kernel | >= 4.1.14, < 4.1.49 |
| Linux | Linux Kernel | >= 4.2.7, < 4.3 |
| Linux | Linux Kernel | >= 4.3.1, < 4.4.106 |
| Linux | Linux Kernel | >= 4.5, < 4.9.70 |
| Linux | Linux Kernel | >= 4.10, < 4.14.7 |
| Redhat | Openshift Container Platform | 3.11 |
| Redhat | Virtualization Host | 4.0 |
| Redhat | Enterprise Linux Desktop | 7.0 |
| Redhat | Enterprise Linux Server | 7.0 |
| Redhat | Enterprise Linux Server Aus | 7.6 |
| Redhat | Enterprise Linux Server Eus | 7.6 |
| Redhat | Enterprise Linux Server Tus | 7.6 |
| Redhat | Enterprise Linux Workstation | 7.0 |
References
- https://access.redhat.com/errata/RHBA-2019:0327Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:0163Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:0188Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1170Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1190Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:3967Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:4159Third Party Advisory
- https://access.redhat.com/errata/RHSA-2020:0174Third Party Advisory
- https://blogs.securiteam.com/index.php/archives/3731Exploit, Patch, Third Party Advisory
- https://access.redhat.com/errata/RHBA-2019:0327Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:0163Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:0188Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1170Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1190Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:3967Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:4159Third Party Advisory
- https://access.redhat.com/errata/RHSA-2020:0174Third Party Advisory
- https://blogs.securiteam.com/index.php/archives/3731Exploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-18559?
How severe is CVE-2018-18559?
How do I fix CVE-2018-18559?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-18552ServersCheck Monitoring Software through 14.3.3 allows local…
- CVE-2018-18553Leanote 2.6.1 has XSS via the Blog Basic Setting title field…
- CVE-2018-18555A sandbox escape issue was discovered in VyOS 1.1.8. It prov…
- CVE-2018-18556A privilege escalation issue was discovered in VyOS 1.1.8. T…9.9
- CVE-2018-18557LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0alpha4, 4.0.…
- CVE-2018-18558An issue was discovered in Espressif ESP-IDF 2.x and 3.x bef…
- CVE-2018-18561An issue was discovered in Roche Accu-Chek Inform II Base Un…
- CVE-2018-18562An issue was discovered in Roche Accu-Chek Inform II Base Un…
- CVE-2018-18563An issue was discovered in Roche Accu-Chek Inform II Instrum…
- CVE-2018-18564An issue was discovered in Roche Accu-Chek Inform II Instrum…
- CVE-2018-18565An issue was discovered in Roche Accu-Chek Inform II Instrum…
- CVE-2018-18566The SIP service in Polycom VVX 500 and 601 devices 5.8.0.128…5.3
Are you affected by CVE-2018-18559?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
