Skip to content

Update dependency joi to ^18.2.1 [SECURITY] - #1943

Merged
dex4er merged 1 commit into
mainfrom
renovate/npm-joi-vulnerability
Jun 12, 2026
Merged

Update dependency joi to ^18.2.1 [SECURITY]#1943
dex4er merged 1 commit into
mainfrom
renovate/npm-joi-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
joi ^18.1.2^18.2.1 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


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


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added renovate Renovate bot did it security Security issue or advisory labels Jun 11, 2026
@dex4er dex4er added this to the v1.10.0 milestone Jun 12, 2026
@dex4er
dex4er merged commit 8bd1467 into main Jun 12, 2026
11 checks passed
@dex4er
dex4er deleted the renovate/npm-joi-vulnerability branch June 12, 2026 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

renovate Renovate bot did it security Security issue or advisory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant