GHSA-x2jc-pwfj-h9p3

Suggest an improvement
Source
https://github.com/advisories/GHSA-x2jc-pwfj-h9p3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/02/GHSA-x2jc-pwfj-h9p3/GHSA-x2jc-pwfj-h9p3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-x2jc-pwfj-h9p3
Aliases
Published
2019-02-18T23:54:28Z
Modified
2023-11-08T03:58:12Z
Summary
SQL Injection in sequelize
Details

Affected versions of sequelize use MySQL's backslash-based escape syntax when connecting to SQLite, despite the fact that SQLite uses PostgreSQL's escape syntax, which can result in a SQL Injection vulnerability.

Recommendation

Update to version 1.7.0-alpha3 or later.

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

Affected packages

npm / sequelize

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.7.0

Database specific

last_known_affected_version_range
"<= 1.7.0-alpha2"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/02/GHSA-x2jc-pwfj-h9p3/GHSA-x2jc-pwfj-h9p3.json"