cve.bz

CVE-2021-28840 dlink: NULL Pointer Dereference

7.5 highExploit referenceEPSS 2.3%

High (7.5) in dlink. EPSS 2.3% estimated probability of exploitation activity in the next 30 days.

On this page
Null Pointer Dereference vulnerability exists in D-Link DAP-2310 2.07.RC031, DAP-2330 1.07.RC028, DAP-2360 2.07.RC043, DAP-2553 3.06.RC027, DAP-2660 1.13.RC074, DAP-2690 3.16.RC100, DAP-2695 1.17.RC063, DAP-3320 1.01.RC014 and DAP-3662 1.01.RC022 in the upload_config function of sbin/httpd binary. When the binary handle the specific HTTP GET request, the content in upload_file variable is NULL in the upload_config function then the strncasecmp would take NULL as first argument, and incur the NULL pointer dereference vulnerability.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-28840 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-28840?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-28840?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-28840 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
dlink:dap-2310_firmware2.0.7.rc031
dlink:dap-2330_firmware1.07.rc028
dlink:dap-2360_firmware2.07.rc043
dlink:dap-2553_firmware3.06.rc027
dlink:dap-2660_firmware1.13.rc074
dlink:dap-2690_firmware3.16.rc100
dlink:dap-2695_firmware1.17.rc063
dlink:dap-3320_firmware1.01.rc014
dlink:dap-3662_firmware1.01.rc022

References

Check your stackJSON