GHSA-xqg8-cv3h-xppv

Suggest an improvement
Source
https://github.com/advisories/GHSA-xqg8-cv3h-xppv
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-xqg8-cv3h-xppv/GHSA-xqg8-cv3h-xppv.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xqg8-cv3h-xppv
Aliases
  • CVE-2015-1369
Published
2017-10-24T18:33:36Z
Modified
2023-11-08T03:57:49.769609Z
Summary
SQL Injection in sequelize
Details

Versions 2.0.0-rc-7 and earlier of sequelize are affected by a SQL injection vulnerability when user input is passed into the order parameter.

Proof of Concept

Test.findAndCountAll({
where: { id :1 },
order : [['id', 'UNTRUSTED USER INPUT']]
})

Recommendation

Update to version 2.0.0-rc8 or later

Database specific
{
    "nvd_published_at": null,
    "severity": "HIGH",
    "cwe_ids": [
        "CWE-89"
    ],
    "github_reviewed_at": "2020-06-16T22:04:08Z",
    "github_reviewed": true
}
References

Affected packages

npm / sequelize

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.0-rc8

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-xqg8-cv3h-xppv/GHSA-xqg8-cv3h-xppv.json"
last_known_affected_version_range
"<= 2.0.0-rc7"