Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting a security warning regarding jpeg-js which is a dependency of react-native-bootsplash #137

Closed
patrick-domegan-rbc opened this issue Jul 28, 2020 · 2 comments

Comments

@patrick-domegan-rbc
Copy link

Thank you for react-native-bootsplash! Just a post about a github security alert we are passing along.

Getting a security warning regarding jpeg-js which is a dependency of react-native-bootsplash

CVE-2020-8175
moderate severity
Vulnerable versions: < 0.4.0
Patched version: 0.4.0

Uncontrolled resource consumption in jpeg-js before 0.4.0 may allow attacker to launch denial of service attacks using specially a crafted JPEG image.

(2.2.5 has same issue)

💻 My environment

  • react-native-bootsplash version: 2.2.4
  • react-native version: 0.62.2
  • Platform: both
  • OS version: N/A
  • Device: N/A
  • Simulator: N/A
  • Android Studio version: N/A
  • Android buildToolsVersion: N/A
  • Xcode version: N/A

🕵️‍♂️ Reproducing the issue

Install react-native-bootsplash to your RN app

run npm ls jpeg-js

└─┬ [email protected]
  └─┬ [email protected]
    └─┬ @jimp/[email protected]
      └─┬ @jimp/[email protected]
        └── [email protected] 

🤞Solution

Upgrade to v0.12.1 of jimp
(v0.12.1 => jimp-dev/jimp#892)

@zoontek
Copy link
Owner

zoontek commented Jul 30, 2020

@patrick-domegan-rbc Hi. Could you create the PR?

@zoontek
Copy link
Owner

zoontek commented Aug 13, 2020

@zoontek zoontek closed this as completed Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants