Lookup for vulnerable packages by Package URL.
| Purl | pkg:npm/sails@0.10.0-rc11 |
| Type | npm |
| Namespace | |
| Name | sails |
| Version | 0.10.0-rc11 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | 1.5.7 |
| Latest_non_vulnerable_version | 1.5.7 |
| Affected_by_vulnerabilities |
| 0 |
| url |
VCID-1664-tgnt-a3hq |
| vulnerability_id |
VCID-1664-tgnt-a3hq |
| summary |
Improper Input Validation
Sails.js allows attackers to cause a denial of service with a single request because there is no error handler in sails-hook-sockets to handle an empty pathname in a WebSocket request. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2018-21036, GHSA-f7f4-hqp2-7prc
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-1664-tgnt-a3hq |
|
| 1 |
| url |
VCID-894w-kccs-u7et |
| vulnerability_id |
VCID-894w-kccs-u7et |
| summary |
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Sails is an MVC style framework for building realtime web applications. Version 0.12.7 and lower have an issue with the CORS configuration where the value of the origin header is reflected as the value for the Access-Control-Allow-Origin header. This would allow an attacker to make AJAX requests to vulnerable hosts through cross site scripting or a malicious HTML Document, effectively bypassing the Same Origin Policy. Note that this is only an issue when `allRoutes` is set to `true` and `origin` is set to `*` or left commented out in the sails CORS config file. The problem can be compounded when the cors `credentials` setting is not provided. At that point authenticated cross domain requests are possible. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2016-10549, GHSA-qmv4-jgp7-mf68
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-894w-kccs-u7et |
|
| 2 |
| url |
VCID-hkee-9r97-jyhu |
| vulnerability_id |
VCID-hkee-9r97-jyhu |
| summary |
Uncaught Exception
Sails is a realtime MVC Framework for Node.js. In Sails apps prior to version 1.5.7,, an attacker can send a virtual request that will cause the node process to crash. This behavior was fixed in Sails v1.5.7. As a workaround, disable the sockets hook and remove the `sails.io.js` client. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2023-38504, GHSA-gpw9-fwm8-7rx7
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-hkee-9r97-jyhu |
|
| 3 |
| url |
VCID-pmc7-wajy-juf8 |
| vulnerability_id |
VCID-pmc7-wajy-juf8 |
| summary |
Prototype Pollution in sails
SailsJS Sails.js <=1.4.0 is vulnerable to Prototype Pollution via controller/load-action-modules.js, function loadActionModules(). |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2021-44908, GHSA-8v3j-jfg3-v3fv
|
| risk_score |
4.5 |
| exploitability |
0.5 |
| weighted_severity |
9.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-pmc7-wajy-juf8 |
|
| 4 |
| url |
VCID-spcy-46ve-7qgz |
| vulnerability_id |
VCID-spcy-46ve-7qgz |
| summary |
Broken CORS
Sails has an issue with the CORS configuration where the value of the origin header is reflected as the value for the Access-Control-Allow-Origin header. This would allow an attacker to make AJAX requests to vulnerable hosts through cross site scripting or a malicious HTML Document, effectively bypassing the Same Origin Policy. Note that this is only an issue when `allRoutes` is set to `true` and `origin` is set to `*` or left commented out in the sails CORS config file. The problem can be compounded when the cors `credentials` setting is not provided. At that point authenticated cross domain requests are possible. |
| references |
|
| fixed_packages |
|
| aliases |
GMS-2016-74
|
| risk_score |
null |
| exploitability |
0.5 |
| weighted_severity |
0.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-spcy-46ve-7qgz |
|
|
| Fixing_vulnerabilities |
|
| Risk_score | 4.5 |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:npm/sails@0.10.0-rc11 |