CVE-2020-7696 Information Exposure
An attacker can leak sensitive headers like authorization tokens to unintended servers due to header persistence in react-native-fast-image.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-7696?
CVE-2020-7696 is a medium-severity vulnerability in react-native-fast-image, published on 17 Jul 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
This affects all versions of package react-native-fast-image. When an image with source={{uri: "...", headers: { host: "somehost.com", authorization: "..." }} is loaded, all other subsequent images will use the same headers, this can lead to signing credentials or other session tokens being leaked to other servers.
Weakness: CWE-200
Which versions are affected by CVE-2020-7696?
2 open source packages ship an affected version, including react-native-fast-image. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
react-native-fast-image npm | All versions | 8.3.0 |
react-native-fast-image npm | All versions | 8.3.0 |
Products include React-Native-Fast-Image Project React-Native-Fast-Image.
How do I fix CVE-2020-7696?
Upgrade react-native-fast-image to 8.3.0 or later.
Is CVE-2020-7696 being exploited?
There is no known exploitation of CVE-2020-7696 in the wild and no public exploit code.
Sources
Also known as GHSA-6xhg-q9c8-rj32.