GHSA-rrp4-2xx3-mv29

Suggest an improvement
Source
https://github.com/advisories/GHSA-rrp4-2xx3-mv29
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-rrp4-2xx3-mv29/GHSA-rrp4-2xx3-mv29.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rrp4-2xx3-mv29
Aliases
Related
Published
2022-02-01T00:47:33Z
Modified
2024-08-21T14:56:42.213983Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
Summary
Command injection in gh-ost
Details

Gh-ost version <= 1.1.2 allows users to inject DSN strings via the -database parameter.

This is a low severity vulnerability as the attacker must have access to the target host or trick an administrator into executing a malicious gh-ost command on a host running gh-ost, plus network access from host running gh-ost to the attack's malicious MySQL server.

Impact

This issue may lead to arbitrary local file read.

Patches

Fixed in 1.1.3+.

Workarounds

None

References

  • https://advisory.dw1.io/51

For more information

If you have any questions or comments about this advisory: * Open an issue in github/gh-ost

Database specific
{
    "nvd_published_at": "2022-02-01T12:15:00Z",
    "github_reviewed_at": "2022-01-31T20:45:59Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-20",
        "CWE-74"
    ]
}
References

Affected packages

Go / github.com/github/gh-ost

Package

Name
github.com/github/gh-ost
View open source insights on deps.dev
Purl
pkg:golang/github.com/github/gh-ost

Affected ranges

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