CVE-2022-40083 json
Labstack Echo Open Redirect vulnerability
published 2022-09-28 4 y ago modified 2026-06-17 4 mo ago also GHSA-crxj-hrmp-4rwf , GO-2022-1031 , EUVD-2022-6783
- cvss
- 9.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.2%
- EPSS 3.2% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
Labstack Echo v4.8.0 was discovered to contain an open redirect vulnerability via the Static Handler component. This vulnerability can be leveraged by attackers to cause a Server-Side Request Forgery (SSRF).
Patch / fix
- go github.com/labstack/echo/v4 4.9.0
- golang-github-labstack-echo Debian 14, Debian 13 4.11.1-1
debian advisories DEBIAN-CVE-2022-40083
- github.com/labstack/echo#2260 commit
- github.com/labstack/echo@0ac4d74 commit
- github.com/labstack/echo#2260 pull request
- github.com/labstack/echo/releases/tag/v4.9.0 release
- github.com/labstack/echo/issues/2259 advisory
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 17 mo ago
Exploit prediction
3.24% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Labstack Echo 4.8.0 - Open Redirect nuclei detection template
- github.com https://github.com/labstack/echo/issues/2259 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| CNA | 3.1 | 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/labstack/echo/v4 | <4.9.0 |
4.9.0 |
Classification
- Weakness
-
- CWE-601 URL Redirection to Untrusted Site
References
-
github.com
/labstack/echo/issues/2259
web, exploit, issue-tracking, patch, third-party-advisory, report
-
github.com
/labstack/echo/pull/2260
web, patch
-
github.com
/labstack/echo/pull/2260/commits/3154abd1401554fe4d1c09ec550506d8625fc042
web
-
github.com
/labstack/echo/commit/0ac4d74402391912ff6da733bb09fd4c3980b4e1
web
-
nvd.nist.gov
/vuln/detail/CVE-2022-40083
advisory
-
github.com
/labstack/echo
package
-
github.com
/labstack/echo/releases/tag/v4.9.0
web
-
pkg.go.dev
/vuln/GO-2022-1031
web
Sources
- CVE List CVE-2022-40083
- GitHub Advisory GHSA-crxj-hrmp-4rwf
- NVD CVE-2022-40083
- OSV GO-2022-1031
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.