5.3 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): None (N)
- Availability (A): Low (L)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): Low (L)
Activity log
- Created suggestion
joi: Uncaught RangeError on deeply nested input through recursive `link()` schemas
joi is a schema description language and data validator for JavaScript. Prior to 17.13.4 and 18.2.1, denial of service is possible via an untrapped exception in services validating user-supplied JSON or object input with recursive link() schemas. When validate() is called without try/catch in a request handler, deeply nested input can trigger an unhandled RangeError and potentially crash the process; lower-impact paths using validateAsync() or try/catch produce a RangeError instead of a structured ValidationError. This issue is fixed in versions 17.13.4 and 18.2.1.
References
-
https://github.com/hapijs/joi/security/advisories/GHSA-q7cg-457f-vx79 x_refsource_CONFIRM
-
https://github.com/hapijs/joi/pull/3113 x_refsource_MISC
Affected products
- ==>= 18.0.0, < 18.2.1
- ==< 17.13.4
Matching in nixpkgs
pkgs.joincap
Merge multiple pcap files together, gracefully
pkgs.python313Packages.pyadjoint-ad
High-level automatic differentiation library
pkgs.python314Packages.pyadjoint-ad
High-level automatic differentiation library
pkgs.akkuPackages.robin-disjoint-set
A disjoint-set data structure
pkgs.haskellPackages.disjoint-sets-st
Imperative ST/IO based disjoint set data structure
pkgs.python313Packages.python-join-api
Python API for interacting with Join by joaoapps
pkgs.python314Packages.python-join-api
Python API for interacting with Join by joaoapps
pkgs.haskellPackages.disjoint-containers
Disjoint containers
Package maintainers
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>
-
@qbisi qbisicwate <qbisicwate@gmail.com>
-
@JamieMagee Jamie Magee <jamie.magee@gmail.com>