Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-31690

Spring Security, versions 5.7 prior to 5.7.5, and 5.6 prior to 5.6.9, and older unsupported versions could be susceptible to a privilege escalation under certain conditions. A malicious user or attacker can modify a request initiated by the Client (via the browser) to the Authorization Server which can lead to a privilege escalation on the subsequent approval. This scenario can happen if the Authorization Server responds with an OAuth2 Access Token Response containing an empty scope list (per RFC 6749, Section 5.1) on the subsequent request to the token endpoint to obtain the access token.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-31690
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 02:59 UTC · Revision 1

Source evidence

CVE-2022-31690

core-osv · Original source

Published 31 Oct 2022, 00:00 UTC

Spring Security, versions 5.7 prior to 5.7.5, and 5.6 prior to 5.6.9, and older unsupported versions could be susceptible to a privilege escalation under certain conditions. A malicious user or attacker can modify a request initiated by the Client (via the browser) to the Authorization Server which can lead to a privilege escalation on the subsequent approval. This scenario can happen if the Authorization Server responds with an OAuth2 Access Token Response containing an empty scope list (per RFC 6749, Section 5.1) on the subsequent request to the token endpoint to obtain the access token.

osv:CVE-2022-31690
Complete source record
{
  "id": "c2892d6c75e65bc7ef0be55e1fa0f3664ed7e8254ce32fd01d2535a0cc0849ee",
  "url": "https://osv.dev/vulnerability/CVE-2022-31690",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-31690",
    "summary": "Spring Security, versions 5.7 prior to 5.7.5, and 5.6 prior to 5.6.9, and older unsupported versions could be susceptible to a privilege escalation under certain conditions. A malicious user or attacker can modify a request initiated by the Client (via the browser) to the Authorization Server which can lead to a privilege escalation on the subsequent approval. This scenario can happen if the Authorization Server responds with an OAuth2 Access Token Response containing an empty scope list (per RFC 6749, Section 5.1) on the subsequent request to the token endpoint to obtain the access token.",
    "evidence": "osv:CVE-2022-31690",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-31690",
      "aliases": [
        "CVE-2022-31690",
        "GHSA-32vj-v39g-jh23"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/spring-projects/spring-security",
              "type": "GIT",
              "events": [
                {
                  "introduced": "fa628f7491277c02c820eda6f8d13a98566dd6fa"
                },
                {
                  "fixed": "60f44b347f4af4c56ba897723881ad5a40af0b23"
                },
                {
                  "introduced": "3497b0ed68a2cc373d4105c66308dfe0dd624333"
                },
                {
                  "fixed": "24e925ef4d0bda1a7b656cf578e004febcf72a6f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.6.0"
                      },
                      {
                        "fixed": "5.6.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.7.0"
                      },
                      {
                        "fixed": "5.7.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "5.7.4",
            "5.6.8",
            "5.6.7",
            "5.7.3",
            "5.6.6",
            "5.7.2",
            "5.6.5",
            "5.7.1",
            "5.6.4",
            "5.7.0",
            "5.6.3",
            "5.6.2",
            "5.6.1",
            "5.6.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31690.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.310913630Z",
      "provider": "osv",
      "references": [
        "https://tanzu.vmware.com/security/cve-2022-31690",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31690.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-31690",
        "https://security.netapp.com/advisory/ntap-20221215-0010/"
      ],
      "provider_metadata": {
        "cna_assigner": "vmware",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "Spring Security (5.7 to 5.7.4 and 5.6 to 5.6.8 as well as older, unsupported versions)"
                  },
                  {
                    "last_affected": "Spring Security (5.7 to 5.7.4 and 5.6 to 5.6.8 as well as older, unsupported versions)"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31690.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-31690",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492092,
  "published_at": "2022-10-31T00:00:00+00:00"
}