CVE-2019-25073 Path traversal in github.com/goadesign/goa
Remote attackers can read files outside the intended directory due to improper path sanitization in the goa framework.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-25073?
CVE-2019-25073 is a high-severity path traversal vulnerability in github.com/goadesign/goa, published on 27 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Improper path sanitization in github.com/goadesign/goa before v3.0.9, v2.0.10, or v1.4.3 allow remote attackers to read files outside of the intended directory.
Weakness: CWE-22
Which versions are affected by CVE-2019-25073?
9 open source packages ship an affected version, including github.com/goadesign/goa, goa.design/goa and goa.design/goa/v3. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/goadesign/goa Go | All versions | 1.4.3 |
github.com/goadesign/goa Go | All versions | 1.4.3 |
github.com/goadesign/goa Go | All versions | 1.4.3 |
goa.design/goa Go | All versions | 1.4.3 |
goa.design/goa Go | All versions | 1.4.3 |
goa.design/goa Go | All versions | 1.4.3 |
3 more packages
goa.design/goa/v3 Go | All versions | 3.0.9 |
goa.design/goa/v3 Go | All versions | 3.0.9 |
goa.design/goa/v3 Go | All versions | 3.0.9 |
Products include Goa.design Goa.
How do I fix CVE-2019-25073?
Upgrade github.com/goadesign/goa to 1.4.3 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2019-25073 being exploited?
There is no known exploitation of CVE-2019-25073 in the wild and no public exploit code.
Sources
Also known as GHSA-fjgq-224f-fq37, GO-2020-0032.