CVE-2023-53033

medium

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits If the offset + length goes over the ethernet + vlan header, then the length is adjusted to copy the bytes that are within the boundaries of the vlan_ethhdr scratchpad area. The remaining bytes beyond ethernet + vlan header are copied directly from the skbuff data area. Fix incorrect arithmetic operator: subtract, not add, the size of the vlan header in case of double-tagged packets to adjust the length accordingly to address CVE-2023-0179.

References

https://git.kernel.org/stable/c/a8acfe2c6fb99f9375a9325807a179cd8c32e6e3

https://git.kernel.org/stable/c/76ef74d4a379faa451003621a84e3498044e7aa3

https://git.kernel.org/stable/c/696e1a48b1a1b01edad542a1ef293665864a4dd0

https://git.kernel.org/stable/c/550efeff989b041f3746118c0ddd863c39ddc1aa

Details

Source: Mitre, NVD

Published: 2025-03-27

Updated: 2025-03-28

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium