Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2023-28120

There is a vulnerability in ActiveSupport if the new bytesplice method is called on a SafeBuffer with untrusted user input.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-28120
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:40 UTC · Revision 1

Source evidence

CVE-2023-28120

core-osv · Original source

Published 9 Jan 2025, 00:33 UTC

There is a vulnerability in ActiveSupport if the new bytesplice method is called on a SafeBuffer with untrusted user input.

osv:CVE-2023-28120
Complete source record
{
  "id": "ece8da6865c8050afe456bea8424546ee3d46b66240183471b1744b213ab2ce1",
  "url": "https://osv.dev/vulnerability/CVE-2023-28120",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2023-28120",
    "summary": "There is a vulnerability in ActiveSupport if the new bytesplice method is called on a SafeBuffer with untrusted user input.",
    "evidence": "osv:CVE-2023-28120",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-28120",
      "aliases": [
        "CVE-2023-28120",
        "GHSA-pj73-v5mw-pm9j"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/rails/rails",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c15ee6e7b5065db3c46afa1f025b8e45f443604e"
                },
                {
                  "fixed": "3cf23c3f891e2e81c977ea4ab83b62bc2a444b70"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "7.0.4.3"
                      },
                      {
                        "last_affected": "7.0.4.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "6.1.7.3"
                      },
                      {
                        "last_affected": "6.1.7.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3cf23c3f891e2e81c977ea4ab83b62bc2a444b70"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "6.1.7.3",
            "7.0.4.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-28120.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.007195343Z",
      "provider": "osv",
      "references": [
        "https://discuss.rubyonrails.org/t/cve-2023-28120-possible-xss-security-vulnerability-in-safebuffer-bytesplice/82469",
        "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UPV6PVCX4VDJHLFFT42EXBBSGAWZICOW/",
        "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZE5W4MH6IE4DV7GELDK6ISCSTFLHKSYO/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28120.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-28120",
        "https://security.netapp.com/advisory/ntap-20240202-0006/",
        "https://www.debian.org/security/2023/dsa-5389",
        "https://github.com/rails/rails/commit/3cf23c3f891e2e81c977ea4ab83b62bc2a444b70"
      ],
      "provider_metadata": {
        "cna_assigner": "hackerone",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28120.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-28120",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504194,
  "published_at": "2025-01-09T00:33:47.658+00:00"
}