Skip to content

fix(deps): update dependency joi to v18 [security] (master) - autoclosed#1416

Closed
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/master-npm-joi-vulnerability
Closed

fix(deps): update dependency joi to v18 [security] (master) - autoclosed#1416
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/master-npm-joi-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change OpenSSF
joi dependencies major ^17.5.0^18.0.0 OpenSSF Scorecard

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.

Resources

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 OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

hapijs/joi (joi)

v18.2.1

Compare Source

v18.2.0

Compare Source

v18.1.2

Compare Source

v18.1.1

Compare Source

v18.1.0

Compare Source

v18.0.2

Compare Source

v18.0.1

Compare Source

v18.0.0

Compare Source

v17.13.4

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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 enabled auto-merge June 11, 2026 21:13
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedjoi@​18.2.11001007991100

View full report

@renovate renovate Bot changed the title fix(deps): update dependency joi to v18 [security] (master) fix(deps): update dependency joi to v18 [security] (master) - autoclosed Jun 13, 2026
@renovate renovate Bot closed this Jun 13, 2026
auto-merge was automatically disabled June 13, 2026 01:39

Pull request was closed

@renovate renovate Bot deleted the renovate/master-npm-joi-vulnerability branch June 13, 2026 01:39
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