CVE-2018-1312
In Apache httpd 2.2.0 to 2.4.29, when generating an HTTP Digest authentication challenge, the nonce sent to prevent reply attacks was not correctly generated using a pseudo-random seed. In a cluster of servers using a common Digest authentication configuration, HTTP requests could be replayed across servers by an attacker without detection.
What to do
Likely to be exploited: EPSS gives a 16% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | apache2 | Fixed | 2.4.29-1ubuntu4.1 | UBUNTU-CVE-2018-1312 |
| Ubuntu 16.04 | apache2 | Fixed | 2.4.18-2ubuntu3.8 | UBUNTU-CVE-2018-1312 |
| Ubuntu 14.04 | apache2 | Fixed | 2.4.7-1ubuntu4.20 | UBUNTU-CVE-2018-1312 |
| Debian 14 | apache2 | Fixed | 2.4.33-1 | DEBIAN-CVE-2018-1312 |
| Debian 13 | apache2 | Fixed | 2.4.33-1 | DEBIAN-CVE-2018-1312 |
| Debian 12 | apache2 | Fixed | 2.4.33-1 | DEBIAN-CVE-2018-1312 |
| Red Hat Enterprise Linux 8 | httpd | Not affected | ||
| Red Hat Enterprise Linux 8 | httpd-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | httpd-filesystem | Not affected | ||
| Red Hat Enterprise Linux 8 | httpd-manual | Not affected | ||
| Red Hat Enterprise Linux 8 | httpd-tools | Not affected | ||
| Red Hat Enterprise Linux 8 | mod_http2 | Not affected | ||
| Red Hat Enterprise Linux 8 | mod_ldap | Not affected | ||
| Red Hat Enterprise Linux 8 | mod_md | Not affected | ||
| Red Hat Enterprise Linux 8 | mod_proxy_html | Not affected | ||
| Red Hat Enterprise Linux 8 | mod_session | Not affected | ||
| Red Hat Enterprise Linux 8 | mod_ssl | Not affected | ||
| Red Hat Enterprise Linux 7 | httpd | Fixed | 0:2.4.6-89.el7_6.1 | RHSA-2019:1898 |
| Red Hat Enterprise Linux 7 | httpd-devel | Fixed | 0:2.4.6-89.el7_6.1 | RHSA-2019:1898 |
| Red Hat Enterprise Linux 7 | httpd-manual | Fixed | 0:2.4.6-89.el7_6.1 | RHSA-2019:1898 |
| Red Hat Enterprise Linux 7 | httpd-tools | Fixed | 0:2.4.6-89.el7_6.1 | RHSA-2019:1898 |
| Red Hat Enterprise Linux 7 | mod_ldap | Fixed | 0:2.4.6-89.el7_6.1 | RHSA-2019:1898 |
| Red Hat Enterprise Linux 7 | mod_proxy_html | Fixed | 1:2.4.6-89.el7_6.1 | RHSA-2019:1898 |
| Red Hat Enterprise Linux 7 | mod_session | Fixed | 0:2.4.6-89.el7_6.1 | RHSA-2019:1898 |
| Red Hat Enterprise Linux 7 | mod_ssl | Fixed | 1:2.4.6-89.el7_6.1 | RHSA-2019:1898 |
| Red Hat Enterprise Linux 6 | httpd | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | httpd-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | httpd-manual | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | httpd-tools | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | mod_ssl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | httpd | Will not fix Will not fix | ||
| Alpine Linux 3.24 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2018-1312 |
| Alpine Linux 3.23 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2018-1312 |
| Alpine Linux 3.22 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2018-1312 |
| Alpine Linux 3.21 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2018-1312 |
| Alpine Linux 3.20 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2018-1312 |
| Alpine Linux 3.19 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2018-1312 |
| Alpine Linux 3.18 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2018-1312 |
| Alpine Linux 3.17 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2018-1312 |
| Alpine Linux 3.16 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2018-1312 |
| Alpine Linux 3.15 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2018-1312 |
| Alpine Linux 3.14 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2018-1312 |
| Alpine Linux 3.13 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2018-1312 |
| Alpine Linux 3.12 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2018-1312 |
| Alpine Linux 3.11 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2018-1312 |
| Alpine Linux 3.10 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2018-1312 |
| Alpine Linux 3.9 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2018-1312 |
| Alpine Linux 3.8 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2018-1312 |
| Alpine Linux 3.7 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2018-1312 |
| Alpine Linux 3.6 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2018-1312 |
| Alpine Linux 3.5 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2018-1312 |
| Alpine Linux 3.4 | apache2 | Fixed | 2.4.33-r0 | ALPINE-CVE-2018-1312 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache HTTP Server: affected: 2.0.42 to 2.4.29
Vendor advisories:
- https://usn.ubuntu.com/3627-1/ (vendor-advisory)
- https://www.debian.org/security/2018/dsa-4164 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:3558 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2019:0367 (vendor-advisory)
- https://usn.ubuntu.com/3627-2/ (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2019:0366 (vendor-advisory)
References
- https://usn.ubuntu.com/3627-1/
- https://www.debian.org/security/2018/dsa-4164
- https://security.netapp.com/advisory/ntap-20180601-0004/
- https://access.redhat.com/errata/RHSA-2018:3558
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03909en_us
- https://access.redhat.com/errata/RHSA-2019:0367
- https://usn.ubuntu.com/3627-2/
- http://www.securityfocus.com/bid/103524
- http://www.openwall.com/lists/oss-security/2018/03/24/7
- https://httpd.apache.org/security/vulnerabilities_24.html
- https://lists.debian.org/debian-lts-announce/2018/05/msg00020.html
- http://www.securitytracker.com/id/1040571
- https://access.redhat.com/errata/RHSA-2019:0366
- https://usn.ubuntu.com/3937-2/
- https://access.redhat.com/errata/RHSA-2019:1898
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.