Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. jsii
  4. ›
  5. GHSA-m56h-5xx3-2jc2

GHSA-m56h-5xx3-2jc2: Prototype pollution in jsii.configureCategories

December 18, 2024 (updated January 7, 2025)

jsii is a TypeScript to JavaScript compiler that also extracts an interface definition manifest to generate RPC stubs in various programming languages. jsii is typically used as a command-line tool, but it can also be loaded as a library. When loaded as a library into a larger application, prototype pollution may happen if untrusted user input is passed to the library. When used as a command line-tool, this pollution cannot occur.

References

  • github.com/advisories/GHSA-m56h-5xx3-2jc2
  • github.com/aws/jsii-compiler
  • github.com/aws/jsii-compiler/releases/tag/v5.4.46
  • github.com/aws/jsii-compiler/releases/tag/v5.5.15
  • github.com/aws/jsii-compiler/releases/tag/v5.6.4
  • github.com/aws/jsii-compiler/releases/tag/v5.7.3
  • github.com/aws/jsii-compiler/security/advisories/GHSA-m56h-5xx3-2jc2

Code Behaviors & Features

Detect and mitigate GHSA-m56h-5xx3-2jc2 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.4.0 before 5.4.46, all versions starting from 5.5.0 before 5.5.15, all versions starting from 5.6.0 before 5.6.4, all versions starting from 5.7.0 before 5.7.3

Fixed versions

  • 5.7.3
  • 5.6.4
  • 5.5.15
  • 5.4.46

Solution

Upgrade to versions 5.4.46, 5.5.15, 5.6.4, 5.7.3 or above.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/jsii/GHSA-m56h-5xx3-2jc2.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:08 +0000.