← 漏洞与更新

低危漏洞公告Ruby

Addressable::Template#match and #extract take variable names from the URI, so a URI can add or reassign variables

受影响

软件包受影响版本修复版本
rubygems:addressable>= 2.3.0, <= 2.9.22.10.0

Addressable::Template#match and #extract take the name of a variable in a ;, ? or & expression from the URI, not from the template, when the variable isn't exploded. The template /search{?q} matches /search?admin=true and gives {"q" => nil, "admin" => "true"}: the mapping has a variable the template doesn't have, and q is missing its value. The URI can also give its value to another of the template's variables, which takes the first value it's given. /files{;version}/{id} matches /files;id=secr…

在 GitHub Advisory Database 阅读

2026/12/02 08:36,GitHub Advisory Database 发布了“Addressable::Template#match and #extract take variable names from the URI, so a URI can add or reassign variables”(类型:漏洞公告)。严重程度为“低危”(low)。相关技术:Ruby。CVE:CVE-2026-141524。