Skip to content

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

Merged
Airfooox merged 2 commits intonextfrom
renovate/npm-ini-vulnerability
Mar 9, 2021
Merged

chore(deps): update dependency ini to 1.3.6 [security]#168
Airfooox merged 2 commits intonextfrom
renovate/npm-ini-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 9, 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: "" (UTC).

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

♻️ 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.

@renovate renovate bot added the security label Mar 9, 2021
@Airfooox Airfooox merged commit c6da666 into next Mar 9, 2021
Airfooox added a commit that referenced this pull request Mar 31, 2021
* chore(deps): update typescript-eslint monorepo to v4.15.2 (#157)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency semantic-release to v17.3.9 (#158)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency eslint to v7.20.0 (#159)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency @types/node to v13.13.45 (#160)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency nodemon to v2.0.7 (#161)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency @types/jest to v26.0.20 (#162)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Konstantin L. Zisiadis <konstantin.zisiadis@st.ovgu.de>

* chore(deps): update dependency eslint-config-prettier to v7.2.0 (#163)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency ts-jest to v26.5.2 (#164)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Konstantin L. Zisiadis <konstantin.zisiadis@st.ovgu.de>

* chore(deps): update dependency typescript to v4.2.2 (#165)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix(deps): update dependency yup to v0.32.9 (#166)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency eslint-config-prettier to v8 (#167)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Konstantin L. Zisiadis <konstantin.zisiadis@st.ovgu.de>

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

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Konstantin L. Zisiadis <konstantin.zisiadis@st.ovgu.de>

* chore(deps): update dependency marked to 2.0.0 [security] (#169)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Konstantin L. Zisiadis <konstantin.zisiadis@st.ovgu.de>

* chore(deps): update dependency node-notifier to 8.0.1 [security] (#170)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency eslint to v7.21.0 (#171)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency semantic-release to v17.4.1 (#172)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency ts-jest to v26.5.3 (#173)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Konstantin L. Zisiadis <konstantin.zisiadis@st.ovgu.de>

* chore(deps): update dependency typescript to v4.2.3 (#174)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update typescript-eslint monorepo to v4.17.0 (#175)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency @types/node to v13.13.46 (#176)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Konstantin L. Zisiadis <konstantin.zisiadis@st.ovgu.de>

* chore(deps): update dependency y18n to 4.0.1 [security] (#178)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency @types/jest to v26.0.22 (#179)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Konstantin L. Zisiadis <konstantin.zisiadis@st.ovgu.de>

* chore(deps): update dependency eslint to v7.23.0 (#180)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency semantic-release to v17.4.2 (#181)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix: remove import type for backwards compatibility

* remove import type for older typescript versions
* change importsNotUsedAsValues from 'error' to 'preserve' to ignore errors resulting from removing all import type

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
@Airfooox
Copy link
Copy Markdown
Owner

🎉 This PR is included in version 1.4.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants