GHSA-x4vj-279x-qwf2

Suggest an improvement
Source
https://github.com/advisories/GHSA-x4vj-279x-qwf2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-x4vj-279x-qwf2/GHSA-x4vj-279x-qwf2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-x4vj-279x-qwf2
Aliases
  • CVE-2014-4996
Published
2022-05-14T03:48:04Z
Modified
2023-11-08T03:57:42Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
VladTheEnterprising allows local users to write to arbitrary files via a symlink attack
Details

lib/vlad/dba/mysql.rb in the VladTheEnterprising gem 0.2 for Ruby allows local users to write to arbitrary files via a symlink attack on /tmp/my.cnf.#{target_host}.

Database specific
{
    "cwe_ids":  [
        "CWE-59"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2023-01-27T00:50:46Z",
    "nvd_published_at":  "2018-01-10T18:29:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

RubyGems / VladTheEnterprising

Package

Name
VladTheEnterprising
Purl
pkg:gem/VladTheEnterprising

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
0.2

Affected versions

0.*
0.1.4
0.1.5
0.1.6
0.1.7
0.1.8
0.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-x4vj-279x-qwf2/GHSA-x4vj-279x-qwf2.json"