Skip to content

Update dependency joi to v17.13.4 [SECURITY] - #552

Merged
daniel-renovator[bot] merged 1 commit into
mainfrom
renovate/npm-joi-vulnerability
Jun 17, 2026
Merged

Update dependency joi to v17.13.4 [SECURITY]#552
daniel-renovator[bot] merged 1 commit into
mainfrom
renovate/npm-joi-vulnerability

Conversation

@daniel-renovator

@daniel-renovator daniel-renovator Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
joi 17.13.317.13.4 age confidence

joi has an uncaught RangeError on deeply nested input through recursive link() schemas

CVE-2026-48038 / GHSA-q7cg-457f-vx79

More information

Details

Impact

Denial of service via untrapped exception in services validating user-supplied JSON / object input with recursive link schemas.

The blast radius depends on how the application invokes joi:

  • Highest impact: validate() called without try/catch in a request handler would cause an unhandled exception, potentially crashing the process.
  • Lower impact: validateAsync() or validate() inside a try/catch, the validation fails, but the error type is RangeError rather than a structured ValidationError, complicating error handling.
Patches

Upgrade to version >= 18.2.1.

Workarounds

Try/catch the validation to avoid uncaught exceptions.

References

Severity

  • CVSS Score: 5.3 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

hapijs/joi (joi)

v17.13.4

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • 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 has been generated by Mend Renovate.

@codecov-commenter

codecov-commenter commented Jun 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 36.30%. Comparing base (04220ea) to head (c0c9f9d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #552   +/-   ##
=======================================
  Coverage   36.30%   36.30%           
=======================================
  Files          28       28           
  Lines         942      942           
  Branches      188      188           
=======================================
  Hits          342      342           
  Misses        548      548           
  Partials       52       52           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@daniel-renovator daniel-renovator Bot changed the title Update dependency joi to v18 [SECURITY] Update dependency joi to v18 [SECURITY] - autoclosed Jun 12, 2026
@daniel-renovator daniel-renovator Bot closed this Jun 12, 2026
@daniel-renovator
daniel-renovator Bot deleted the renovate/npm-joi-vulnerability branch June 12, 2026 20:23
@daniel-renovator daniel-renovator Bot changed the title Update dependency joi to v18 [SECURITY] - autoclosed Update dependency joi to v17.13.4 [SECURITY] Jun 13, 2026
@daniel-renovator daniel-renovator Bot reopened this Jun 13, 2026
@daniel-renovator
daniel-renovator Bot force-pushed the renovate/npm-joi-vulnerability branch 2 times, most recently from c229426 to dbbf300 Compare June 13, 2026 03:18
@daniel-renovator daniel-renovator Bot added the semver:patch A PR with this label will trigger a patch semver bump label Jun 16, 2026
@daniel-renovator
daniel-renovator Bot force-pushed the renovate/npm-joi-vulnerability branch from dbbf300 to c0c9f9d Compare June 17, 2026 06:45
@daniel-renovator
daniel-renovator Bot merged commit 9df0a4e into main Jun 17, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver:patch A PR with this label will trigger a patch semver bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant