---
id: CVE-2012-5885
title: >-
  The replay-countermeasure functionality in the HTTP Digest Access
  Authentication implementation in Apache Tomcat 5.5.x before 5.5.36, 6.x before
  6.0.36, and 7.x before 7.0.30 tracks cnonce (aka client nonce) values instead
  of nonce (aka …
summary: >-
  The replay-countermeasure functionality in the HTTP Digest Access
  Authentication implementation in Apache Tomcat 5.5.x before 5.5.36, 6.x before
  6.0.36, and 7.x before 7.0.30 tracks cnonce (aka client nonce) values instead
  of nonce (aka …
severity: medium
cvss: 5
cvssVector: 'AV:N/AC:L/Au:N/C:P/I:N/A:N'
cwe:
  - CWE-264
vendor: apache
product: tomcat
affected:
  - tomcat = 5.5.0
  - tomcat = 5.5.1
  - tomcat = 5.5.2
  - tomcat = 5.5.3
  - tomcat = 5.5.4
  - tomcat = 5.5.5
  - tomcat = 5.5.6
  - tomcat = 5.5.7
  - tomcat = 5.5.8
  - tomcat = 5.5.9
  - tomcat = 5.5.10
  - tomcat = 5.5.11
  - tomcat = 5.5.12
  - tomcat = 5.5.13
  - tomcat = 5.5.14
  - tomcat = 5.5.15
  - tomcat = 5.5.16
  - tomcat = 5.5.17
  - tomcat = 5.5.18
  - tomcat = 5.5.19
  - tomcat = 5.5.20
  - tomcat = 5.5.21
  - tomcat = 5.5.22
  - tomcat = 5.5.23
  - tomcat = 5.5.24
  - tomcat = 5.5.25
  - tomcat = 5.5.26
  - tomcat = 5.5.27
  - tomcat = 5.5.28
  - tomcat = 5.5.29
  - tomcat = 5.5.30
  - tomcat = 5.5.31
  - tomcat = 5.5.32
  - tomcat = 5.5.33
  - tomcat = 5.5.34
  - tomcat = 5.5.35
  - tomcat = 6.0
  - tomcat = 6.0.0
  - tomcat = 6.0.1
  - tomcat = 6.0.2
  - tomcat = 6.0.3
  - tomcat = 6.0.4
  - tomcat = 6.0.5
  - tomcat = 6.0.6
  - tomcat = 6.0.7
  - tomcat = 6.0.8
  - tomcat = 6.0.9
  - tomcat = 6.0.10
  - tomcat = 6.0.11
  - tomcat = 6.0.12
  - tomcat = 6.0.13
  - tomcat = 6.0.14
  - tomcat = 6.0.15
  - tomcat = 6.0.16
  - tomcat = 6.0.17
  - tomcat = 6.0.18
  - tomcat = 6.0.19
  - tomcat = 6.0.20
  - tomcat = 6.0.24
  - tomcat = 6.0.26
  - tomcat = 6.0.27
  - tomcat = 6.0.28
  - tomcat = 6.0.29
  - tomcat = 6.0.30
  - tomcat = 6.0.31
  - tomcat = 6.0.32
  - tomcat = 6.0.33
  - tomcat = 6.0.35
  - tomcat = 7.0.0
  - tomcat = 7.0.1
  - tomcat = 7.0.2
  - tomcat = 7.0.3
  - tomcat = 7.0.4
  - tomcat = 7.0.5
  - tomcat = 7.0.6
  - tomcat = 7.0.7
  - tomcat = 7.0.8
  - tomcat = 7.0.9
  - tomcat = 7.0.10
  - tomcat = 7.0.11
  - tomcat = 7.0.12
  - tomcat = 7.0.13
  - tomcat = 7.0.14
  - tomcat = 7.0.15
  - tomcat = 7.0.16
  - tomcat = 7.0.17
  - tomcat = 7.0.18
  - tomcat = 7.0.19
  - tomcat = 7.0.20
  - tomcat = 7.0.21
  - tomcat = 7.0.22
  - tomcat = 7.0.23
  - tomcat = 7.0.25
  - tomcat = 7.0.28
published: '2012-11-17'
updated: '2026-10-09'
sourceUpdated: '2026-10-09T20:17:05.170'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2012-5885'
references:
  - url: 'http://lists.opensuse.org/opensuse-updates/2012-12/msg00089.html'
    label: cve@mitre.org
  - url: 'http://lists.opensuse.org/opensuse-updates/2012-12/msg00090.html'
    label: cve@mitre.org
  - url: 'http://lists.opensuse.org/opensuse-updates/2013-01/msg00037.html'
    label: cve@mitre.org
  - url: 'http://marc.info/?l=bugtraq&m=136485229118404&w=2'
    label: cve@mitre.org
  - url: 'http://marc.info/?l=bugtraq&m=136612293908376&w=2'
    label: cve@mitre.org
  - url: 'http://rhn.redhat.com/errata/RHSA-2013-0623.html'
    label: cve@mitre.org
  - url: 'http://rhn.redhat.com/errata/RHSA-2013-0629.html'
    label: cve@mitre.org
  - url: 'http://rhn.redhat.com/errata/RHSA-2013-0631.html'
    label: cve@mitre.org
  - url: 'http://rhn.redhat.com/errata/RHSA-2013-0632.html'
    label: cve@mitre.org
  - url: 'http://rhn.redhat.com/errata/RHSA-2013-0633.html'
    label: cve@mitre.org
  - url: 'http://rhn.redhat.com/errata/RHSA-2013-0640.html'
    label: cve@mitre.org
  - url: 'http://rhn.redhat.com/errata/RHSA-2013-0647.html'
    label: cve@mitre.org
  - url: 'http://rhn.redhat.com/errata/RHSA-2013-0648.html'
    label: cve@mitre.org
  - url: 'http://rhn.redhat.com/errata/RHSA-2013-0726.html'
    label: cve@mitre.org
  - url: 'http://secunia.com/advisories/51371'
    label: cve@mitre.org
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1377807'
    label: cve@mitre.org
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1380829'
    label: cve@mitre.org
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1392248'
    label: cve@mitre.org
  - url: 'http://tomcat.apache.org/security-5.html'
    label: cve@mitre.org
  - url: 'http://tomcat.apache.org/security-6.html'
    label: cve@mitre.org
  - url: 'http://tomcat.apache.org/security-7.html'
    label: cve@mitre.org
  - url: 'http://www-01.ibm.com/support/docview.wss?uid=swg21626891'
    label: cve@mitre.org
  - url: 'http://www.securityfocus.com/bid/56403'
    label: cve@mitre.org
  - url: 'http://www.ubuntu.com/usn/USN-1637-1'
    label: cve@mitre.org
  - url: 'https://exchange.xforce.ibmcloud.com/vulnerabilities/80408'
    label: cve@mitre.org
  - url: >-
      https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19432
    label: cve@mitre.org
  - url: 'http://lists.opensuse.org/opensuse-updates/2012-12/msg00089.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://lists.opensuse.org/opensuse-updates/2012-12/msg00090.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://lists.opensuse.org/opensuse-updates/2013-01/msg00037.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://marc.info/?l=bugtraq&m=136485229118404&w=2'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://marc.info/?l=bugtraq&m=136612293908376&w=2'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2013-0623.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2013-0629.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2013-0631.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2013-0632.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2013-0633.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2013-0640.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2013-0647.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2013-0648.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://rhn.redhat.com/errata/RHSA-2013-0726.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://secunia.com/advisories/51371'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1377807'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1380829'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://svn.apache.org/viewvc?view=revision&revision=1392248'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://tomcat.apache.org/security-5.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://tomcat.apache.org/security-6.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://tomcat.apache.org/security-7.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www-01.ibm.com/support/docview.wss?uid=swg21626891'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.securityfocus.com/bid/56403'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.ubuntu.com/usn/USN-1637-1'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://exchange.xforce.ibmcloud.com/vulnerabilities/80408'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A19432
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.0898
epssPercentile: 0.95151
ingestedAt: '2026-10-09T21:12:42.309Z'
---

## Overview

The replay-countermeasure functionality in the HTTP Digest Access Authentication implementation in Apache Tomcat 5.5.x before 5.5.36, 6.x before 6.0.36, and 7.x before 7.0.30 tracks cnonce (aka client nonce) values instead of nonce (aka server nonce) and nc (aka nonce-count) values, which makes it easier for remote attackers to bypass intended access restrictions by sniffing the network for valid requests, a different vulnerability than CVE-2011-1184.

## Affected

- `tomcat = 5.5.0`
- `tomcat = 5.5.1`
- `tomcat = 5.5.2`
- `tomcat = 5.5.3`
- `tomcat = 5.5.4`
- `tomcat = 5.5.5`
- `tomcat = 5.5.6`
- `tomcat = 5.5.7`
- `tomcat = 5.5.8`
- `tomcat = 5.5.9`
- `tomcat = 5.5.10`
- `tomcat = 5.5.11`
- `tomcat = 5.5.12`
- `tomcat = 5.5.13`
- `tomcat = 5.5.14`
- `tomcat = 5.5.15`
- `tomcat = 5.5.16`
- `tomcat = 5.5.17`
- `tomcat = 5.5.18`
- `tomcat = 5.5.19`
- `tomcat = 5.5.20`
- `tomcat = 5.5.21`
- `tomcat = 5.5.22`
- `tomcat = 5.5.23`
- `tomcat = 5.5.24`
- `tomcat = 5.5.25`
- `tomcat = 5.5.26`
- `tomcat = 5.5.27`
- `tomcat = 5.5.28`
- `tomcat = 5.5.29`
- `tomcat = 5.5.30`
- `tomcat = 5.5.31`
- `tomcat = 5.5.32`
- `tomcat = 5.5.33`
- `tomcat = 5.5.34`
- `tomcat = 5.5.35`
- `tomcat = 6.0`
- `tomcat = 6.0.0`
- `tomcat = 6.0.1`
- `tomcat = 6.0.2`
- `tomcat = 6.0.3`
- `tomcat = 6.0.4`
- `tomcat = 6.0.5`
- `tomcat = 6.0.6`
- `tomcat = 6.0.7`
- `tomcat = 6.0.8`
- `tomcat = 6.0.9`
- `tomcat = 6.0.10`
- `tomcat = 6.0.11`
- `tomcat = 6.0.12`
- `tomcat = 6.0.13`
- `tomcat = 6.0.14`
- `tomcat = 6.0.15`
- `tomcat = 6.0.16`
- `tomcat = 6.0.17`
- `tomcat = 6.0.18`
- `tomcat = 6.0.19`
- `tomcat = 6.0.20`
- `tomcat = 6.0.24`
- `tomcat = 6.0.26`
- `tomcat = 6.0.27`
- `tomcat = 6.0.28`
- `tomcat = 6.0.29`
- `tomcat = 6.0.30`
- `tomcat = 6.0.31`
- `tomcat = 6.0.32`
- `tomcat = 6.0.33`
- `tomcat = 6.0.35`
- `tomcat = 7.0.0`
- `tomcat = 7.0.1`
- `tomcat = 7.0.2`
- `tomcat = 7.0.3`
- `tomcat = 7.0.4`
- `tomcat = 7.0.5`
- `tomcat = 7.0.6`
- `tomcat = 7.0.7`
- `tomcat = 7.0.8`
- `tomcat = 7.0.9`
- `tomcat = 7.0.10`
- `tomcat = 7.0.11`
- `tomcat = 7.0.12`
- `tomcat = 7.0.13`
- `tomcat = 7.0.14`
- `tomcat = 7.0.15`
- `tomcat = 7.0.16`
- `tomcat = 7.0.17`
- `tomcat = 7.0.18`
- `tomcat = 7.0.19`
- `tomcat = 7.0.20`
- `tomcat = 7.0.21`
- `tomcat = 7.0.22`
- `tomcat = 7.0.23`
- `tomcat = 7.0.25`
- `tomcat = 7.0.28`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
