GHSA-mg5p-95m9-rmfp

Suggest an improvement
Source
https://github.com/advisories/GHSA-mg5p-95m9-rmfp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/05/GHSA-mg5p-95m9-rmfp/GHSA-mg5p-95m9-rmfp.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-mg5p-95m9-rmfp
Aliases
Published
2020-05-13T16:28:46Z
Modified
2023-11-01T05:29:07.529079Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Arbitrary file write in actionpack-page_caching gem
Details

There is a vulnerability in actionpack_page-caching gem < v1.2.1 that allows an attacker to write arbitrary files to a web server, potentially resulting in remote code execution if the attacker can write unescaped ERB to a view.

Database specific
{
    "nvd_published_at": "2020-05-12T13:15:00Z",
    "github_reviewed_at": "2020-05-13T16:28:30Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-22"
    ]
}
References

Affected packages

RubyGems / actionpack-page_caching

Package

Name
actionpack-page_caching
Purl
pkg:gem/actionpack-page_caching

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.1

Affected versions

1.*

1.0.0
1.0.1
1.0.2
1.1.0
1.1.1
1.2.0