{"id":"UBUNTU-CVE-2018-1312","details":"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.","modified":"2026-02-04T02:23:50.285283Z","published":"2018-03-26T00:00:00Z","related":["USN-3627-1","USN-3627-2","USN-3937-2"],"upstream":["CVE-2018-1312"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-1312"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2018/03/24/7"},{"type":"REPORT","url":"https://httpd.apache.org/security/vulnerabilities_24.html"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3627-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3627-2"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3937-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-1312"}],"affected":[{"package":{"name":"apache2","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/apache2@2.4.7-1ubuntu4.20?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.7-1ubuntu4.20"}]}],"versions":["2.4.6-2ubuntu2","2.4.6-2ubuntu3","2.4.6-2ubuntu4","2.4.7-1ubuntu1","2.4.7-1ubuntu2","2.4.7-1ubuntu3","2.4.7-1ubuntu4","2.4.7-1ubuntu4.1","2.4.7-1ubuntu4.4","2.4.7-1ubuntu4.5","2.4.7-1ubuntu4.6","2.4.7-1ubuntu4.7","2.4.7-1ubuntu4.8","2.4.7-1ubuntu4.9","2.4.7-1ubuntu4.10","2.4.7-1ubuntu4.11","2.4.7-1ubuntu4.13","2.4.7-1ubuntu4.15","2.4.7-1ubuntu4.16","2.4.7-1ubuntu4.17","2.4.7-1ubuntu4.18","2.4.7-1ubuntu4.19"],"ecosystem_specific":{"binaries":[{"binary_version":"2.4.7-1ubuntu4.20","binary_name":"apache2"},{"binary_version":"2.4.7-1ubuntu4.20","binary_name":"apache2-bin"},{"binary_version":"2.4.7-1ubuntu4.20","binary_name":"apache2-data"},{"binary_version":"2.4.7-1ubuntu4.20","binary_name":"apache2-dev"},{"binary_version":"2.4.7-1ubuntu4.20","binary_name":"apache2-mpm-event"},{"binary_version":"2.4.7-1ubuntu4.20","binary_name":"apache2-mpm-itk"},{"binary_version":"2.4.7-1ubuntu4.20","binary_name":"apache2-mpm-prefork"},{"binary_version":"2.4.7-1ubuntu4.20","binary_name":"apache2-mpm-worker"},{"binary_version":"2.4.7-1ubuntu4.20","binary_name":"apache2-suexec"},{"binary_version":"2.4.7-1ubuntu4.20","binary_name":"apache2-suexec-custom"},{"binary_version":"2.4.7-1ubuntu4.20","binary_name":"apache2-suexec-pristine"},{"binary_version":"2.4.7-1ubuntu4.20","binary_name":"apache2-utils"},{"binary_version":"2.4.7-1ubuntu4.20","binary_name":"apache2.2-bin"},{"binary_version":"1:2.4.7-1ubuntu4.20","binary_name":"libapache2-mod-macro"},{"binary_version":"1:2.4.7-1ubuntu4.20","binary_name":"libapache2-mod-proxy-html"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1312.json"}},{"package":{"name":"apache2","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/apache2@2.4.18-2ubuntu3.8?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.18-2ubuntu3.8"}]}],"versions":["2.4.12-2ubuntu2","2.4.17-1ubuntu1","2.4.17-2ubuntu1","2.4.17-3ubuntu1","2.4.18-1ubuntu1","2.4.18-2ubuntu1","2.4.18-2ubuntu2","2.4.18-2ubuntu3","2.4.18-2ubuntu3.1","2.4.18-2ubuntu3.2","2.4.18-2ubuntu3.3","2.4.18-2ubuntu3.4","2.4.18-2ubuntu3.5","2.4.18-2ubuntu3.7"],"ecosystem_specific":{"binaries":[{"binary_version":"2.4.18-2ubuntu3.8","binary_name":"apache2"},{"binary_version":"2.4.18-2ubuntu3.8","binary_name":"apache2-bin"},{"binary_version":"2.4.18-2ubuntu3.8","binary_name":"apache2-data"},{"binary_version":"2.4.18-2ubuntu3.8","binary_name":"apache2-dev"},{"binary_version":"2.4.18-2ubuntu3.8","binary_name":"apache2-suexec-custom"},{"binary_version":"2.4.18-2ubuntu3.8","binary_name":"apache2-suexec-pristine"},{"binary_version":"2.4.18-2ubuntu3.8","binary_name":"apache2-utils"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1312.json"}},{"package":{"name":"apache2","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/apache2@2.4.29-1ubuntu4.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.29-1ubuntu4.1"}]}],"versions":["2.4.27-2ubuntu3","2.4.29-1ubuntu1","2.4.29-1ubuntu2","2.4.29-1ubuntu3","2.4.29-1ubuntu4"],"ecosystem_specific":{"binaries":[{"binary_version":"2.4.29-1ubuntu4.1","binary_name":"apache2"},{"binary_version":"2.4.29-1ubuntu4.1","binary_name":"apache2-bin"},{"binary_version":"2.4.29-1ubuntu4.1","binary_name":"apache2-data"},{"binary_version":"2.4.29-1ubuntu4.1","binary_name":"apache2-dev"},{"binary_version":"2.4.29-1ubuntu4.1","binary_name":"apache2-ssl-dev"},{"binary_version":"2.4.29-1ubuntu4.1","binary_name":"apache2-suexec-custom"},{"binary_version":"2.4.29-1ubuntu4.1","binary_name":"apache2-suexec-pristine"},{"binary_version":"2.4.29-1ubuntu4.1","binary_name":"apache2-utils"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1312.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}