CVE-2020-28483 HTTP Response Splitting

High 7.1 Published Updated

Attackers can spoof client IP addresses by manipulating the X-Forwarded-For header in the Gin web framework, bypassing IP-based security controls.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-28483?

CVE-2020-28483 is a high-severity vulnerability in github.com/gin-gonic/gin, published on 20 Jan 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

This affects all versions of package github.com/gin-gonic/gin. When gin is exposed directly to the internet, a client's IP can be spoofed by setting the X-Forwarded-For header.

Weakness: CWE-444

Which versions are affected by CVE-2020-28483?

3 open source packages ship an affected version, including github.com/gin-gonic/gin. It affects 1 product.

PackageAffectedFixed in
github.com/gin-gonic/gin GoAll versions1.7.7
github.com/gin-gonic/gin GoAll versions1.7.7
github.com/gin-gonic/gin GoAll versions1.7.7

Products include Gin-Gonic Gin.

How do I fix CVE-2020-28483?

Upgrade github.com/gin-gonic/gin to 1.7.7 or later.

Is CVE-2020-28483 being exploited?

There is no known exploitation of CVE-2020-28483 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2020-28483, GHSA-h395-qcrw-5vmq, GO-2021-0052, SNYK-GOLANG-GITHUBCOMGINGONICGIN-1041736, UBUNTU-CVE-2020-28483.

Is CVE-2020-28483 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free