{"items":[{"id":"NVI-00004053","kind":"vulnerability","title":"propel/propel1 SQL injection possible with limit() on MySQL","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-7g7c-qhf3-x59p"],"plain_summary":"OSV carries this publisher advisory for propel/propel1. 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 1.7.2 for propel/propel1. Confirm the publisher’s latest guidance.","source_ids":["sr-5600233f09a8a62c8c3cf3cb65c3abe4"],"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-5600233f09a8a62c8c3cf3cb65c3abe4","url":"https://github.com/advisories/GHSA-7g7c-qhf3-x59p","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-7g7c-qhf3-x59p","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:59.949Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-5600233f09a8a62c8c3cf3cb65c3abe4"],"technology":"propel/propel1","known_exclusions":[],"conditions_summary":"The limit() query method is susceptible to catastrophic SQL injection with MySQL.\n\nFor example, given a model User for a table users:\n```\nUserQuery::create()->limit('1;DROP TABLE users')->find();\n```\nThis will drop the users table!\n\nThe cause appears to be a lack of integer casting of the limit input in either Criteria::setLimit() or in DBMySQL::applyLimit(). The code comments there seem to imply that casting was avoided due to overflow issues with 32-bit integers.\n\nThis is surprising behavior since one of the primary purposes of an ORM is to prevent basic SQL injection.\n\nThis affects all versions of Propel: 1.x, 2.x, and 3.","public_affected_ranges":["ECOSYSTEM: introduced 1; fixed 1.7.2"]}],"null_published_at":"2026-10-31T22:12:52.615Z","source_updated_at":"2024-12-05T05:39:36.081Z","source_disclosed_at":"2024-05-20T17:36:28.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.949Z"}],"next_cursor":null,"snapshot_revision":"42594"}