morgan vulnerable to Log Forging via unneutralized control characters in :remote-user
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| morgan | morgan | unaffected |
|
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Morgan | Morgan |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-4vj7-5mj6-jm8m | morgan vulnerable to Log Forging via unneutralized control characters in :remote-user |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.332% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-93 | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Morgan
Morgan morgan |
|
| Vendors & Products |
Morgan
Morgan morgan |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Morgan Project
Morgan Project morgan |
|
| CPEs | cpe:2.3:a:morgan_project:morgan:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Morgan Project
Morgan Project morgan |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Impact: The morgan logging middleware's :remote-user token extracts the Basic auth username from the Authorization request header and writes it to the log stream without neutralizing control characters. An unauthenticated attacker can send a crafted Authorization Basic header containing CR or LF bytes to inject forged log lines, breaking the one-request-per-line structure of access logs and enabling log forgery against downstream log consumers. The built-in combined, common, default, and short formats are affected, as well as any custom format that references :remote-user. Affected versions: morgan 1.2.0 through 1.10.1. Patches: upgrade to morgan 1.11.0, which neutralizes control characters in the :remote-user token output. Workarounds: use a custom format string that does not include :remote-user. | |
| Title | morgan vulnerable to Log Forging via unneutralized control characters in :remote-user | |
| Weaknesses | CWE-117 | |
| References |
| |
| Metrics |
cvssV3_1
|