OESA-2024-2584 (CVE-2023-42118)

Vulnerability from osv_openeuler – Published: 2024-12-27 11:08 – Updated: 2026-08-06 11:08 – Source website
VLAI
Summary
libspf2 security update
Details

libspf2 is an implementation of the SPF (Sender Policy Framework) specification as found at: http://www.ietf.org/internet-drafts/draft-mengwong-spf-00.txt SPF allows email systems to check SPF DNS records and make sure that an email is authorized by the administrator of the domain name that it is coming from. This prevents email forgery, commonly used by spammers, scammers, and email viruses/worms.

Security Fix(es):

Exim libspf2 Integer Underflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Exim libspf2. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the parsing of SPF macros. When parsing SPF macros, the process does not properly validate user-supplied data, which can result in an integer underflow before writing to memory. An attacker can leverage this vulnerability to execute code in the context of the service account. . Was ZDI-CAN-17578.(CVE-2023-42118)


{
  "affected": [
    {
      "ecosystem_specific": {
        "aarch64": [
          "libspf2-1.2.11-2.oe2203sp4.aarch64.rpm",
          "libspf2-debuginfo-1.2.11-2.oe2203sp4.aarch64.rpm",
          "libspf2-debugsource-1.2.11-2.oe2203sp4.aarch64.rpm",
          "libspf2-devel-1.2.11-2.oe2203sp4.aarch64.rpm",
          "libspf2-progs-1.2.11-2.oe2203sp4.aarch64.rpm",
          "perl-Mail-SPF_XS-1.2.11-2.oe2203sp4.aarch64.rpm"
        ],
        "noarch": [
          "libspf2-apidocs-1.2.11-2.oe2203sp4.noarch.rpm"
        ],
        "src": [
          "libspf2-1.2.11-2.oe2203sp4.src.rpm"
        ],
        "x86_64": [
          "libspf2-1.2.11-2.oe2203sp4.x86_64.rpm",
          "libspf2-debuginfo-1.2.11-2.oe2203sp4.x86_64.rpm",
          "libspf2-debugsource-1.2.11-2.oe2203sp4.x86_64.rpm",
          "libspf2-devel-1.2.11-2.oe2203sp4.x86_64.rpm",
          "libspf2-progs-1.2.11-2.oe2203sp4.x86_64.rpm",
          "perl-Mail-SPF_XS-1.2.11-2.oe2203sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP4",
        "name": "libspf2",
        "purl": "pkg:rpm/openEuler/libspf2\u0026distro=openEuler-22.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.2.11-2.oe2203sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "High"
  },
  "details": "libspf2 is an implementation of the SPF (Sender Policy Framework) specification as found at: http://www.ietf.org/internet-drafts/draft-mengwong-spf-00.txt SPF allows email systems to check SPF DNS records and make sure that an email is authorized by the administrator of the domain name that it is coming from. This prevents email forgery, commonly used by spammers, scammers, and email viruses/worms.\r\n\r\nSecurity Fix(es):\r\n\r\nExim libspf2 Integer Underflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Exim libspf2. Authentication is not required to exploit this vulnerability. \r\n\r\nThe specific flaw exists within the parsing of SPF macros. When parsing SPF macros, the process does not properly validate user-supplied data, which can result in an integer underflow before writing to memory. An attacker can leverage this vulnerability to execute code in the context of the service account.\n. Was ZDI-CAN-17578.(CVE-2023-42118)",
  "id": "OESA-2024-2584",
  "modified": "2026-08-06T11:08:04Z",
  "published": "2024-12-27T11:08:04Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2024-2584"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-42118"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "libspf2 security update",
  "upstream": [
    "CVE-2023-42118"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…