Skip to content
Fencer Vulns
critical 9.8

CVE-2018-1312 in the critical feed json

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 c…

published 2018-03-26 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-11913

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
15.8%
EPSS 15.8% chance of exploitation in 30 days, percentile 96%
public exploits
0
none known

Summary

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.

Patch / fix

  • apache2 Debian 14, Debian 13, Debian 12 2.4.33-1

debian advisories DEBIAN-CVE-2018-1312

  • apache2 Ubuntu 14.04 LTS 2.4.7-1ubuntu4.20
  • apache2 Ubuntu 16.04 LTS 2.4.18-2ubuntu3.8
  • apache2 Ubuntu 18.04 LTS 2.4.29-1ubuntu4.1

ubuntu advisories UBUNTU-CVE-2018-1312

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • httpd RHEL 7 2.4.6-89.el7_6.1
  • mod_ssl RHEL 7 1:2.4.6-89.el7_6.1
  • mod_ldap RHEL 7 2.4.6-89.el7_6.1
  • httpd-tools RHEL 7 2.4.6-89.el7_6.1
  • mod_session RHEL 7 2.4.6-89.el7_6.1
  • httpd-manual RHEL 7 2.4.6-89.el7_6.1
  • mod_proxy_html RHEL 7 1:2.4.6-89.el7_6.1
  • jbcs-httpd24 jboss core services 1 1-6.jbcs.el6

red hat advisories RHSA-2019:1898RHSA-2019:0367RHSA-2018:3558

  • apache2 SLES 12 SP3, SLES 12 SP2-BCL, SLE Software Development Kit 12 SP3 +4 more 2.4.23-29.18.2
  • apache2 Studio Onsite 1.3, SLES for SAP 11 SP4, SLES 11 SP4 +1 more 2.2.34-70.15.1
  • apache2 SLES for SAP 12 SP1, SLES 12 SP1-LTSS, OpenStack Cloud 6 2.4.16-20.16.1
  • apache2 SLES 12-LTSS 2.4.10-14.31.1

suse advisories SUSE-SU-2018:1161-2SUSE-SU-2018:1161-1SUSE-SU-2018:1079-1SUSE-SU-2018:0901-1SUSE-SU-2018:0879-1

  • apache2 Alpine 3.24, Alpine 3.23, Alpine 3.22 +18 more 2.4.33-r0

alpine advisories ALPINE-CVE-2018-1312

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • apache Arch Linux 2.4.33-1

arch linux advisories AVG-664

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-1312 updated cvss 4.2

httpd: Weak Digest auth nonce generation in mod_auth_digest

  • Red Hat Enterprise Linux 5 httpd Red Hat Enterprise Linux 6 httpd, mod_ssl, httpd-tools, httpd-manual Red Hat JBoss Enterprise Web Server 2 jbcs-httpd24, jbcs-httpd24-runtime
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client Optional (v. 7) httpd 2.4.6-89.el7_6.1, mod_ssl 2.4.6-89.el7_6.1, mod_ldap 2.4.6-89.el7_6.1, httpd-tools 2.4.6-89.el7_6.1, mod_session 2.4.6-89.el7_6.1, httpd-manual 2.4.6-89.el7_6.1, +1 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) httpd 2.4.6-89.el7_6.1, mod_ssl 2.4.6-89.el7_6.1, mod_ldap 2.4.6-89.el7_6.1, httpd-tools 2.4.6-89.el7_6.1, mod_session 2.4.6-89.el7_6.1, httpd-manual 2.4.6-89.el7_6.1, +1 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) httpd 2.4.6-89.el7_6.1, mod_ssl 2.4.6-89.el7_6.1, httpd-tools 2.4.6-89.el7_6.1, mod_session 2.4.6-89.el7_6.1, httpd-manual 2.4.6-89.el7_6.1 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) mod_ldap 2.4.6-89.el7_6.1, mod_proxy_html 2.4.6-89.el7_6.1 Red Hat Enterprise Linux Server (v. 7) httpd 2.4.6-89.el7_6.1, mod_ssl 2.4.6-89.el7_6.1, httpd-tools 2.4.6-89.el7_6.1, mod_session 2.4.6-89.el7_6.1, httpd-manual 2.4.6-89.el7_6.1 Red Hat Enterprise Linux Server Optional (v. 7) mod_ldap 2.4.6-89.el7_6.1, mod_proxy_html 2.4.6-89.el7_6.1
    +2 more products
    Red Hat Enterprise Linux Workstation (v. 7) httpd 2.4.6-89.el7_6.1, mod_ssl 2.4.6-89.el7_6.1, httpd-tools 2.4.6-89.el7_6.1, mod_session 2.4.6-89.el7_6.1, httpd-manual 2.4.6-89.el7_6.1 Red Hat Enterprise Linux Workstation Optional (v. 7) mod_ldap 2.4.6-89.el7_6.1, mod_proxy_html 2.4.6-89.el7_6.1
    fixed: vendor fix RHSA-2019:1898
  • Red Hat JBoss Core Services
    fixed: vendor fix RHSA-2019:0366
  • Red Hat JBoss Core Services on RHEL 6 Server jbcs-httpd24 1-6.jbcs.el6, jbcs-httpd24-runtime 1-6.jbcs.el6, jbcs-httpd24-apr 1.6.3-31.jbcs.el6, jbcs-httpd24-httpd 2.4.29-35.jbcs.el6, jbcs-httpd24-nghttp2 1.29.0-9.jbcs.el6, jbcs-httpd24-apr-util 1.6.1-24.jbcs.el6, +22 more Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24 1-6.jbcs.el7, jbcs-httpd24-runtime 1-6.jbcs.el7, jbcs-httpd24-apr 1.6.3-31.jbcs.el7, jbcs-httpd24-httpd 2.4.29-35.jbcs.el7, jbcs-httpd24-nghttp2 1.29.0-9.jbcs.el7, jbcs-httpd24-apr-util 1.6.1-24.jbcs.el7, +22 more
    fixed: vendor fix RHSA-2019:0367
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) httpd24-curl 7.61.1-1.el6, httpd24-httpd 2.4.34-7.el6, httpd24-nghttp2 1.7.1-7.el6, httpd24-libcurl 7.61.1-1.el6, httpd24-mod_ssl 2.4.34-7.el6, httpd24-mod_ldap 2.4.34-7.el6, +5 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) httpd24-curl 7.61.1-1.el7, httpd24-httpd 2.4.34-7.el7, httpd24-mod_md 2.4.34-7.el7, httpd24-nghttp2 1.7.1-7.el7, httpd24-libcurl 7.61.1-1.el7, httpd24-mod_ssl 2.4.34-7.el7, +6 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) httpd24-curl 7.61.1-1.el7, httpd24-httpd 2.4.34-7.el7, httpd24-mod_md 2.4.34-7.el7, httpd24-nghttp2 1.7.1-7.el7, httpd24-libcurl 7.61.1-1.el7, httpd24-mod_ssl 2.4.34-7.el7, +6 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) httpd24-curl 7.61.1-1.el7, httpd24-httpd 2.4.34-7.el7, httpd24-mod_md 2.4.34-7.el7, httpd24-nghttp2 1.7.1-7.el7, httpd24-libcurl 7.61.1-1.el7, httpd24-mod_ssl 2.4.34-7.el7, +6 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) httpd24-curl 7.61.1-1.el7, httpd24-httpd 2.4.34-7.el7, httpd24-mod_md 2.4.34-7.el7, httpd24-nghttp2 1.7.1-7.el7, httpd24-libcurl 7.61.1-1.el7, httpd24-mod_ssl 2.4.34-7.el7, +6 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) httpd24-curl 7.61.1-1.el6, httpd24-httpd 2.4.34-7.el6, httpd24-nghttp2 1.7.1-7.el6, httpd24-libcurl 7.61.1-1.el6, httpd24-mod_ssl 2.4.34-7.el6, httpd24-mod_ldap 2.4.34-7.el6, +5 more
    +1 more products
    Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) httpd24-curl 7.61.1-1.el7, httpd24-httpd 2.4.34-7.el7, httpd24-mod_md 2.4.34-7.el7, httpd24-nghttp2 1.7.1-7.el7, httpd24-libcurl 7.61.1-1.el7, httpd24-mod_ssl 2.4.34-7.el7, +6 more
    fixed: vendor fix RHSA-2018:3558
  • Red Hat Enterprise Linux 8 httpd, mod_md, mod_ssl, mod_ldap, mod_http2, httpd-tools, +4 more Red Hat JBoss Web Server 3 httpd24 Red Hat Mobile Application Platform 4 rhmap-httpd-docker
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

15.78% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected products

  • Apache Software Foundation Apache HTTP Server

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.