Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2018-10874

published high CVSS 3.0 · 7.8

ansible: Inventory variables are loaded from current working directory when running ad-hoc command that can lead to code execution

Title from Red Hat VEX

Published
02 Jul 2018, 13:00:00 UTC
Updated
05 Aug 2024, 07:46:47 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
[UNKNOWN] — ansiblen/a Affected Not stated redhat
SUSE / openSUSE openSUSE-Leap-15.5 ansiblenoarch Advisory build 2.9.27-150000.1.17.2 SUSE-SU-2024:1509-1
Ubuntu bionic ansible Advisory build 2.5.1+dfsg-1ubuntu0.1 USN-4072-1
SUSE / openSUSE SLE-15-SP5 golang-github-prometheus-promuaarch64 Advisory build 0.14.0-150000.3.18.2 SUSE-SU-2024:1509-1
SUSE / openSUSE SLE-15-SP5 golang-github-prometheus-promuppc64le Advisory build 0.14.0-150000.3.18.2 SUSE-SU-2024:1509-1
SUSE / openSUSE SLE-15-SP5 golang-github-prometheus-promus390x Advisory build 0.14.0-150000.3.18.2 SUSE-SU-2024:1509-1
SUSE / openSUSE SLE-15-SP5 golang-github-prometheus-promux86_64 Advisory build 0.14.0-150000.3.18.2 SUSE-SU-2024:1509-1
SUSE / openSUSE openSUSE-Leap-15.5 POS_Image-Graphical7noarch Advisory build 0.1.1710765237.46af599-150000.1.21.2 SUSE-SU-2024:1509-1
Show 9 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Leap-15.5 POS_Image-JeOS7noarch Advisory build 0.1.1710765237.46af599-150000.1.21.2 SUSE-SU-2024:1509-1
SUSE / openSUSE openSUSE-Leap-15.5 ansible-docnoarch Advisory build 2.9.27-150000.1.17.2 SUSE-SU-2024:1509-1
SUSE / openSUSE openSUSE-Leap-15.5 ansible-testnoarch Advisory build 2.9.27-150000.1.17.2 SUSE-SU-2024:1509-1
SUSE / openSUSE openSUSE-Leap-15.5 dracut-saltbootnoarch Advisory build 0.1.1710765237.46af599-150000.1.53.2 SUSE-SU-2024:1509-1
SUSE / openSUSE openSUSE-Leap-15.5 golang-github-prometheus-promuaarch64 Advisory build 0.14.0-150000.3.18.2 SUSE-SU-2024:1509-1
SUSE / openSUSE openSUSE-Leap-15.5 golang-github-prometheus-promuppc64le Advisory build 0.14.0-150000.3.18.2 SUSE-SU-2024:1509-1
SUSE / openSUSE openSUSE-Leap-15.5 golang-github-prometheus-promus390x Advisory build 0.14.0-150000.3.18.2 SUSE-SU-2024:1509-1
SUSE / openSUSE openSUSE-Leap-15.5 golang-github-prometheus-promux86_64 Advisory build 0.14.0-150000.3.18.2 SUSE-SU-2024:1509-1
SUSE / openSUSE openSUSE-Leap-15.5 spacecmdnoarch Advisory build 4.3.27-150000.3.116.2 SUSE-SU-2024:1509-1

Description

In ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under attacker's control, allowing to run arbitrary code as a result.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

3

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.0
Base score
7.8 / 10
Severity
high
Provider
redhat · cna
Vector string
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
[UNKNOWN] ansible n/a (affected) redhat · cna

Weaknesses

1
  • CWE-426 (redhat · cna)

References

11
  • 1041396 http://www.securitytracker.com/id/1041396 vdb-entry, x_refsource_SECTRACK, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHBA-2018:3788 https://access.redhat.com/errata/RHBA-2018:3788 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2018:2150 https://access.redhat.com/errata/RHSA-2018:2150 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2018:2151 https://access.redhat.com/errata/RHSA-2018:2151 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2018:2152 https://access.redhat.com/errata/RHSA-2018:2152 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2018:2166 https://access.redhat.com/errata/RHSA-2018:2166 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2018:2321 https://access.redhat.com/errata/RHSA-2018:2321 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2018:2585 https://access.redhat.com/errata/RHSA-2018:2585 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • RHSA-2019:0054 https://access.redhat.com/errata/RHSA-2019:0054 vendor-advisory, x_refsource_REDHAT, x_transferred Contributors: redhat (cna), CVE (adp)
  • https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874 x_refsource_CONFIRM, x_transferred Contributors: redhat (cna), CVE (adp)
  • USN-4072-1 https://usn.ubuntu.com/4072-1/ vendor-advisory, x_refsource_UBUNTU, x_transferred Contributors: redhat (cna), CVE (adp)

Provider assertions

2

redhat · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
43e19f5404a34db41e2e391d65d479e6d1c58063f2e28b4624cceebe2f497001
Ingested
23 Sep 2026, 07:43:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected