CVE-2018-6951

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-6951
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6951.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-6951
Related
Published
2018-02-13T19:29:00Z
Modified
2024-12-05T15:13:15.665357Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

An issue was discovered in GNU patch through 2.7.6. There is a segmentation fault, associated with a NULL pointer dereference, leading to a denial of service in the intuitdifftype function in pch.c, aka a "mangled rename" issue.

References

Affected packages

Alpine:v3.10 / patch

Package

Name
patch
Purl
pkg:apk/alpine/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.6-r2

Affected versions

2.*

2.5.9-r0
2.6-r0
2.6.1-r0
2.6.1-r1
2.6.1-r2
2.6.1-r3
2.7-r0
2.7.1-r0
2.7.1-r1
2.7.3-r0
2.7.4-r0
2.7.5-r0
2.7.5-r1
2.7.6-r0
2.7.6-r1

Alpine:v3.11 / patch

Package

Name
patch
Purl
pkg:apk/alpine/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.6-r2

Affected versions

2.*

2.5.9-r0
2.6-r0
2.6.1-r0
2.6.1-r1
2.6.1-r2
2.6.1-r3
2.7-r0
2.7.1-r0
2.7.1-r1
2.7.3-r0
2.7.4-r0
2.7.5-r0
2.7.5-r1
2.7.6-r0
2.7.6-r1

Alpine:v3.12 / patch

Package

Name
patch
Purl
pkg:apk/alpine/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.6-r2

Affected versions

2.*

2.5.9-r0
2.6-r0
2.6.1-r0
2.6.1-r1
2.6.1-r2
2.6.1-r3
2.7-r0
2.7.1-r0
2.7.1-r1
2.7.3-r0
2.7.4-r0
2.7.5-r0
2.7.5-r1
2.7.6-r0
2.7.6-r1

Alpine:v3.13 / patch

Package

Name
patch
Purl
pkg:apk/alpine/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.6-r2

Affected versions

2.*

2.5.9-r0
2.6-r0
2.6.1-r0
2.6.1-r1
2.6.1-r2
2.6.1-r3
2.7-r0
2.7.1-r0
2.7.1-r1
2.7.3-r0
2.7.4-r0
2.7.5-r0
2.7.5-r1
2.7.6-r0
2.7.6-r1

Alpine:v3.14 / patch

Package

Name
patch
Purl
pkg:apk/alpine/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.6-r2

Affected versions

2.*

2.5.9-r0
2.6-r0
2.6.1-r0
2.6.1-r1
2.6.1-r2
2.6.1-r3
2.7-r0
2.7.1-r0
2.7.1-r1
2.7.3-r0
2.7.4-r0
2.7.5-r0
2.7.5-r1
2.7.6-r0
2.7.6-r1

Alpine:v3.15 / patch

Package

Name
patch
Purl
pkg:apk/alpine/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.6-r2

Affected versions

2.*

2.5.9-r0
2.6-r0
2.6.1-r0
2.6.1-r1
2.6.1-r2
2.6.1-r3
2.7-r0
2.7.1-r0
2.7.1-r1
2.7.3-r0
2.7.4-r0
2.7.5-r0
2.7.5-r1
2.7.6-r0
2.7.6-r1

Alpine:v3.16 / patch

Package

Name
patch
Purl
pkg:apk/alpine/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.6-r2

Affected versions

2.*

2.5.9-r0
2.6-r0
2.6.1-r0
2.6.1-r1
2.6.1-r2
2.6.1-r3
2.7-r0
2.7.1-r0
2.7.1-r1
2.7.3-r0
2.7.4-r0
2.7.5-r0
2.7.5-r1
2.7.6-r0
2.7.6-r1

Alpine:v3.17 / patch

Package

Name
patch
Purl
pkg:apk/alpine/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.6-r2

Affected versions

2.*

2.5.9-r0
2.6-r0
2.6.1-r0
2.6.1-r1
2.6.1-r2
2.6.1-r3
2.7-r0
2.7.1-r0
2.7.1-r1
2.7.3-r0
2.7.4-r0
2.7.5-r0
2.7.5-r1
2.7.6-r0
2.7.6-r1

Alpine:v3.18 / patch

Package

Name
patch
Purl
pkg:apk/alpine/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.6-r2

Affected versions

2.*

2.5.9-r0
2.6-r0
2.6.1-r0
2.6.1-r1
2.6.1-r2
2.6.1-r3
2.7-r0
2.7.1-r0
2.7.1-r1
2.7.3-r0
2.7.4-r0
2.7.5-r0
2.7.5-r1
2.7.6-r0
2.7.6-r1

