Lucene search

K
redhatcveRedhat.comRH:CVE-2022-41919
HistoryJan 09, 2023 - 8:05 p.m.

CVE-2022-41919

2023-01-0920:05:41
redhat.com
access.redhat.com
16
cve-2022-41919
cross-site request forgery
csrf
fastify
content-type
fetch requests
application/json
cors protection
mitigation
@fastify/csrf

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

0.001 Low

EPSS

Percentile

44.8%

A Cross-site request forgery (CSRF) vulnerability was found in fastify due to improper handling of incorrect Content-Types. This flaw allows an attacker to use an incorrect ‘Content-Type’ to bypass checks to allow fetch() requests that could be used to invoke routes that only accept application/json content type and bypass any CORS protection.

Mitigation

Implement Cross-site request forgery protection using `@fastify/csrf'.

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

0.001 Low

EPSS

Percentile

44.8%