spring — security advisory
Spring Authorization Server versions 1.0.0 - 1.0.5, 1.1.0 - 1.1.5, 1.2.0 - 1.2.2 and older unsupported versions are susceptible to a PKCE Downgrade Attack for Confidential Clients. Specifically, an application is vulnerable when a Confidential Client uses PKCE for the Authorization Code Grant. An application is not vulnerable when a Public Client uses PKCE for the Authorization Code Grant.
- Products
- spring
- Affected versions
- 100.0+dfsg-2, 100.0+dfsg-2build1, 103.0+dfsg2-1, 103.0+dfsg2-1build1, 104.0+dfsg-2, 104.0+dfsg-3build2, 104.0+dfsg-4ubuntu1, 104.0+dfsg-4ubuntu2, 104.0+dfsg-4ubuntu5, 104.0+dfsg-4ubuntu6, 104.0+dfsg-4ubuntu7, 105.0.1+dfsg-2, 105.0.1+dfsg-3ubuntu1, 105.0.1+dfsg-3ubuntu2, 105.0.1+dfsg-4, 106.0+dfsg-2, 106.0+dfsg-3, 106.0+dfsg-3build2, 106.0+dfsg-3build3, 106.0+dfsg-4, 106.0+dfsg-5
- Fixed versions
- Not specified
- CVEs
- CVE-2024-22258
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:06 UTC · Revision 1
Source evidence
Spring Authorization Server versions 1.0.0 - 1.0.5, 1.1.0 - 1.1.5, 1.2.0 - 1.2.2 and older unsupported versions are susceptible to a PKCE Downgrade Attack for Confidential Clients. Specifically, an application is vulnerable when a Confidential Client uses PKCE for the Authorization Code Grant. An application is not vulnerable when a Public Client uses PKCE for the Authorization Code Grant.
osv:UBUNTU-CVE-2024-22258
spring
Fixed versions: Not specified
spring
Fixed versions: Not specified
spring
Fixed versions: Not specified
spring
Fixed versions: Not specified
spring
Fixed versions: Not specified
spring
Fixed versions: Not specified
spring
Fixed versions: Not specified
spring
Fixed versions: Not specified
Complete source record
{
"id": "4ffa87d325fa90ce5b9492652767deb5cd1724a41b464db4188195f39eaf360e",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-22258",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2024-22258",
"summary": "Spring Authorization Server versions 1.0.0 - 1.0.5, 1.1.0 - 1.1.5, 1.2.0 - 1.2.2 and older unsupported versions are susceptible to a PKCE Downgrade Attack for Confidential Clients. Specifically, an application is vulnerable when a Confidential Client uses PKCE for the Authorization Code Grant. An application is not vulnerable when a Public Client uses PKCE for the Authorization Code Grant.",
"evidence": "osv:UBUNTU-CVE-2024-22258",
"products": [
{
"name": {
"value": "spring",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "100.0+dfsg-2",
"evidence": "/affected/0/versions"
},
{
"value": "100.0+dfsg-2build1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "spring",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "103.0+dfsg2-1",
"evidence": "/affected/1/versions"
},
{
"value": "103.0+dfsg2-1build1",
"evidence": "/affected/1/versions"
},
{
"value": "104.0+dfsg-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "spring",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "104.0+dfsg-3build2",
"evidence": "/affected/2/versions"
},
{
"value": "104.0+dfsg-4ubuntu1",
"evidence": "/affected/2/versions"
},
{
"value": "104.0+dfsg-4ubuntu2",
"evidence": "/affected/2/versions"
},
{
"value": "104.0+dfsg-4ubuntu5",
"evidence": "/affected/2/versions"
},
{
"value": "104.0+dfsg-4ubuntu6",
"evidence": "/affected/2/versions"
},
{
"value": "104.0+dfsg-4ubuntu7",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "spring",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "105.0.1+dfsg-2",
"evidence": "/affected/3/versions"
},
{
"value": "105.0.1+dfsg-3ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "105.0.1+dfsg-3ubuntu2",
"evidence": "/affected/3/versions"
},
{
"value": "105.0.1+dfsg-4",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "spring",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "106.0+dfsg-2",
"evidence": "/affected/4/versions"
},
{
"value": "106.0+dfsg-3",
"evidence": "/affected/4/versions"
},
{
"value": "106.0+dfsg-3build2",
"evidence": "/affected/4/versions"
},
{
"value": "106.0+dfsg-3build3",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "spring",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "106.0+dfsg-4",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "spring",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "106.0+dfsg-4",
"evidence": "/affected/6/versions"
},
{
"value": "106.0+dfsg-5",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "spring",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "106.0+dfsg-4",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2024-22258",
"aliases": [
"UBUNTU-CVE-2024-22258"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "spring",
"purl": "pkg:deb/ubuntu/spring?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"100.0+dfsg-2",
"100.0+dfsg-2build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-22258.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "spring",
"binary_version": "100.0+dfsg-2build1"
},
{
"binary_name": "spring-common",
"binary_version": "100.0+dfsg-2build1"
},
{
"binary_name": "spring-javaai",
"binary_version": "100.0+dfsg-2build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "spring",
"purl": "pkg:deb/ubuntu/spring?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"103.0+dfsg2-1",
"103.0+dfsg2-1build1",
"104.0+dfsg-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-22258.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "spring",
"binary_version": "104.0+dfsg-2"
},
{
"binary_name": "spring-common",
"binary_version": "104.0+dfsg-2"
},
{
"binary_name": "spring-javaai",
"binary_version": "104.0+dfsg-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "spring",
"purl": "pkg:deb/ubuntu/spring?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"104.0+dfsg-3build2",
"104.0+dfsg-4ubuntu1",
"104.0+dfsg-4ubuntu2",
"104.0+dfsg-4ubuntu5",
"104.0+dfsg-4ubuntu6",
"104.0+dfsg-4ubuntu7"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-22258.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "spring",
"binary_version": "104.0+dfsg-4ubuntu7"
},
{
"binary_name": "spring-common",
"binary_version": "104.0+dfsg-4ubuntu7"
},
{
"binary_name": "spring-javaai",
"binary_version": "104.0+dfsg-4ubuntu7"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "spring",
"purl": "pkg:deb/ubuntu/spring?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"105.0.1+dfsg-2",
"105.0.1+dfsg-3ubuntu1",
"105.0.1+dfsg-3ubuntu2",
"105.0.1+dfsg-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-22258.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "spring",
"binary_version": "105.0.1+dfsg-4"
},
{
"binary_name": "spring-common",
"binary_version": "105.0.1+dfsg-4"
},
{
"binary_name": "spring-javaai",
"binary_version": "105.0.1+dfsg-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "spring",
"purl": "pkg:deb/ubuntu/spring?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"106.0+dfsg-2",
"106.0+dfsg-3",
"106.0+dfsg-3build2",
"106.0+dfsg-3build3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-22258.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "spring",
"binary_version": "106.0+dfsg-3build3"
},
{
"binary_name": "spring-common",
"binary_version": "106.0+dfsg-3build3"
},
{
"binary_name": "spring-javaai",
"binary_version": "106.0+dfsg-3build3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "spring",
"purl": "pkg:deb/ubuntu/spring?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"106.0+dfsg-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-22258.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "spring",
"binary_version": "106.0+dfsg-4"
},
{
"binary_name": "spring-common",
"binary_version": "106.0+dfsg-4"
},
{
"binary_name": "spring-javaai",
"binary_version": "106.0+dfsg-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "spring",
"purl": "pkg:deb/ubuntu/spring?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"106.0+dfsg-4",
"106.0+dfsg-5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-22258.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "spring",
"binary_version": "106.0+dfsg-5"
},
{
"binary_name": "spring-common",
"binary_version": "106.0+dfsg-5"
},
{
"binary_name": "spring-javaai",
"binary_version": "106.0+dfsg-5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "spring",
"purl": "pkg:deb/ubuntu/spring?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"106.0+dfsg-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-22258.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "spring",
"binary_version": "106.0+dfsg-4"
},
{
"binary_name": "spring-common",
"binary_version": "106.0+dfsg-4"
},
{
"binary_name": "spring-javaai",
"binary_version": "106.0+dfsg-4"
}
]
}
}
],
"modified": "2026-10-17T12:56:29.555197075Z",
"provider": "osv",
"upstream": [
"CVE-2024-22258"
],
"references": [
"https://ubuntu.com/security/CVE-2024-22258",
"https://spring.io/security/cve-2024-22258",
"https://www.cve.org/CVERecord?id=CVE-2024-22258"
]
},
"related_cves": [
{
"value": "CVE-2024-22258",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 355733,
"published_at": "2024-03-20T04:15:00+00:00"
}