Alpine:v3.19 / patch

Package

Name
patch
Purl
pkg:apk/alpine/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.6-r2

Affected versions

2.*

2.5.9-r0
2.6-r0
2.6.1-r0
2.6.1-r1
2.6.1-r2
2.6.1-r3
2.7-r0
2.7.1-r0
2.7.1-r1
2.7.3-r0
2.7.4-r0
2.7.5-r0
2.7.5-r1
2.7.6-r0
2.7.6-r1

Alpine:v3.20 / patch

Package

Name
patch
Purl
pkg:apk/alpine/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.6-r2

Affected versions

2.*

2.5.9-r0
2.6-r0
2.6.1-r0
2.6.1-r1
2.6.1-r2
2.6.1-r3
2.7-r0
2.7.1-r0
2.7.1-r1
2.7.3-r0
2.7.4-r0
2.7.5-r0
2.7.5-r1
2.7.6-r0
2.7.6-r1

Alpine:v3.21 / patch

Package

Name
patch
Purl
pkg:apk/alpine/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.6-r2

Affected versions

2.*

2.5.9-r0
2.6-r0
2.6.1-r0
2.6.1-r1
2.6.1-r2
2.6.1-r3
2.7-r0
2.7.1-r0
2.7.1-r1
2.7.3-r0
2.7.4-r0
2.7.5-r0
2.7.5-r1
2.7.6-r0
2.7.6-r1

Alpine:v3.4 / patch

Package

Name
patch
Purl
pkg:apk/alpine/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.5-r2

Affected versions

2.*

2.5.9-r0
2.6-r0
2.6.1-r0
2.6.1-r1
2.6.1-r2
2.6.1-r3
2.7-r0
2.7.1-r0
2.7.1-r1
2.7.3-r0
2.7.4-r0
2.7.5-r0
2.7.5-r1

Alpine:v3.5 / patch

Package

Name
patch
Purl
pkg:apk/alpine/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.5-r2

Affected versions

2.*

2.5.9-r0
2.6-r0
2.6.1-r0
2.6.1-r1
2.6.1-r2
2.6.1-r3
2.7-r0
2.7.1-r0
2.7.1-r1
2.7.3-r0
2.7.4-r0
2.7.5-r0
2.7.5-r1

Alpine:v3.6 / patch

Package

Name
patch
Purl
pkg:apk/alpine/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.5-r2

Affected versions

2.*

2.5.9-r0
2.6-r0
2.6.1-r0
2.6.1-r1
2.6.1-r2
2.6.1-r3
2.7-r0
2.7.1-r0
2.7.1-r1
2.7.3-r0
2.7.4-r0
2.7.5-r0
2.7.5-r1

Alpine:v3.7 / patch

Package

Name
patch
Purl
pkg:apk/alpine/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.5-r2

Affected versions

2.*

2.5.9-r0
2.6-r0
2.6.1-r0
2.6.1-r1
2.6.1-r2
2.6.1-r3
2.7-r0
2.7.1-r0
2.7.1-r1
2.7.3-r0
2.7.4-r0
2.7.5-r0
2.7.5-r1

Alpine:v3.8 / patch

Package

Name
patch
Purl
pkg:apk/alpine/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.6-r2

Affected versions

2.*

2.5.9-r0
2.6-r0
2.6.1-r0
2.6.1-r1
2.6.1-r2
2.6.1-r3
2.7-r0
2.7.1-r0
2.7.1-r1
2.7.3-r0
2.7.4-r0
2.7.5-r0
2.7.5-r1
2.7.6-r0
2.7.6-r1

Alpine:v3.9 / patch

Package

Name
patch
Purl
pkg:apk/alpine/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.6-r2

Affected versions

2.*

2.5.9-r0
2.6-r0
2.6.1-r0
2.6.1-r1
2.6.1-r2
2.6.1-r3
2.7-r0
2.7.1-r0
2.7.1-r1
2.7.3-r0
2.7.4-r0
2.7.5-r0
2.7.5-r1
2.7.6-r0
2.7.6-r1

Debian:11 / patch

Package

Name
patch
Purl
pkg:deb/debian/patch?arch=source

Affected ranges

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

Affected versions

2.*

2.7.6-7

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:12 / patch

Package

Name
patch
Purl
pkg:deb/debian/patch?arch=source

Affected ranges

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

Affected versions

2.*

2.7.6-7

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:13 / patch

Package

Name
patch
Purl
pkg:deb/debian/patch?arch=source

Affected ranges

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

Affected versions

2.*

2.7.6-7

Ecosystem specific

{
    "urgency": "unimportant"
}