CVE-2021-38304 is an improper input validation vulnerability in the National Instruments NI-PAL driver, affecting versions 20.0.0 and prior. The vulnerability exists due to insufficient validation of user-supplied input, which could be exploited by a privileged local user to escalate privileges on the affected system.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository is a proof-of-concept (PoC) exploit for CVE-2021-38304, a critical vulnerability in older versions of the National Instruments nipalk.sys Windows kernel driver. The exploit demonstrates how an attacker can leverage a vulnerable IOCTL handler (0xABCD03C4) to supply a function pointer and parameters that the driver will invoke in kernel context without proper validation. The main exploit logic is implemented in 'main.cpp', which allocates memory, sets up a structure with a function pointer (typically to RtlCopyMemory), and sends it to the driver via DeviceIoControl. The exploit can leak arbitrary kernel memory or cause a denial of service (system crash) if an invalid pointer is used. Supporting code in 'utils.cpp' and 'utils.h' provides logging and kernel function address resolution. The only fingerprintable endpoint is the device file '\\.\NIPALK' and the specific IOCTL code. The repository is structured as a standalone PoC and does not include weaponized or framework-based code.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.