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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53033.json",
"cna_assigner": "Linux"
}"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53033.json"
[
{
"target": {
"file": "net/netfilter/nft_payload.c"
},
"digest": {
"line_hashes": [
"186792735818562297195019017939250632139",
"309219149537748029781007187587634801460",
"11327253293274792985824452159608966366",
"270533280628458183442545693620966478333"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53033-2a740188",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@76ef74d4a379faa451003621a84e3498044e7aa3",
"deprecated": false,
"signature_version": "v1"
},
{
"target": {
"file": "net/netfilter/nft_payload.c",
"function": "nft_payload_copy_vlan"
},
"digest": {
"length": 945.0,
"function_hash": "252678415878493625396556572419881272892"
},
"signature_type": "Function",
"id": "CVE-2023-53033-62d0d669",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@76ef74d4a379faa451003621a84e3498044e7aa3",
"deprecated": false,
"signature_version": "v1"
},
{
"target": {
"file": "net/netfilter/nft_payload.c",
"function": "nft_payload_copy_vlan"
},
"digest": {
"length": 945.0,
"function_hash": "252678415878493625396556572419881272892"
},
"signature_type": "Function",
"id": "CVE-2023-53033-9c15adc3",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a8acfe2c6fb99f9375a9325807a179cd8c32e6e3",
"deprecated": false,
"signature_version": "v1"
},
{
"target": {
"file": "net/netfilter/nft_payload.c",
"function": "nft_payload_copy_vlan"
},
"digest": {
"length": 945.0,
"function_hash": "252678415878493625396556572419881272892"
},
"signature_type": "Function",
"id": "CVE-2023-53033-a844225c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@696e1a48b1a1b01edad542a1ef293665864a4dd0",
"deprecated": false,
"signature_version": "v1"
},
{
"target": {
"file": "net/netfilter/nft_payload.c"
},
"digest": {
"line_hashes": [
"186792735818562297195019017939250632139",
"309219149537748029781007187587634801460",
"11327253293274792985824452159608966366",
"270533280628458183442545693620966478333"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53033-b6bb32fc",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@696e1a48b1a1b01edad542a1ef293665864a4dd0",
"deprecated": false,
"signature_version": "v1"
},
{
"target": {
"file": "net/netfilter/nft_payload.c"
},
"digest": {
"line_hashes": [
"186792735818562297195019017939250632139",
"309219149537748029781007187587634801460",
"11327253293274792985824452159608966366",
"270533280628458183442545693620966478333"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53033-c4463635",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a8acfe2c6fb99f9375a9325807a179cd8c32e6e3",
"deprecated": false,
"signature_version": "v1"
},
{
"target": {
"file": "net/netfilter/nft_payload.c",
"function": "nft_payload_copy_vlan"
},
"digest": {
"length": 945.0,
"function_hash": "252678415878493625396556572419881272892"
},
"signature_type": "Function",
"id": "CVE-2023-53033-d9c9cbaf",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@550efeff989b041f3746118c0ddd863c39ddc1aa",
"deprecated": false,
"signature_version": "v1"
},
{
"target": {
"file": "net/netfilter/nft_payload.c"
},
"digest": {
"line_hashes": [
"186792735818562297195019017939250632139",
"309219149537748029781007187587634801460",
"11327253293274792985824452159608966366",
"270533280628458183442545693620966478333"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53033-e3c48025",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@550efeff989b041f3746118c0ddd863c39ddc1aa",
"deprecated": false,
"signature_version": "v1"
}
]