Bug 1181917 (CVE-2015-1164) - CVE-2015-1164 nodejs-serve-static: Open Redirect
Summary: CVE-2015-1164 nodejs-serve-static: Open Redirect
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2015-1164
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1181918 1181919
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-14 05:02 UTC by Kurt Seifried
Modified: 2020-11-05 10:33 UTC (History)
3 users (show)

Fixed In Version: nodejs-serve-static 1.7.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 02:37:55 UTC
Embargoed:


Attachments (Terms of Use)

Description Kurt Seifried 2015-01-14 05:02:05 UTC
Pierre-Élie Fauché reports:

When using serve-static middleware version < 1.7.2 and it's configured to mount at the root it creates an open redirect on the site.

For example: If a user visits http://example.com//www.google.com/%2e%2e they will be redirected to www.google.com

Recommendations
Update to version 1.7.2 or greater. It also appears that you can set 'redirect: false' option to disable this behavior.

References
https://github.com/expressjs/serve-static/issues/26

Comment 1 Kurt Seifried 2015-01-14 05:02:53 UTC
Created nodejs-serve-static tracking bugs for this issue:

Affects: fedora-all [bug 1181918]
Affects: epel-6 [bug 1181919]

Comment 3 Product Security DevOps Team 2019-06-08 02:37:55 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.