{"id":"RUSTSEC-2024-0433","revision":null,"records":[{"revision":"934857c5f9574db6ab581bfd31c9226a","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-4fg7-vxc8-qx5w","aliases":["RUSTSEC-2024-0432","RUSTSEC-2024-0433"],"title":"rage vulnerable to malicious plugin names, recipients, or identities causing arbitrary binary execution","description":"A plugin name containing a path separator may allow an attacker to execute an arbitrary binary.\n\nSuch a plugin name can be provided to the `rage` CLI through an attacker-controlled recipient or identity string, or to the following `age` APIs when the `plugin` feature flag is enabled:\n- [`age::plugin::Identity::from_str`](https://docs.rs/age/0.11.0/age/plugin/struct.Identity.html#impl-FromStr-for-Identity) (or equivalently [`str::parse::<age::plugin::Identity>()`](https://doc.rust-lang.org/stable/core/primitive.str.html#method.parse))\n- [`age::plugin::Identity::default_for_plugin`](https://docs.rs/age/0.11.0/age/plugin/struct.Identity.html#method.default_for_plugin)\n- [`age::plugin::IdentityPluginV1::new`](https://docs.rs/age/0.11.0/age/plugin/struct.IdentityPluginV1.html#method.new)\n- [`age::plugin::Recipient::from_str`](https://docs.rs/age/0.11.0/age/plugin/struct.Recipient.html#impl-FromStr-for-Recipient) (or equivalently [`str::parse::<age::plugin::Recipient>()`](https://doc.rust-lang.org/stable/core/primitive.str.html#method.parse))\n- [`age::plugin::RecipientPluginV1::new`](https://docs.rs/age/0.11.0/age/plugin/struct.RecipientPluginV1.html#method.new)\n\nOn UNIX systems, a directory matching `age-plugin-*` needs to exist in the working directory for the attack to succeed.\n\nThe binary is executed with a single flag, either `--age-plugin=recipient-v1` or `--age-plugin=identity-v1`. The standard input includes the recipient or identity string,  and the random file key (if encrypting) or the header of the file (if decrypting). The format is constrained by the [age-plugin](https://c2sp.org/age-plugin) protocol.\n\nAn equivalent issue was fixed in [the reference Go implementation of age](https://github.com/FiloSottile/age), see advisory [GHSA-32gq-x56h-299c](https://github.com/FiloSottile/age/security/advisories/GHSA-32gq-x56h-299c).\n\nThanks to ⬡-49016 for reporting this issue.","state":0,"publishedAt":"2024-12-18T18:21:55+00:00","modifiedAt":"2026-09-10T03:50:21.2957926+00:00","affected":[{"ecosystem":"crates.io","name":"rage","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.6.0"},{"kind":"fixed","version":"0.6.1"}]}],"versions":["0.6.0"],"rawVersionEvidence":null},{"ecosystem":"crates.io","name":"age","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.6.0"},{"kind":"fixed","version":"0.6.1"}]}],"versions":["0.6.0"],"rawVersionEvidence":null},{"ecosystem":"crates.io","name":"age","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.7.0"},{"kind":"fixed","version":"0.7.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"crates.io","name":"age","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.8.0"},{"kind":"fixed","version":"0.8.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"crates.io","name":"age","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.9.0"},{"kind":"fixed","version":"0.9.3"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"crates.io","name":"age","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.10.0"},{"kind":"fixed","version":"0.10.1"}]}],"versions":["0.10.0"],"rawVersionEvidence":null},{"ecosystem":"crates.io","name":"age","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.11.0"},{"kind":"fixed","version":"0.11.1"}]}],"versions":["0.11.0"],"rawVersionEvidence":null},{"ecosystem":"crates.io","name":"rage","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.7.0"},{"kind":"fixed","version":"0.7.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"crates.io","name":"rage","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.8.0"},{"kind":"fixed","version":"0.8.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"crates.io","name":"rage","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.9.0"},{"kind":"fixed","version":"0.9.3"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"crates.io","name":"rage","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.10.0"},{"kind":"fixed","version":"0.10.1"}]}],"versions":["0.10.0"],"rawVersionEvidence":null},{"ecosystem":"crates.io","name":"rage","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.11.0"},{"kind":"fixed","version":"0.11.1"}]}],"versions":["0.11.0"],"rawVersionEvidence":null}],"metrics":[{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/str4d/rage/security/advisories/GHSA-4fg7-vxc8-qx5w","https://github.com/str4d/rage/commit/703152ecfa86f27952a35b57dd525ed39396a227","https://github.com/str4d/rage","https://rustsec.org/advisories/RUSTSEC-2024-0432.html","https://rustsec.org/advisories/RUSTSEC-2024-0433.html"],"sourceUrl":"https://github.com/advisories/GHSA-4fg7-vxc8-qx5w","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-4fg7-vxc8-qx5w","identifiers":["GHSA-4fg7-vxc8-qx5w","RUSTSEC-2024-0432","RUSTSEC-2024-0433"]},"retained":false,"historicalAffected":[]},{"revision":"8404fb41f0974bf2989a50733b5fc7dd","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2024-0432","aliases":["GHSA-4fg7-vxc8-qx5w","RUSTSEC-2024-0433"],"title":"Malicious plugin names, recipients, or identities can cause arbitrary binary execution","description":"A plugin name containing a path separator may allow an attacker to execute an arbitrary\nbinary.\n\nSuch a plugin name can be provided to the `rage` CLI through an attacker-controlled\nrecipient or identity string, or an attacker-controlled plugin name via the `-j` flag.\n\nOn UNIX systems, a directory matching `age-plugin-*` needs to exist in the working\ndirectory for the attack to succeed.\n\nThe binary is executed with a single flag, either `--age-plugin=recipient-v1` or\n`--age-plugin=identity-v1`. The standard input includes the recipient or identity string,\nand the random file key (if encrypting) or the header of the file (if decrypting). The\nformat is constrained by the [age-plugin](https://c2sp.org/age-plugin) protocol.\n\nAn equivalent issue was fixed in [the reference Go implementation of age](https://github.com/FiloSottile/age),\nsee advisory [GHSA-32gq-x56h-299c](https://github.com/FiloSottile/age/security/advisories/GHSA-32gq-x56h-299c).\n\nThanks to ⬡-49016 for reporting this issue.","state":0,"publishedAt":"2024-12-18T12:00:00+00:00","modifiedAt":"2026-10-12T18:00:02.6659715+00:00","affected":[{"ecosystem":"crates.io","name":"rage","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.6.0"},{"kind":"fixed","version":"0.6.1"},{"kind":"introduced","version":"0.7.0"},{"kind":"fixed","version":"0.7.2"},{"kind":"introduced","version":"0.8.0"},{"kind":"fixed","version":"0.8.2"},{"kind":"introduced","version":"0.9.0"},{"kind":"fixed","version":"0.9.3"},{"kind":"introduced","version":"0.10.0"},{"kind":"fixed","version":"0.10.1"},{"kind":"introduced","version":"0.11.0"},{"kind":"fixed","version":"0.11.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/rage","https://rustsec.org/advisories/RUSTSEC-2024-0432.html","https://github.com/str4d/rage/commit/703152ecfa86f27952a35b57dd525ed39396a227"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2024-0432","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2024-0432","identifiers":["RUSTSEC-2024-0432","GHSA-4fg7-vxc8-qx5w","RUSTSEC-2024-0433"]},"retained":false,"historicalAffected":[]},{"revision":"f7aedd6050e84241a0ecf6add10b5db9","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2024-0433","aliases":["GHSA-4fg7-vxc8-qx5w","RUSTSEC-2024-0432"],"title":"Malicious plugin names, recipients, or identities can cause arbitrary binary execution","description":"A plugin name containing a path separator may allow an attacker to execute an arbitrary\nbinary.\n\nSuch a plugin name can be provided through an attacker-controlled input to the following\n`age` APIs when the `plugin` feature flag is enabled:\n- [`age::plugin::Identity::from_str`](https://docs.rs/age/0.11.0/age/plugin/struct.Identity.html#impl-FromStr-for-Identity)\n  (or equivalently [`str::parse::<age::plugin::Identity>()`](https://doc.rust-lang.org/stable/core/primitive.str.html#method.parse))\n- [`age::plugin::Identity::default_for_plugin`](https://docs.rs/age/0.11.0/age/plugin/struct.Identity.html#method.default_for_plugin)\n- [`age::plugin::IdentityPluginV1::new`](https://docs.rs/age/0.11.0/age/plugin/struct.IdentityPluginV1.html#method.new)\n  (the `plugin_name` argument)\n- [`age::plugin::Recipient::from_str`](https://docs.rs/age/0.11.0/age/plugin/struct.Recipient.html#impl-FromStr-for-Recipient)\n  (or equivalently [`str::parse::<age::plugin::Recipient>()`](https://doc.rust-lang.org/stable/core/primitive.str.html#method.parse))\n- [`age::plugin::RecipientPluginV1::new`](https://docs.rs/age/0.11.0/age/plugin/struct.RecipientPluginV1.html#method.new)\n  (the `plugin_name` argument)\n\nOn UNIX systems, a directory matching `age-plugin-*` needs to exist in the working\ndirectory for the attack to succeed.\n\nThe binary is executed with a single flag, either `--age-plugin=recipient-v1` or\n`--age-plugin=identity-v1`. The standard input includes the recipient or identity string,\nand the random file key (if encrypting) or the header of the file (if decrypting). The\nformat is constrained by the [age-plugin](https://c2sp.org/age-plugin) protocol.\n\nAn equivalent issue was fixed in [the reference Go implementation of age](https://github.com/FiloSottile/age),\nsee advisory [GHSA-32gq-x56h-299c](https://github.com/FiloSottile/age/security/advisories/GHSA-32gq-x56h-299c).\n\nThanks to ⬡-49016 for reporting this issue.","state":0,"publishedAt":"2024-12-18T12:00:00+00:00","modifiedAt":"2026-10-12T18:00:12.4037789+00:00","affected":[{"ecosystem":"crates.io","name":"age","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.6.0"},{"kind":"fixed","version":"0.6.1"},{"kind":"introduced","version":"0.7.0"},{"kind":"fixed","version":"0.7.2"},{"kind":"introduced","version":"0.8.0"},{"kind":"fixed","version":"0.8.2"},{"kind":"introduced","version":"0.9.0"},{"kind":"fixed","version":"0.9.3"},{"kind":"introduced","version":"0.10.0"},{"kind":"fixed","version":"0.10.1"},{"kind":"introduced","version":"0.11.0"},{"kind":"fixed","version":"0.11.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/age","https://rustsec.org/advisories/RUSTSEC-2024-0433.html","https://github.com/str4d/rage/commit/703152ecfa86f27952a35b57dd525ed39396a227"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2024-0433","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2024-0433","identifiers":["RUSTSEC-2024-0433","GHSA-4fg7-vxc8-qx5w","RUSTSEC-2024-0432"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-10T09:21:39.5670180+00:00","complete":true,"records":1773,"lastAttemptAt":"2026-11-10T09:21:39.567018+00:00","lastSuccessAt":"2026-11-10T09:21:39.7230126+00:00","error":null,"lastVerifiedAt":"2026-11-10T09:21:39.7230148+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8859cf40d4337e24bd2f258cc7778fbad01bb24c79d057aaf34cf1dfc6f8917d-8bdcdeeb414e06ff50ed637d818ac25d52680d19f71fc0ebe3f4c4b3f836ed38","complete":true,"records":421927,"lastAttemptAt":"2026-11-10T09:21:38.2251552+00:00","lastSuccessAt":"2026-11-10T09:21:38.1064889+00:00","error":null,"lastVerifiedAt":"2026-11-10T09:21:38.2251552+00:00","snapshotPublishedAt":"2026-11-10T09:20:43+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-2e6a476534094233b48f2f0b6da5cf35","complete":true,"records":13689,"lastAttemptAt":"2026-11-10T09:22:06.7603645+00:00","lastSuccessAt":"2026-11-10T06:05:35.03+00:00","error":null,"lastVerifiedAt":"2026-11-10T06:05:35.03+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13742,"expectedIdentifiers":13742,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-10T09:21:39.5670180+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-10T09:21:39.567018+00:00","lastSuccessAt":"2026-11-10T09:21:39.7239823+00:00","error":null,"lastVerifiedAt":"2026-11-10T09:21:39.7239826+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-31ba7927d759462ab5120f3eef3ca629","complete":false,"records":13695,"lastAttemptAt":"2026-11-10T09:22:06.1277445+00:00","lastSuccessAt":"2026-11-10T09:22:06.124+00:00","error":"100 identifier lookups failed; latest failures include request timeout. Other identifiers were checked independently.","lastVerifiedAt":"2026-11-10T09:22:06.124+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13642,"expectedIdentifiers":13742,"failedIdentifiers":100},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-cdffb4589856378aa42e8d1bd4a6c74e27a180d8160bf764c44715ef760f0a62","complete":true,"records":9932,"lastAttemptAt":"2026-11-10T09:21:39.3678777+00:00","lastSuccessAt":"2026-11-10T00:04:19.8260565+00:00","error":null,"lastVerifiedAt":"2026-11-10T09:21:39.3678777+00:00","snapshotPublishedAt":"2026-11-09T23:48:01+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-26503967ae4379db8f374089589d6e03fb15bd31f820c9e992aaf93840c2236c","complete":true,"records":1971,"lastAttemptAt":"2026-11-10T09:21:39.1274719+00:00","lastSuccessAt":"2026-11-09T21:02:20.472473+00:00","error":null,"lastVerifiedAt":"2026-11-10T09:21:39.1274719+00:00","snapshotPublishedAt":"2026-11-09T20:18:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-94169eec81ea3989aa551092397ff34ae53c104b4a6ce646e1524452e4ab2a39","complete":true,"records":3065,"lastAttemptAt":"2026-11-10T09:21:39.5260038+00:00","lastSuccessAt":"2026-11-10T08:04:45.5923716+00:00","error":null,"lastVerifiedAt":"2026-11-10T09:21:39.5260038+00:00","snapshotPublishedAt":"2026-11-10T06:48:01+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-4331051b0b2d4ccdbdca3aa196b0be3818a465064a4b18dde4cf39c2250eb490","complete":true,"records":231599,"lastAttemptAt":"2026-11-10T09:21:39.251251+00:00","lastSuccessAt":"2026-11-10T08:04:37.1757322+00:00","error":null,"lastVerifiedAt":"2026-11-10T09:21:39.251251+00:00","snapshotPublishedAt":"2026-11-10T07:33:02+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}