ID

VAR-202206-1441


CVE

CVE-2022-31306


TITLE

Nginx NJS  Vulnerability in using free memory in

Trust: 0.8

sources: JVNDB: JVNDB-2022-014687

DESCRIPTION

Nginx NJS v0.7.2 was discovered to contain a segmentation violation in the function njs_array_convert_to_slow_array at src/njs_array.c. Nginx NJS Exists in a vulnerability related to the use of freed memory.Service operation interruption (DoS) It may be in a state

Trust: 1.8

sources: NVD: CVE-2022-31306 // JVNDB: JVNDB-2022-014687 // VULHUB: VHN-423027 // VULMON: CVE-2022-31306

AFFECTED PRODUCTS

vendor:f5model:njsscope:eqversion:0.7.2

Trust: 1.8

vendor:f5model:njsscope:eqversion: -

Trust: 0.8

sources: JVNDB: JVNDB-2022-014687 // NVD: CVE-2022-31306

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2022-31306
value: MEDIUM

Trust: 1.0

NVD: CVE-2022-31306
value: MEDIUM

Trust: 0.8

CNNVD: CNNVD-202206-2108
value: MEDIUM

Trust: 0.6

VULHUB: VHN-423027
value: MEDIUM

Trust: 0.1

VULMON: CVE-2022-31306
value: MEDIUM

Trust: 0.1

nvd@nist.gov: CVE-2022-31306
severity: MEDIUM
baseScore: 4.3
vectorString: AV:N/AC:M/AU:N/C:N/I:N/A:P
accessVector: NETWORK
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: PARTIAL
exploitabilityScore: 8.6
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.9

VULHUB: VHN-423027
severity: MEDIUM
baseScore: 4.3
vectorString: AV:N/AC:M/AU:N/C:N/I:N/A:P
accessVector: NETWORK
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: PARTIAL
exploitabilityScore: 8.6
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.1

nvd@nist.gov: CVE-2022-31306
baseSeverity: MEDIUM
baseScore: 5.5
vectorString: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
attackVector: LOCAL
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: REQUIRED
scope: UNCHANGED
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: HIGH
exploitabilityScore: 1.8
impactScore: 3.6
version: 3.1

Trust: 1.0

NVD: CVE-2022-31306
baseSeverity: MEDIUM
baseScore: 5.5
vectorString: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
attackVector: LOCAL
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: REQUIRED
scope: UNCHANGED
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: HIGH
exploitabilityScore: NONE
impactScore: NONE
version: 3.0

Trust: 0.8

sources: VULHUB: VHN-423027 // VULMON: CVE-2022-31306 // JVNDB: JVNDB-2022-014687 // CNNVD: CNNVD-202206-2108 // NVD: CVE-2022-31306

PROBLEMTYPE DATA

problemtype:CWE-416

Trust: 1.1

problemtype:Use of freed memory (CWE-416) [NVD evaluation ]

Trust: 0.8

sources: VULHUB: VHN-423027 // JVNDB: JVNDB-2022-014687 // NVD: CVE-2022-31306

THREAT TYPE

local

Trust: 0.6

sources: CNNVD: CNNVD-202206-2108

TYPE

resource management error

Trust: 0.6

sources: CNNVD: CNNVD-202206-2108

PATCH

title:151url:https://github.com/nginx/njs/commit/81af26364c21c196dd21fb5e14c7fa9ce7debd17

Trust: 0.8

title:Nginx Remediation of resource management error vulnerabilitiesurl:http://www.cnnvd.org.cn/web/xxk/bdxqById.tag?id=197982

Trust: 0.6

sources: JVNDB: JVNDB-2022-014687 // CNNVD: CNNVD-202206-2108

EXTERNAL IDS

db:NVDid:CVE-2022-31306

Trust: 3.4

db:JVNDBid:JVNDB-2022-014687

Trust: 0.8

db:CNNVDid:CNNVD-202206-2108

Trust: 0.6

db:VULHUBid:VHN-423027

Trust: 0.1

db:VULMONid:CVE-2022-31306

Trust: 0.1

sources: VULHUB: VHN-423027 // VULMON: CVE-2022-31306 // JVNDB: JVNDB-2022-014687 // CNNVD: CNNVD-202206-2108 // NVD: CVE-2022-31306

REFERENCES

url:https://github.com/nginx/njs/commit/81af26364c21c196dd21fb5e14c7fa9ce7debd17

Trust: 1.8

url:https://github.com/nginx/njs/issues/481

Trust: 1.8

url:https://nvd.nist.gov/vuln/detail/cve-2022-31306

Trust: 0.8

url:https://cxsecurity.com/cveshow/cve-2022-31306/

Trust: 0.6

url:https://cwe.mitre.org/data/definitions/416.html

Trust: 0.1

url:https://nvd.nist.gov

Trust: 0.1

sources: VULHUB: VHN-423027 // VULMON: CVE-2022-31306 // JVNDB: JVNDB-2022-014687 // CNNVD: CNNVD-202206-2108 // NVD: CVE-2022-31306

SOURCES

db:VULHUBid:VHN-423027
db:VULMONid:CVE-2022-31306
db:JVNDBid:JVNDB-2022-014687
db:CNNVDid:CNNVD-202206-2108
db:NVDid:CVE-2022-31306

LAST UPDATE DATE

2024-08-14T14:17:52.492000+00:00


SOURCES UPDATE DATE

db:VULHUBid:VHN-423027date:2022-06-29T00:00:00
db:VULMONid:CVE-2022-31306date:2022-06-29T00:00:00
db:JVNDBid:JVNDB-2022-014687date:2023-09-21T04:55:00
db:CNNVDid:CNNVD-202206-2108date:2022-07-01T00:00:00
db:NVDid:CVE-2022-31306date:2022-06-29T11:47:01.660

SOURCES RELEASE DATE

db:VULHUBid:VHN-423027date:2022-06-21T00:00:00
db:VULMONid:CVE-2022-31306date:2022-06-21T00:00:00
db:JVNDBid:JVNDB-2022-014687date:2023-09-21T00:00:00
db:CNNVDid:CNNVD-202206-2108date:2022-06-21T00:00:00
db:NVDid:CVE-2022-31306date:2022-06-21T13:15:08.237