{"id":"DHI-b73t-osjp-ypuz-umge","summary":"The variance of `RefSwap` and `OptionRefSwap` were incorrect, possibly allowing use-after-free.","details":"The variance of `RefSwap` and `OptionRefSwap` were incorrect, possibly allowing use-after-free.\n\n`OptionRefSwap::into_inner` did not check for null.\n\nThe fix is to make `RefSwap` and `OptionRefSwap` invariant, and to change `OptionRefSwap::into_inner` to return an option.\nIt is available in version 0.1.3.\nIf your project still compiles with 0.1.3 then it is not affected by the unsoundness on version 0.1.2","modified":"2026-11-28T09:30:05.520655061Z","published":"2026-11-17T04:02:57Z","upstream":["RUSTSEC-2026-0528"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-b73t-osjp-ypuz-umge"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0528"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0528.html"},{"type":"WEB","url":"https://github.com/Nitrokey/ref-swap/releases/tag/v0.1.3"}],"affected":[{"package":{"name":"vaultwarden-1","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/vaultwarden-1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.37.3-r0"}]}],"versions":["1.37.3-r0","1.37.4-r0","1.37.5-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-b73t-osjp-ypuz-umge.json"}},{"package":{"name":"vaultwarden-1","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/vaultwarden-1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.37.3-r0"}]}],"versions":["1.37.3-r0","1.37.4-r0","1.37.5-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-b73t-osjp-ypuz-umge.json"}},{"package":{"name":"vaultwarden-1","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/vaultwarden-1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.37.3-0"}]}],"versions":["1.37.3-0","1.37.4-0","1.37.4-1","1.37.5-0","1.37.5-1","1.37.5-10","1.37.5-2","1.37.5-3","1.37.5-4","1.37.5-5","1.37.5-6","1.37.5-7","1.37.5-8","1.37.5-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-b73t-osjp-ypuz-umge.json"}}],"schema_version":"1.9.2"}