CVE-2021-40822Osgeo Geoserver
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Osgeo · Osgeo Geoserver We alert you by email or Slack (account required).
- Priority
- 62
- CVSS 3.1
- 7.5
- EPSS
- 19.3% probability of exploitation in 30 days · percentile 98
- Auth required
- No
- Published
- May 2, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-918
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
GeoServer through 2.18.5 and 2.19.x through 2.19.2 allows SSRF via the option for setting a proxy host.
What to do
- Apply the vendor's security update for Geoserver.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.geoserver:gs-main |
≤ 2.18.5 |
no fixed version | — |
| Maven | org.geoserver:gs-main |
≥ 2.19.0 ≤ 2.19.2 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-rr33-j5p5-ppf8). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| osgeo | geoserver | ≤ 2.18.5 |
| osgeo | geoserver | ≥ 2.19.0 < 2.19.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Release Notes Third Party Advisory
- github.com Release Notes Third Party Advisory
- osgeo-org.atlassian.net Issue Tracking Vendor Advisory
- osgeo-org.atlassian.net Issue Tracking Vendor Advisory