CVE-2018-16871
published 2019-07-30CVE-2018-16871: A flaw was found in the Linux kernel's NFS implementation, all versions 3.x and all versions 4.x up to 4.20. An attacker, who is able to mount an exported NFS…
PriorityP340high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
2.78%
84.8th percentile
A flaw was found in the Linux kernel's NFS implementation, all versions 3.x and all versions 4.x up to 4.20. An attacker, who is able to mount an exported NFS filesystem, is able to trigger a null pointer dereference by using an invalid NFS sequence. This can panic the machine and deny access to the NFS server. Any outstanding disk writes to the NFS server will be lost.
Affected
19 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 4.18.20-1 (bookworm) | linux 4.18.20-1 (bookworm) |
| linux | linux_kernel | >= 0 < 4.18.20-1 | 4.18.20-1 |
| linux | linux_kernel | >= 0 < 4.18.20-1 | 4.18.20-1 |
| linux | linux_kernel | >= 0 < 4.18.20-1 | 4.18.20-1 |
| linux | linux_kernel | >= 0 < 4.18.20-1 | 4.18.20-1 |
| linux | linux_kernel | 3.0 – 4.20 | — |
| red_hat | kernel | — | — |
| redhat | developer_tools | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_eus | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_eus | — | — |
| redhat | enterprise_linux_server_tus | — | — |
| redhat | enterprise_linux_server_tus | — | — |
| redhat | enterprise_linux_workstation | — | — |
| redhat | mrg_realtime | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: nfs: NULL pointer dereference due to an anomalized NFS message sequence
vendor_redhat·2019-06-03·CVSS 7.5
CVE-2018-16871 [HIGH] CWE-476 kernel: nfs: NULL pointer dereference due to an anomalized NFS message sequence
kernel: nfs: NULL pointer dereference due to an anomalized NFS message sequence
A flaw was found in the Linux kernel's NFS implementation, all versions 3.x and all versions 4.x up to 4.20. An attacker, who is able to mount an exported NFS filesystem, is able to trigger a null pointer dereference by using an invalid NFS sequence. This can panic the machine and deny access to the NFS server. Any outstanding disk writes to the NFS server will be lost.
A flaw was found in the Linux kernel's NFS implementation. An attacker, who is able to mount an exported NFS filesystem, is able to trigger a null pointer dereference by using an invalid NFS sequence. This can panic the machine and deny access to the NFS server. Any outstanding disk writes to the NFS server will be lost.
Package: kernel (Red
Debian
CVE-2018-16871: linux - A flaw was found in the Linux kernel's NFS implementation, all versions 3.x and ...
vendor_debian·2018·CVSS 7.5
CVE-2018-16871 [HIGH] CVE-2018-16871: linux - A flaw was found in the Linux kernel's NFS implementation, all versions 3.x and ...
A flaw was found in the Linux kernel's NFS implementation, all versions 3.x and all versions 4.x up to 4.20. An attacker, who is able to mount an exported NFS filesystem, is able to trigger a null pointer dereference by using an invalid NFS sequence. This can panic the machine and deny access to the NFS server. Any outstanding disk writes to the NFS server will be lost.
Scope: local
bookworm: resolved (fixed in 4.18.20-1)
bullseye: resolved (fixed in 4.18.20-1)
forky: resolved (fixed in 4.18.20-1)
sid: resolved (fixed in 4.18.20-1)
trixie: resolved (fixed in 4.18.20-1)
GHSA
GHSA-h4fx-7429-jvf7: A flaw was found in the Linux kernel's NFS implementation, all versions 3
ghsa_unreviewed·2022-05-24
CVE-2018-16871 [HIGH] CWE-476 GHSA-h4fx-7429-jvf7: A flaw was found in the Linux kernel's NFS implementation, all versions 3
A flaw was found in the Linux kernel's NFS implementation, all versions 3.x and all versions 4.x up to 4.20. An attacker, who is able to mount an exported NFS filesystem, is able to trigger a null pointer dereference by using an invalid NFS sequence. This can panic the machine and deny access to the NFS server. Any outstanding disk writes to the NFS server will be lost.
OSV
CVE-2018-16871: A flaw was found in the Linux kernel's NFS implementation, all versions 3
osv·2019-07-30·CVSS 7.5
CVE-2018-16871 [HIGH] CVE-2018-16871: A flaw was found in the Linux kernel's NFS implementation, all versions 3
A flaw was found in the Linux kernel's NFS implementation, all versions 3.x and all versions 4.x up to 4.20. An attacker, who is able to mount an exported NFS filesystem, is able to trigger a null pointer dereference by using an invalid NFS sequence. This can panic the machine and deny access to the NFS server. Any outstanding disk writes to the NFS server will be lost.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-16871 kernel: nfs: NULL pointer dereference due to an anomalized NFS message sequence [fedora-all]
bugzilla·2019-06-03·CVSS 7.5
CVE-2018-16871 [HIGH] CVE-2018-16871 kernel: nfs: NULL pointer dereference due to an anomalized NFS message sequence [fedora-all]
CVE-2018-16871 kernel: nfs: NULL pointer dereference due to an anomalized NFS message sequence [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affec
Bugzilla
CVE-2018-16871 kernel: nfs: NULL pointer dereference due to an anomalized NFS message sequence
bugzilla·2018-11-30·CVSS 7.5
CVE-2018-16871 [HIGH] CVE-2018-16871 kernel: nfs: NULL pointer dereference due to an anomalized NFS message sequence
CVE-2018-16871 kernel: nfs: NULL pointer dereference due to an anomalized NFS message sequence
A flaw was found in NFS in the Linux Kernel. An attacker who is able to mount an exported NFS filesystem is able to trigger a null pointer dereference by an invalid NFS sequence.
This can panic the machine and deny access to the NFS server. Any outstanding disk writes to the NFS server will be lost.
Upstream fix:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=01310bb7c9c98752cc763b36532fab028e0f8f81
Discussion:
It appears rhel7 needs this upstream commit
commit 01310bb7c9c98752cc763b36532fab028e0f8f81
Author: Scott Mayhew
Date: Thu Nov 8 11:11:36 2018 -0500
nfsd: COPY and CLONE operations require the saved filehandle to be set
Make sure we have a saved file
https://access.redhat.com/errata/RHSA-2019:2696https://access.redhat.com/errata/RHSA-2019:2730https://access.redhat.com/errata/RHSA-2020:0740https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16871https://security.netapp.com/advisory/ntap-20211004-0002/https://support.f5.com/csp/article/K18657134https://support.f5.com/csp/article/K18657134?utm_source=f5support&%3Butm_medium=RSShttps://access.redhat.com/errata/RHSA-2019:2696https://access.redhat.com/errata/RHSA-2019:2730https://access.redhat.com/errata/RHSA-2020:0740https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16871https://security.netapp.com/advisory/ntap-20211004-0002/https://support.f5.com/csp/article/K18657134https://support.f5.com/csp/article/K18657134?utm_source=f5support&%3Butm_medium=RSS
2019-07-30
Published