CVE-2021-44908

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

published March 17, 2022

CVSS
—
EPSS
2%
Percentile
78.7
In the wild
Unconfirmed
What it is

⚠️ Attention, Sails.js users! There’s a sneaky Prototype Pollution vulnerability in versions up to 1.4.0 lurking in the controller/load-action-modules.js. 🚨 Think of your application as a restaurant menu. If an unverified customer can sneak in and change the ingredients of your dishes, they could serve something completely off the rails—even the chef might not notice! This vulnerability could allow an attacker to modify object prototypes, leading to unpredictable behavior in your application. If exploited, it opens the door to unwanted changes, potentially compromising your system’s integrity and functionality.

Put simply

Think of your application as a restaurant menu. If an unverified customer can sneak in and change the ingredients of your dishes, they could serve something completely off the rails—even the chef might not notice! The Prototype Pollution vulnerability in Sails.js arises from a failure to properly validate user input in the loadActionModules function, allowing an attacker to inject malicious properties into your objects.

What to do

This vulnerability could allow an attacker to modify object prototypes, leading to unpredictable behavior in your application. If exploited, it opens the door to unwanted changes, potentially compromising your system’s integrity and functionality. To protect your application, upgrade to Sails.js version 1.4.1 or later immediately. Additionally, review your code for any instances of unverified user input that could be manipulated in a similar way. You've got this! Secure your application and keep the internet safer. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01827 · 78.7th percentile
Published
2022-03-17T11:47Z
EPSS history
Timeline
  • 17 MAR 11:47Z
    SailsJS Sails.js <=1.4.0 is vulnerable to Prototype Pollution via controller/load-action-modules.js, function loadActionModules()
    cvelistv5