CVE-2020-15150: Paginator Remote Code Execution Vulnerability
CRITICALCVE-2020-15150 is a CRITICAL remote code execution vulnerability (General Security Weakness) affecting Paginator libraries in the Hex ecosystem. The issue involves remote code execution in paginator. Remediation is available by upgrading affected packages to version 1.0.0.
CVE-2020-15150 at a Glance
How to Fix CVE-2020-15150
To remediate this vulnerability, upgrade all affected Paginator dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade paginator to 1.0.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for paginator
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-15150, inspect your project dependencies for Paginator:
inspect dependencies for paginator
Analyze the terminal output to locate any version of Paginator in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Paginator, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-15150 Affected Paginator Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
paginator
|
Hex |
< 1.0.0
|
1.0.0
|
References
Frequently Asked Questions
What is CVE-2020-15150?
Which Paginator versions are affected?
What version fixes CVE-2020-15150?
Is paginator affected?
What CWE is associated with CVE-2020-15150?
How can I check Hex dependencies for CVE-2020-15150?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w98m-2xqg-9cvj",
"modified" : "2022-04-12T19:36:39Z",
"published" : "2022-04-12T19:36:39Z",
"aliases" : [ "CVE-2020-15150" ],
"summary" : "Remote Code Execution in paginator",
"details" : "There is a vulnerability in Paginator which makes it susceptible to Remote Code Execution (RCE) attacks via input parameters to the `paginate()` function.\n\n### Impact\nThere is a vulnerability in Paginator which makes it susceptible to Remote Code Execution (RCE) attacks via input parameters to the `paginate()` function. This will potentially affect all current users of `Paginator` prior to version >= 1.0.0.\n\n### Patches\nThe vulnerability has been patched in version 1.0.0 and all users should upgrade to this version immediately. Note that this patched version uses a dependency that requires an Elixir version >=1.5.\n\n### Credits\n\nThank you to Peter Stöckli.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Hex",
"name" : "paginator"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/duffelhq/paginator/security/advisories/GHSA-w98m-2xqg-9cvj"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-15150"
}, {
"type" : "WEB",
"url" : "https://github.com/duffelhq/paginator/commit/bf45e92602e517c75aea0465efc35cd661d9ebf8"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/duffelhq/paginator"
}, {
"type" : "WEB",
"url" : "https://github.com/duffelhq/paginator/blob/ccf0f37fa96347cc8c8a7e9eb2c64462cec4b2dc/README.md#security-considerations"
}, {
"type" : "WEB",
"url" : "https://hex.pm/packages/paginator"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2022-04-12T19:36:39Z",
"nvd_published_at" : "2020-09-01T17:15:00Z"
}
}