{"items":[{"id":"NVI-00004363","kind":"vulnerability","title":"Twig has unguarded calls to `__toString()` when nesting an object into an array","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-6377-hfv9-hqf6","CVE-2024-51754"],"plain_summary":"OSV carries this publisher advisory for twig/twig, twig/twig. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 3.11.2 for twig/twig. Confirm the publisher’s latest guidance.","source_ids":["sr-637d3425c30b0e4caad9aead2e8908e8"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 3.14.1 for twig/twig. Confirm the publisher’s latest guidance.","source_ids":["sr-637d3425c30b0e4caad9aead2e8908e8"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-6c2ed8de523a0c7bbfce3a69ec601911"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-06-17T08:06:16.223Z","value":"2.2 LOW (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-6c2ed8de523a0c7bbfce3a69ec601911"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-637d3425c30b0e4caad9aead2e8908e8","url":"https://github.com/advisories/GHSA-6377-hfv9-hqf6","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-6377-hfv9-hqf6","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:59.929Z"},{"id":"sr-6c2ed8de523a0c7bbfce3a69ec601911","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51754","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2024-51754","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T00:59:43.945Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-637d3425c30b0e4caad9aead2e8908e8"],"technology":"twig/twig","known_exclusions":[],"conditions_summary":"### Description\n\nIn a sandbox, an attacker can call `__toString()` on an object even if the `__toString()` method is not allowed by the security policy when the object is part of an array or an argument list (arguments to a function or a filter for instance).\n\n### Resolution\n\nThe sandbox mode now checks the `__toString()` method call on all objects.\n\nThe patch for this issue is available here for the 3.11.x branch, and here for the 3.x branch.\n\n### Credits\n\nWe would like to thank Jamie Schouten for reporting the issue and Fabien Potencier for providing the fix.","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 3.11.2"]},{"certainty":"source_listed","source_ids":["sr-637d3425c30b0e4caad9aead2e8908e8"],"technology":"twig/twig","known_exclusions":[],"conditions_summary":"### Description\n\nIn a sandbox, an attacker can call `__toString()` on an object even if the `__toString()` method is not allowed by the security policy when the object is part of an array or an argument list (arguments to a function or a filter for instance).\n\n### Resolution\n\nThe sandbox mode now checks the `__toString()` method call on all objects.\n\nThe patch for this issue is available here for the 3.11.x branch, and here for the 3.x branch.\n\n### Credits\n\nWe would like to thank Jamie Schouten for reporting the issue and Fabien Potencier for providing the fix.","public_affected_ranges":["ECOSYSTEM: introduced 3.12; fixed 3.14.1"]}],"null_published_at":"2026-11-02T20:21:10.320Z","source_updated_at":"2025-05-29T21:34:35.218Z","source_disclosed_at":"2024-11-06T19:52:31.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:41:59.929Z"},{"id":"NVI-00004363","kind":"vulnerability","title":"Twig has unguarded calls to `__toString()` when nesting an object into an array","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-6377-hfv9-hqf6","CVE-2024-51754"],"plain_summary":"OSV carries this publisher advisory for twig/twig, twig/twig. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 3.11.2 for twig/twig. Confirm the publisher’s latest guidance.","source_ids":["sr-637d3425c30b0e4caad9aead2e8908e8"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 3.14.1 for twig/twig. Confirm the publisher’s latest guidance.","source_ids":["sr-637d3425c30b0e4caad9aead2e8908e8"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-637d3425c30b0e4caad9aead2e8908e8","url":"https://github.com/advisories/GHSA-6377-hfv9-hqf6","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-6377-hfv9-hqf6","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:59.929Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-637d3425c30b0e4caad9aead2e8908e8"],"technology":"twig/twig","known_exclusions":[],"conditions_summary":"### Description\n\nIn a sandbox, an attacker can call `__toString()` on an object even if the `__toString()` method is not allowed by the security policy when the object is part of an array or an argument list (arguments to a function or a filter for instance).\n\n### Resolution\n\nThe sandbox mode now checks the `__toString()` method call on all objects.\n\nThe patch for this issue is available here for the 3.11.x branch, and here for the 3.x branch.\n\n### Credits\n\nWe would like to thank Jamie Schouten for reporting the issue and Fabien Potencier for providing the fix.","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 3.11.2"]},{"certainty":"source_listed","source_ids":["sr-637d3425c30b0e4caad9aead2e8908e8"],"technology":"twig/twig","known_exclusions":[],"conditions_summary":"### Description\n\nIn a sandbox, an attacker can call `__toString()` on an object even if the `__toString()` method is not allowed by the security policy when the object is part of an array or an argument list (arguments to a function or a filter for instance).\n\n### Resolution\n\nThe sandbox mode now checks the `__toString()` method call on all objects.\n\nThe patch for this issue is available here for the 3.11.x branch, and here for the 3.x branch.\n\n### Credits\n\nWe would like to thank Jamie Schouten for reporting the issue and Fabien Potencier for providing the fix.","public_affected_ranges":["ECOSYSTEM: introduced 3.12; fixed 3.14.1"]}],"null_published_at":"2026-10-31T22:12:52.645Z","source_updated_at":"2025-05-29T21:34:35.218Z","source_disclosed_at":"2024-11-06T19:52:31.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:41:59.929Z"}],"next_cursor":null,"snapshot_revision":"42594"}