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

chore(deps): update dependency ini to 1.3.6 [security] #127

Merged
merged 1 commit into from
Jun 11, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 8, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change
ini 1.3.5 -> 1.3.6

GitHub Vulnerability Alerts

CVE-2020-7788

Overview

The ini npm package before version 1.3.6 has a Prototype Pollution vulnerability.

If an attacker submits a malicious INI file to an application that parses it with ini.parse, they will pollute the prototype on the application. This can be exploited further depending on the context.

Patches

This has been patched in 1.3.6

Steps to reproduce

payload.ini

[__proto__]
polluted = "polluted"

poc.js:

var fs = require('fs')
var ini = require('ini')

var parsed = ini.parse(fs.readFileSync('./payload.ini', 'utf-8'))
console.log(parsed)
console.log(parsed.__proto__)
console.log(polluted)
> node poc.js
{}
{ polluted: 'polluted' }
{ polluted: 'polluted' }
polluted

Configuration

📅 Schedule: "" in timezone America/New_York.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/npm-ini-vulnerability branch 8 times, most recently from 9472243 to c5f9ebf Compare June 11, 2021 19:30
@renovate renovate bot requested a review from a team June 11, 2021 19:30
@renovate renovate bot force-pushed the renovate/npm-ini-vulnerability branch from c5f9ebf to 34419e4 Compare June 11, 2021 20:31
@renovate renovate bot force-pushed the renovate/npm-ini-vulnerability branch from 34419e4 to c6dddfe Compare June 11, 2021 20:54
@stvstnfrd stvstnfrd merged commit 3b6401f into master Jun 11, 2021
@stvstnfrd stvstnfrd deleted the renovate/npm-ini-vulnerability branch June 11, 2021 21:08
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

Successfully merging this pull request may close these issues.

None yet

2 participants