Skip to content
This repository was archived by the owner on Aug 29, 2024. It is now read-only.

fix(deps): update dependency convict to v6.2.4 [security]#40

Closed
renovate[bot] wants to merge 1 commit intomainfrom
renovate/npm-convict-vulnerability
Closed

fix(deps): update dependency convict to v6.2.4 [security]#40
renovate[bot] wants to merge 1 commit intomainfrom
renovate/npm-convict-vulnerability

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate bot commented Jan 20, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
convict 6.2.1 -> 6.2.4 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2022-21190

This affects the package convict before 6.2.3. This is a bypass of CVE-2022-22143. The fix introduced, relies on the startsWith method and does not prevent the vulnerability: before splitting the path, it checks if it starts with proto or this.constructor.prototype. To bypass this check it's possible to prepend the dangerous paths with any string value followed by a dot, like for example foo.proto or foo.this.constructor.prototype.

CVE-2022-22143

Impact

  • An attacker can inject attributes that are used in other components
  • An attacker can override existing attributes with ones that have incompatible type, which may lead to a crash.

The main use case of Convict is for handling server-side configurations written by the admins owning the servers, and not random users. So it's unlikely that an admin would deliberately sabotage their own server. Still a situation can happen where an admin not knowledgeable about JavaScript could be tricked by an attacker into writing the malicious JavaScript code into some config files.

Patches

The problem is patched in convict@6.2.3. Users should upgrade to convict@6.2.3.

Workarounds

No way for users to fix or remediate the vulnerability without upgrading

References

For more information

If you have any questions or comments about this advisory:
add your question as a comment in #​384

CVE-2023-0163

Impact

  • An attacker can inject attributes that are used in other components
  • An attacker can override existing attributes with ones that have incompatible type, which may lead to a crash.

The main use case of Convict is for handling server-side configurations written by the admins owning the servers, and not random users. So it's unlikely that an admin would deliberately sabotage their own server. Still a situation can happen where an admin not knowledgeable about JavaScript could be tricked by an attacker into writing the malicious JavaScript code into some config files.

Patches

The problem is patched in convict@6.2.4. Users should upgrade to convict@6.2.4.

Workarounds

No way for users to fix or remediate the vulnerability without upgrading

References

https://github.com/mozilla/node-convict/issues/410


Release Notes

mozilla/node-convict

v6.2.4

Compare Source

Bug Fixes
  • Fix imperfect prototype pollution fix (#​410) (#​411). Thanks to Captain-K-101

v6.2.3

Compare Source

Fixed
  • More more complete fix for prototype pollution vulnerability first addressed
    in #​384 (Marc-Aurèle Darche @​madarche, Snyk Security team)

v6.2.2

Compare Source

Fixed
  • More complete fix for prototype pollution vulnerability first addressed in
    #​384 (Marc-Aurèle Darche @​madarche)

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 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 Mend Renovate. View repository job log here.

@renovate renovate bot changed the title chore(deps): update dependency convict to 6.2.4 [security] fix(deps): update dependency convict to v6.2.4 [security] Mar 16, 2023
@renovate renovate bot changed the title fix(deps): update dependency convict to v6.2.4 [security] chore(deps): update dependency convict to 6.2.4 [security] Mar 17, 2023
@renovate renovate bot changed the title chore(deps): update dependency convict to 6.2.4 [security] fix(deps): update dependency convict to v6.2.4 [security] Mar 17, 2023
@renovate renovate bot changed the title fix(deps): update dependency convict to v6.2.4 [security] chore(deps): update dependency convict to 6.2.4 [security] Apr 9, 2023
@renovate renovate bot changed the title chore(deps): update dependency convict to 6.2.4 [security] fix(deps): update dependency convict to v6.2.4 [security] Apr 9, 2023
@renovate renovate bot force-pushed the renovate/npm-convict-vulnerability branch from 49af330 to 42970ed Compare April 9, 2023 12:56
@renovate renovate bot force-pushed the renovate/npm-convict-vulnerability branch from 42970ed to 98530cf Compare April 9, 2023 13:07
@stale
Copy link
Copy Markdown

stale bot commented Jun 8, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jun 8, 2023
@stale stale bot closed this Jun 15, 2023
@renovate
Copy link
Copy Markdown
Author

renovate bot commented Jun 15, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (6.2.4). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/npm-convict-vulnerability branch June 15, 2023 19:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

wontfix This will not be worked on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants