Vulnerabilities / CVE-2018-1312

critical

CVE-2018-1312

httpd: Weak Digest auth nonce generation in mod_auth_digest

Published Modified CWE 287
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat4.2CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Amazon (medium), Red Hat (low), Oracle (low), Ubuntu (low).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
alpine 3.10apache22.4.33-r0
alpine 3.11apache22.4.33-r0
alpine 3.12apache22.4.33-r0
alpine 3.13apache22.4.33-r0
alpine 3.14apache22.4.33-r0
alpine 3.15apache22.4.33-r0
alpine 3.16apache22.4.33-r0
alpine 3.17apache22.4.33-r0
alpine 3.18apache22.4.33-r0
alpine 3.19apache22.4.33-r0
alpine 3.20apache22.4.33-r0
alpine 3.21apache22.4.33-r0
Show all 65 entries from 43 sources
SourcePackageFixed in
alpine 3.10apache22.4.33-r0
alpine 3.11apache22.4.33-r0
alpine 3.12apache22.4.33-r0
alpine 3.13apache22.4.33-r0
alpine 3.14apache22.4.33-r0
alpine 3.15apache22.4.33-r0
alpine 3.16apache22.4.33-r0
alpine 3.17apache22.4.33-r0
alpine 3.18apache22.4.33-r0
alpine 3.19apache22.4.33-r0
alpine 3.20apache22.4.33-r0
alpine 3.21apache22.4.33-r0
alpine 3.22apache22.4.33-r0
alpine 3.23apache22.4.33-r0
alpine 3.24apache22.4.33-r0
alpine 3.4apache22.4.33-r0
alpine 3.5apache22.4.33-r0
alpine 3.6apache22.4.33-r0
alpine 3.7apache22.4.33-r0
alpine 3.8apache22.4.33-r0
alpine 3.9apache22.4.33-r0
alpine edgeapache22.4.33-r0
amazon linux 1httpd242.4.33-2.78.amzn1
amazon linux 1httpd24-debuginfo2.4.33-2.78.amzn1
amazon linux 1httpd24-devel2.4.33-2.78.amzn1
amazon linux 1httpd24-manual2.4.33-2.78.amzn1
amazon linux 1httpd24-tools2.4.33-2.78.amzn1
amazon linux 1mod24_ldap2.4.33-2.78.amzn1
amazon linux 1mod24_md2.4.33-2.78.amzn1
amazon linux 1mod24_proxy_html1:2.4.33-2.78.amzn1
amazon linux 1mod24_session2.4.33-2.78.amzn1
amazon linux 1mod24_ssl1:2.4.33-2.78.amzn1
debian 11apache22.4.33-1
debian 12apache22.4.33-1
debian 13apache22.4.33-1
debian 14apache22.4.33-1
debian 7apache22.2.22-13+deb7u13
debian 8apache22.4.10-10+deb8u12
debian 9apache22.4.25-3+deb9u4
echoapache22.4.33-1
Oracle Linux 7httpd2.4.6-89.0.1.el7_6.1
Oracle Linux 7httpd-devel2.4.6-89.0.1.el7_6.1
Oracle Linux 7httpd-manual2.4.6-89.0.1.el7_6.1
Oracle Linux 7httpd-tools2.4.6-89.0.1.el7_6.1
Oracle Linux 7mod_ldap2.4.6-89.0.1.el7_6.1
Oracle Linux 7mod_proxy_html1:2.4.6-89.0.1.el7_6.1
Oracle Linux 7mod_session2.4.6-89.0.1.el7_6.1
Oracle Linux 7mod_ssl1:2.4.6-89.0.1.el7_6.1
Red Hathttpdno fix listed
Red Hathttpd-develno fix listed
Red Hathttpd-manualno fix listed
Red Hathttpd-toolsno fix listed
Red Hatjbcs-httpd24no fix listed
Red Hatjbcs-httpd24-runtimeno fix listed
Red Hatmod_sslno fix listed
root.io debian 12rootio-apache22.4.33-1
root.io debian 13rootio-apache22.4.33-1
ubuntu 14.04apache22.4.7-1ubuntu4.20
ubuntu 14.04-ESMapache22.4.7-1ubuntu4.20
ubuntu 16.04apache22.4.18-2ubuntu3.8
ubuntu 16.04-ESMapache22.4.18-2ubuntu3.8
ubuntu 17.10apache22.4.27-2ubuntu4.1
ubuntu 18.04apache22.4.29-1ubuntu4.1
ubuntu 18.04-ESMapache22.4.29-1ubuntu4.1
ubuntu 18.10apache22.4.29-1ubuntu4.1

References

All 37 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.