Skip to content
Heist/ feed
Back to feed
High

shiro — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2023-22602

When using Apache Shiro before 1.11.0 together with Spring Boot 2.6+, a specially crafted HTTP request may cause an authentication bypass. The authentication bypass occurs when Shiro and Spring Boot are using different pattern-matching techniques. Both Shiro and Spring Boot < 2.6 default to Ant style pattern matching. Mitigation: Update to Apache Shiro 1.11.0, or set the following Spring Boot configuration value: `spring.mvc.pathmatch.matching-strategy = ant_path_matcher`

Products
shiro
Affected versions
1.3.2-5, 1.3.2-6
Fixed versions
Not specified
CVEs
CVE-2023-22602
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 15:45 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-22602

core-osv · Original source

Published 14 Jan 2023, 10:15 UTC

When using Apache Shiro before 1.11.0 together with Spring Boot 2.6+, a specially crafted HTTP request may cause an authentication bypass. The authentication bypass occurs when Shiro and Spring Boot are using different pattern-matching techniques. Both Shiro and Spring Boot < 2.6 default to Ant style pattern matching. Mitigation: Update to Apache Shiro 1.11.0, or set the following Spring Boot configuration value: `spring.mvc.pathmatch.matching-strategy = ant_path_matcher`

osv:DEBIAN-CVE-2023-22602

shiro

Fixed versions: Not specified

shiro

Fixed versions: Not specified

shiro

Fixed versions: Not specified

Complete source record
{
  "id": "3dc5a650cc30451b0d83a6462c38f289c1af78cc2890a45f7d7ee22ce09bf836",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-22602",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-22602",
    "summary": "When using Apache Shiro before 1.11.0 together with Spring Boot 2.6+, a specially crafted HTTP request may cause an authentication bypass. The authentication bypass occurs when Shiro and Spring Boot are using different pattern-matching techniques. Both Shiro and Spring Boot < 2.6 default to Ant style pattern matching. Mitigation: Update to Apache Shiro 1.11.0, or set the following Spring Boot configuration value: `spring.mvc.pathmatch.matching-strategy = ant_path_matcher`",
    "evidence": "osv:DEBIAN-CVE-2023-22602",
    "products": [
      {
        "name": {
          "value": "shiro",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.2-5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.2-6",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "shiro",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.2-6",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "shiro",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.2-6",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2023-22602",
      "aliases": [
        "DEBIAN-CVE-2023-22602"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "shiro",
            "purl": "pkg:deb/debian/shiro?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "1.3.2-5",
            "1.3.2-6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-22602.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "shiro",
            "purl": "pkg:deb/debian/shiro?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "1.3.2-6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-22602.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "shiro",
            "purl": "pkg:deb/debian/shiro?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "1.3.2-6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-22602.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T18:01:36.633708335Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-22602"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-22602"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-22602",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 455596,
  "published_at": "2023-01-14T10:15:09.14+00:00"
}