GitHub Advisoryadvisory · npm
GHSA-6xhg-q9c8-rj32 Credential leak in react-native-fast-image
MEDIUM
Official page ↗
- Aliases
- CVE-2020-7696
- Ecosystem
- npm
- Packages
- react-native-fast-image
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-200
- Reviewed
- 2021-05-10
Affected packages
• npm react-native-fast-image: < 8.3.0 → fixed in 8.3.0
Description
This affects all versions before version 8.3.0 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.
Related
Alias · CVE (1)
- CVE-2020-7696 This affects all versions of package react-native-fast-image. vulnerability
Weakness · CWE (1)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-7696 advisory
- https://github.com/DylanVann/react-native-fast-image/issues/690 web
- https://github.com/DylanVann/react-native-fast-image/pull/691 web
- https://github.com/DylanVann/react-native-fast-image/commit/4a7cd64f5b0aa40b04d63ccb105ee2b511abe624 web
- https://snyk.io/vuln/SNYK-JS-REACTNATIVEFASTIMAGE-572228 web