Description

This affects the package dns-packet before 5.2.2. It creates buffers with allocUnsafe and does not always fill them before forming network packets. This can expose internal application memory over unencrypted network when querying crafted invalid domain names.

INFO

Published Date :

May 20, 2021, 5:15 p.m.

Last Modified :

Nov. 21, 2024, 5:51 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2021-23386 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Dns-packet_project dns-packet
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 HIGH [email protected]
CVSS 3.1 MEDIUM [email protected]
Public PoC/Exploit Available at Github

CVE-2021-23386 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-23386.

URL Resource
https://github.com/mafintosh/dns-packet/commit/25f15dd0fedc53688b25fd053ebbdffe3d5c1c56 Patch Third Party Advisory
https://hackerone.com/bugs?subject=user&amp%3Breport_id=968858 Permissions Required Third Party Advisory
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1295719 Patch Third Party Advisory
https://snyk.io/vuln/SNYK-JS-DNSPACKET-1293563 Patch Third Party Advisory
https://github.com/mafintosh/dns-packet/commit/25f15dd0fedc53688b25fd053ebbdffe3d5c1c56 Patch Third Party Advisory
https://hackerone.com/bugs?subject=user&amp%3Breport_id=968858 Permissions Required Third Party Advisory
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1295719 Patch Third Party Advisory
https://snyk.io/vuln/SNYK-JS-DNSPACKET-1293563 Patch Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-23386 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-23386 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

cs-316-project-primespiders created by GitHub Classroom

HTML CSS JavaScript Pug

Updated: 2 years, 5 months ago
1 stars 0 fork 0 watcher
Born at : March 3, 2022, 8:16 p.m. This repo has been linked 2 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-23386 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-23386 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/mafintosh/dns-packet/commit/25f15dd0fedc53688b25fd053ebbdffe3d5c1c56
    Added Reference https://hackerone.com/bugs?subject=user&amp%3Breport_id=968858
    Added Reference https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1295719
    Added Reference https://snyk.io/vuln/SNYK-JS-DNSPACKET-1293563
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CWE Remap by [email protected]

    Jul. 12, 2022

    Action Type Old Value New Value
    Changed CWE CWE-200 CWE-909
  • Reanalysis by [email protected]

    Jun. 01, 2021

    Action Type Old Value New Value
    Changed Reference Type https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1295719 Third Party Advisory https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1295719 Patch, Third Party Advisory
    Changed Reference Type https://snyk.io/vuln/SNYK-JS-DNSPACKET-1293563 Third Party Advisory https://snyk.io/vuln/SNYK-JS-DNSPACKET-1293563 Patch, Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:dns-packet_project:dns-packet:*:*:*:*:*:node.js:*:* versions up to (excluding) 5.2.2 OR *cpe:2.3:a:dns-packet_project:dns-packet:*:*:*:*:*:node.js:*:* versions up to (excluding) 1.3.4 *cpe:2.3:a:dns-packet_project:dns-packet:*:*:*:*:*:node.js:*:* versions from (including) 2.0.0 up to (excluding) 5.2.2
  • Initial Analysis by [email protected]

    May. 26, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:N/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://github.com/mafintosh/dns-packet/commit/25f15dd0fedc53688b25fd053ebbdffe3d5c1c56 No Types Assigned https://github.com/mafintosh/dns-packet/commit/25f15dd0fedc53688b25fd053ebbdffe3d5c1c56 Patch, Third Party Advisory
    Changed Reference Type https://hackerone.com/bugs?subject=user&amp%3Breport_id=968858 No Types Assigned https://hackerone.com/bugs?subject=user&amp%3Breport_id=968858 Permissions Required, Third Party Advisory
    Changed Reference Type https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1295719 No Types Assigned https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1295719 Third Party Advisory
    Changed Reference Type https://snyk.io/vuln/SNYK-JS-DNSPACKET-1293563 No Types Assigned https://snyk.io/vuln/SNYK-JS-DNSPACKET-1293563 Third Party Advisory
    Added CWE NIST CWE-200
    Added CPE Configuration OR *cpe:2.3:a:dns-packet_project:dns-packet:*:*:*:*:*:node.js:*:* versions up to (excluding) 5.2.2
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.7
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 4
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.58 }} -0.53%

score

0.68120

percentile