{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2012/cve-2012-1098.json"
      }
    ],
    "title": "rubygem-activesupport: XSS in SafeBuffer#[] (unescaped safe buffers can be marked as safe)",
    "tracking": {
      "current_release_date": "2026-01-28T22:52:18+00:00",
      "generator": {
        "date": "2026-01-28T22:52:18+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.6.16"
        }
      },
      "id": "CVE-2012-1098",
      "initial_release_date": "2012-03-01T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2012-03-01T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2025-04-11T01:06:31+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-01-28T22:52:18+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Subscription Asset Manager",
                "product": {
                  "name": "Red Hat Subscription Asset Manager",
                  "product_id": "red_hat_subscription_asset_manager",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:rhel_sam:1"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Subscription Asset Manager"
          },
          {
            "category": "product_version",
            "name": "rubygem-activesupport.src",
            "product": {
              "name": "rubygem-activesupport.src",
              "product_id": "rubygem-activesupport.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/rubygem-activesupport?arch=src"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "rubygem-activesupport.src as a component of Red Hat Subscription Asset Manager",
          "product_id": "red_hat_subscription_asset_manager:rubygem-activesupport.src"
        },
        "product_reference": "rubygem-activesupport.src",
        "relates_to_product_reference": "red_hat_subscription_asset_manager"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2012-1098",
      "cwe": {
        "id": "CWE-79",
        "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
      },
      "discovery_date": "2012-03-02T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "799275"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "Cross-site scripting (XSS) vulnerability in Ruby on Rails 3.0.x before 3.0.12, 3.1.x before 3.1.4, and 3.2.x before 3.2.2 allows remote attackers to inject arbitrary web script or HTML via vectors involving a SafeBuffer object that is manipulated through certain methods.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "rubygem-activesupport: XSS in SafeBuffer#[] (unescaped safe buffers can be marked as safe)",
          "title": "Vulnerability summary"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_affected": [
          "red_hat_subscription_asset_manager:rubygem-activesupport.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2012-1098"
        },
        {
          "category": "external",
          "summary": "RHBZ#799275",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=799275"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2012-1098",
          "url": "https://www.cve.org/CVERecord?id=CVE-2012-1098"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2012-1098",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-1098"
        }
      ],
      "release_date": "2012-03-01T00:00:00+00:00",
      "remediations": [
        {
          "category": "none_available",
          "details": "Affected",
          "product_ids": [
            "red_hat_subscription_asset_manager:rubygem-activesupport.src"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 4.3,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
            "version": "2.0"
          },
          "products": [
            "red_hat_subscription_asset_manager:rubygem-activesupport.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate",
          "product_ids": [
            "red_hat_subscription_asset_manager:rubygem-activesupport.src"
          ]
        }
      ],
      "title": "rubygem-activesupport: XSS in SafeBuffer#[] (unescaped safe buffers can be marked as safe)"
    }
  ]
}