Skip to content

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

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

fix(deps): update dependency joi to v18 [security] - autoclosed#110
renovate[bot] wants to merge 1 commit into
developfrom
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 ^17.4.2^18.0.0 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.

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 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

v17.13.3

Compare Source

v17.13.2

Compare Source

v17.13.1

Compare Source

v17.13.0

Compare Source

v17.12.3

Compare Source

v17.12.2

Compare Source

v17.12.1

Compare Source

v17.12.0

Compare Source

v17.11.1

Compare Source

v17.11.0

Compare Source

v17.10.2

Compare Source

v17.10.1

Compare Source

v17.10.0

Compare Source

v17.9.2

Compare Source

v17.9.1

Compare Source

v17.9.0

Compare Source

v17.8.4

Compare Source

v17.8.3

Compare Source

v17.8.2

Compare Source

v17.8.1

Compare Source

v17.8.0

Compare Source

v17.7.1

Compare Source

v17.7.0

Compare Source

v17.6.4

Compare Source

v17.6.3

Compare Source

v17.6.2

Compare Source

v17.6.1

Compare Source

v17.6.0

Compare Source

v17.5.0

Compare Source

v17.4.3

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 requested review from KovacZan and kristjank as code owners June 11, 2026 23:51
@renovate

renovate Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: yarn.lock
/opt/containerbase/tools/corepack/0.35.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:13442
  const isURL = URL.canParse(range);
                    ^

TypeError: URL.canParse is not a function
    at parseSpec (/opt/containerbase/tools/corepack/0.35.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:13442:21)
    at Object.getSpec (/opt/containerbase/tools/corepack/0.35.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:13591:55)
    at Engine.findProjectSpec (/opt/containerbase/tools/corepack/0.35.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:13810:31)
    at async Engine.executePackageManagerRequest (/opt/containerbase/tools/corepack/0.35.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:13849:24)
    at async Object.runMain (/opt/containerbase/tools/corepack/0.35.0/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:14566:7)

@renovate renovate Bot changed the title fix(deps): update dependency joi to v18 [security] fix(deps): update dependency joi to v18 [security] - autoclosed Jun 12, 2026
@renovate renovate Bot closed this Jun 12, 2026
@renovate
renovate Bot deleted the renovate/npm-joi-vulnerability branch June 12, 2026 21:00
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