Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

chore(deps): update dependency ini to version 1.3.6 馃専 #70

Merged
merged 1 commit into from
Mar 30, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 30, 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

Renovate configuration

馃搮 Schedule: "" in timezone America/New_York.

馃殾 Automerge: Enabled.

鈾伙笍 Rebasing: Whenever PR becomes conflicted, 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.

@jennifer-shehane jennifer-shehane merged commit 8f20054 into master Mar 30, 2021
@renovate renovate bot deleted the renovate/npm-ini-vulnerability branch March 30, 2021 18:26
@chrisbreiding
Copy link
Collaborator

馃帀 This PR is included in version 3.0.2 馃帀

The release is available on:

Your semantic-release bot 馃摝馃殌

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants