CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 portsAll times are CET
CVE details

CVE-2022-29970

Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.

Score
7.5 high
Published
2022-05-02
Links
NVD · cve.org

Matched ports (1)

PortPackageVersionStatusMaintainer
www/rubygem-sinatra1rubygem-sinatra11.4.8unaddressedsunpoet@FreeBSD.org

Template for a VuXML entry

Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.

  <vuln vid="FIXME (make newentry)">
    <topic>FIXME -- FIXME</topic>
    <affects>
      <package>
	<name>rubygem-sinatra1</name>
	<range><lt>2.2.0</lt></range>
      </package>
    </affects>
    <description>
      <body xmlns="http://www.w3.org/1999/xhtml">
	<p>Sinatra before 2.2.0 does not validate that the expanded path matches
	public_dir when serving static files.</p>
      </body>
    </description>
    <references>
      <cvename>CVE-2022-29970</cvename>
      <url>https://nvd.nist.gov/vuln/detail/CVE-2022-29970</url>
    </references>
    <dates>
      <discovery>2022-05-02</discovery>
      <entry>2026-10-26</entry>
    </dates>
  </vuln>