Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. sails
  4. ›
  5. CVE-2021-44908

CVE-2021-44908: Prototype Pollution in sails

March 17, 2022 (updated March 24, 2022)

SailsJS Sails.js <=1.4.0 is vulnerable to Prototype Pollution via controller/load-action-modules.js, function loadActionModules().

References

  • github.com/advisories/GHSA-8v3j-jfg3-v3fv
  • github.com/balderdashy/sails/blob/master/lib/app/private/controller/load-action-modules.js
  • github.com/balderdashy/sails/commit/7c5379a656bb305c958df1dcc2b51a9668830358
  • github.com/balderdashy/sails/issues/7209
  • nvd.nist.gov/vuln/detail/CVE-2021-44908

Code Behaviors & Features

Detect and mitigate CVE-2021-44908 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 up to 1.4.0

Fixed versions

  • 1.4.1

Solution

Upgrade to version 1.4.1 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

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

Source file

npm/sails/CVE-2021-44908.yml

Spotted a mistake? Edit the file on GitLab.

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

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