ghsa-4g8c-wm8x-jfhw
Vulnerability from github
Published
2025-02-10 17:38
Modified
2025-04-16 19:30
Summary
SslHandler doesn't correctly validate packets which can lead to native crash when using native SSLEngine
Details

Impact

When a special crafted packet is received via SslHandler it doesn't correctly handle validation of such a packet in all cases which can lead to a native crash.

Workarounds

As workaround its possible to either disable the usage of the native SSLEngine or changing the code from:

SslContext context = ...; SslHandler handler = context.newHandler(....);

to:

SslContext context = ...; SSLEngine engine = context.newEngine(....); SslHandler handler = new SslHandler(engine, ....);

Show details on source website


{
   affected: [
      {
         database_specific: {
            last_known_affected_version_range: "<= 4.1.117.Final",
         },
         package: {
            ecosystem: "Maven",
            name: "io.netty:netty-handler",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "4.1.91.Final",
                  },
                  {
                     fixed: "4.1.118.Final",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
   ],
   aliases: [
      "CVE-2025-24970",
   ],
   database_specific: {
      cwe_ids: [
         "CWE-20",
      ],
      github_reviewed: true,
      github_reviewed_at: "2025-02-10T17:38:10Z",
      nvd_published_at: "2025-02-10T22:15:38Z",
      severity: "HIGH",
   },
   details: "### Impact\nWhen a special crafted packet is received via SslHandler it doesn't correctly handle validation of such a packet in all cases which can lead to a native crash.\n\n### Workarounds\nAs workaround its possible to either disable the usage of the native SSLEngine or changing the code from:\n\n```\nSslContext context = ...;\nSslHandler handler = context.newHandler(....);\n```\n\nto:\n\n```\nSslContext context = ...;\nSSLEngine engine = context.newEngine(....);\nSslHandler handler = new SslHandler(engine, ....);\n```",
   id: "GHSA-4g8c-wm8x-jfhw",
   modified: "2025-04-16T19:30:03Z",
   published: "2025-02-10T17:38:10Z",
   references: [
      {
         type: "WEB",
         url: "https://github.com/netty/netty/security/advisories/GHSA-4g8c-wm8x-jfhw",
      },
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2025-24970",
      },
      {
         type: "WEB",
         url: "https://github.com/netty/netty/commit/87f40725155b2f89adfde68c7732f97c153676c4",
      },
      {
         type: "PACKAGE",
         url: "https://github.com/netty/netty",
      },
      {
         type: "WEB",
         url: "https://security.netapp.com/advisory/ntap-20250221-0005",
      },
      {
         type: "WEB",
         url: "https://www.vicarius.io/vsociety/posts/cve-2025-24970-netty-vulnerability-detection",
      },
      {
         type: "WEB",
         url: "https://www.vicarius.io/vsociety/posts/cve-2025-24970-netty-vulnerability-mitigation",
      },
   ],
   schema_version: "1.4.0",
   severity: [
      {
         score: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
         type: "CVSS_V3",
      },
   ],
   summary: "SslHandler doesn't correctly validate packets which can lead to native crash when using native SSLEngine",
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.