CVE-2022-50854: Software Security Vulnerability Vulnerability

UNKNOWN
Advisory Identifier: GHSA-7h7x-whhw-m2r2
Published
Advisory Summary

CVE-2022-50854 is a security vulnerability vulnerability (General Security Weakness) affecting Software libraries in the Maven ecosystem. Remediation is available in the latest vendor maintenance releases.

CVE-2022-50854 at a Glance

CVE Identifier CVE-2022-50854
GHSA Identifier GHSA-7h7x-whhw-m2r2
Severity N/A
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2022-50854

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2022-50854, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Software, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

In the Linux kernel, the following vulnerability has been resolved: nfc: virtual_ncidev: Fix memory leak in virtual_nci_send() skb should be free in virtual_nci_send(), otherwise kmemleak will report memleak. Steps for reproduction (simulated in qemu): cd tools/testing/selftests/nci make ./nci_dev BUG: memory leak unreferenced object 0xffff888107588000 (size 208): comm "nci_dev", pid 206, jiffies 4294945376 (age 368.248s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<000000008d94c8fd>] __alloc_skb+0x1da/0x290 [<00000000278bc7f8>] nci_send_cmd+0xa3/0x350 [<0000000081256a22>] nci_reset_req+0x6b/0xa0 [<000000009e721112>] __nci_request+0x90/0x250 [<000000005d556e59>] nci_dev_up+0x217/0x5b0 [<00000000e618ce62>] nfc_dev_up+0x114/0x220 [<00000000981e226b>] nfc_genl_dev_up+0x94/0xe0 [<000000009bb03517>] genl_family_rcv_msg_doit.isra.14+0x228/0x2d0 [<00000000b7f8c101>] genl_rcv_msg+0x35c/0x640 [<00000000c94075ff>] netlink_rcv_skb+0x11e/0x350 [<00000000440cfb1e>] genl_rcv+0x24/0x40 [<0000000062593b40>] netlink_unicast+0x43f/0x640 [<000000001d0b13cc>] netlink_sendmsg+0x73a/0xbf0 [<000000003272487f>] __sys_sendto+0x324/0x370 [<00000000ef9f1747>] __x64_sys_sendto+0xdd/0x1b0 [<000000001e437841>] do_syscall_64+0x3f/0x90

References

Frequently Asked Questions

What is CVE-2022-50854?
CVE-2022-50854 is a security vulnerability in Software classified as a security vulnerability vulnerability under General Security Weakness.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2022-50854?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2022-50854?
CVE-2022-50854 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2022-50854?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-7h7x-whhw-m2r2",
  "modified" : "2025-12-30T15:30:28Z",
  "published" : "2025-12-30T15:30:28Z",
  "aliases" : [ "CVE-2022-50854" ],
  "details" : "In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: virtual_ncidev: Fix memory leak in virtual_nci_send()\n\nskb should be free in virtual_nci_send(), otherwise kmemleak will report\nmemleak.\n\nSteps for reproduction (simulated in qemu):\n\tcd tools/testing/selftests/nci\n\tmake\n\t./nci_dev\n\nBUG: memory leak\nunreferenced object 0xffff888107588000 (size 208):\n  comm \"nci_dev\", pid 206, jiffies 4294945376 (age 368.248s)\n  hex dump (first 32 bytes):\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n  backtrace:\n    [<000000008d94c8fd>] __alloc_skb+0x1da/0x290\n    [<00000000278bc7f8>] nci_send_cmd+0xa3/0x350\n    [<0000000081256a22>] nci_reset_req+0x6b/0xa0\n    [<000000009e721112>] __nci_request+0x90/0x250\n    [<000000005d556e59>] nci_dev_up+0x217/0x5b0\n    [<00000000e618ce62>] nfc_dev_up+0x114/0x220\n    [<00000000981e226b>] nfc_genl_dev_up+0x94/0xe0\n    [<000000009bb03517>] genl_family_rcv_msg_doit.isra.14+0x228/0x2d0\n    [<00000000b7f8c101>] genl_rcv_msg+0x35c/0x640\n    [<00000000c94075ff>] netlink_rcv_skb+0x11e/0x350\n    [<00000000440cfb1e>] genl_rcv+0x24/0x40\n    [<0000000062593b40>] netlink_unicast+0x43f/0x640\n    [<000000001d0b13cc>] netlink_sendmsg+0x73a/0xbf0\n    [<000000003272487f>] __sys_sendto+0x324/0x370\n    [<00000000ef9f1747>] __x64_sys_sendto+0xdd/0x1b0\n    [<000000001e437841>] do_syscall_64+0x3f/0x90",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-50854"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/2c46a9a5f0b1c7341aa67667801079f3ff571678"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/88e879c9f59511174ef0ab1a3c9c83e2dbf8a213"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/e840d8f4a1b323973052a1af5ad4edafcde8ae3d"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : null,
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2025-12-30T13:16:00Z"
  }
}