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

fix(deps): update dependency ua-parser-js to v1.0.33 [security] #1890

Merged
merged 1 commit into from
Aug 31, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 16, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ua-parser-js 1.0.2 -> 1.0.33 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2022-25927

Description:

A regular expression denial of service (ReDoS) vulnerability has been discovered in ua-parser-js.

Impact:

This vulnerability bypass the library's MAX_LENGTH input limit prevention. By crafting a very-very-long user-agent string with specific pattern, an attacker can turn the script to get stuck processing for a very long time which results in a denial of service (DoS) condition.

Affected Versions:

All versions of the library prior to version 0.7.33 / 1.0.33.

Patches:

A patch has been released to remove the vulnerable regular expression, update to version 0.7.33 / 1.0.33 or later.

References:

Regular expression Denial of Service - ReDoS

Credits:

Thanks to @​Snyk who first reported the issue.


Release Notes

faisalman/ua-parser-js (ua-parser-js)

v1.0.33

Compare Source

  • Add new browser : Cobalt
  • Identify Macintosh as an Apple device
  • Fix ReDoS vulnerability

v1.0.32

Compare Source

  • Add new browser : DuckDuckGo, Huawei Browser, LinkedIn
  • Add new OS : HarmonyOS
  • Add some Huawei models
  • Add Sharp Aquos TV
  • Improve detection Xiaomi Mi CC9
  • Fix Sony Xperia 1 III misidentified as Acer tablet
  • Fix Detect Sony BRAVIA as SmartTV
  • Fix Detect Xiaomi Mi TV as SmartTV
  • Fix Detect Galaxy Tab S8 as tablet
  • Fix WeGame mistakenly identified as WeChat
  • Fix included commas in Safari / Mobile Safari version
  • Increase UA_MAX_LENGTH to 350

Configuration

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

🚦 Automerge: Enabled.

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/npm-ua-parser-js-vulnerability branch from 4e8d677 to fd47d6c Compare April 18, 2023 20:23
@renovate renovate bot changed the title fix(deps): update dependency ua-parser-js to v1.0.33 [security] fix(deps): update dependency ua-parser-js to v1.0.33 [security] - autoclosed Oct 1, 2023
@renovate renovate bot closed this Oct 1, 2023
@renovate renovate bot deleted the renovate/npm-ua-parser-js-vulnerability branch October 1, 2023 12:07
@renovate renovate bot changed the title fix(deps): update dependency ua-parser-js to v1.0.33 [security] - autoclosed fix(deps): update dependency ua-parser-js to v1.0.33 [security] Oct 1, 2023
@renovate renovate bot reopened this Oct 1, 2023
@renovate renovate bot restored the renovate/npm-ua-parser-js-vulnerability branch October 1, 2023 16:00
@renovate renovate bot force-pushed the renovate/npm-ua-parser-js-vulnerability branch from fd47d6c to 41a91af Compare October 1, 2023 16:01
@renovate renovate bot force-pushed the renovate/npm-ua-parser-js-vulnerability branch 4 times, most recently from b4b202b to d13a387 Compare March 10, 2024 19:44
@renovate renovate bot force-pushed the renovate/npm-ua-parser-js-vulnerability branch from d13a387 to e6a1e71 Compare August 31, 2024 21:30
@renovate renovate bot enabled auto-merge (rebase) August 31, 2024 21:30
@renovate renovate bot merged commit 0f125da into master Aug 31, 2024
6 of 8 checks passed
@renovate renovate bot deleted the renovate/npm-ua-parser-js-vulnerability branch August 31, 2024 21:32
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.

0 participants