UBUNTU-CVE-2021-30640

    Dashboard / Vulnerabilities / UBUNTU-CVE-2021-30640

    UBUNTU-CVE-2021-30640

    Published: 12 Jul 2021Last Modified: 15 Jul 2026
    Upstream:
    Aliases:

    Summary:

    Details: A vulnerability in the JNDI Realm of Apache Tomcat allows an attacker to authenticate using variations of a valid user name and/or to bypass some of the protection provided by the LockOut Realm. This issue affects Apache Tomcat 10.0.0-M1 to 10.0.5; 9.0.0.M1 to 9.0.45; 8.5.0 to 8.5.65.

    References: https://ubuntu.com/security/CVE-2021-30640, https://bz.apache.org/bugzilla/show_bug.cgi?id=65224, https://github.com/apache/tomcat/commit/c4df8d44a959a937d507d15e5b1ca35c3dbc41eb, https://github.com/apache/tomcat/commit/749f3cc192c68c34f2375509aea087be45fc4434, https://github.com/apache/tomcat/commit/c6b6e1015ae44c936971b6bf8bce70987935b92e, https://github.com/apache/tomcat/commit/91ecdc61ce3420054c04114baaaf1c1e0cbd5d56, https://github.com/apache/tomcat/commit/e50067486cf86564175ca0cfdcbf7d209c6df862, https://github.com/apache/tomcat/commit/b5585a9e5d4fec020cc5ebadb82f899fae22bc43, https://github.com/apache/tomcat/commit/329932012d3a9b95fde0b18618416e659ecffdc0, https://github.com/apache/tomcat/commit/3ce84512ed8783577d9945df28da5a033465b945, https://github.com/apache/tomcat/commit/24dfb30076997b640e5123e92c4b8d7f206f609c, https://github.com/apache/tomcat/commit/0a272b00aed57526dbfc8b881ab253c23c61f100, https://github.com/apache/tomcat/commit/c9f21a2a7908c7c4ecd4f9bb495d3ee36a2bd822, https://github.com/apache/tomcat/commit/4e86b4ea0d1a9b00fa93971c31b93ad1bd49c7fe, https://github.com/apache/tomcat/commit/79580e7f70a07c083be07307376511bb864d5a7b, https://github.com/apache/tomcat/commit/d3407672774e372fae8b5898d55f85d16f22b972, https://github.com/apache/tomcat/commit/6a9129ac9bd06555ce04bb564a76fc3987311f38, https://github.com/apache/tomcat/commit/ad22db641dcd61c2e8078f658fa709897b5da375, https://lists.apache.org/thread.html/r59f9ef03929d32120f91f4ea7e6e79edd5688d75d0a9b65fd26d1fe8%40%3Cannounce.tomcat.apache.org%3E, https://ubuntu.com/security/notices/USN-5360-1, https://www.cve.org/CVERecord?id=CVE-2021-30640

    Affected packages

    Package

    Name: tomcat6

    Purl: pkg:deb/ubuntu/tomcat6?arch=source&distro=esm-infra-legacy%2Ftrusty

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    6.0.37-1
    6.0.39-1
    6.0.39-1ubuntu0.1
    6.0.39-1ubuntu0.1+esm1
    6.0.39-1ubuntu0.1+esm2
    6.0.39-1ubuntu0.1+esm3

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2021-30640 | CVE-DB