| { |
| "dataType": "CVE_RECORD", |
| "dataVersion": "5.0", |
| "cveMetadata": { |
| "cveId": "CVE-2020-36567" |
| }, |
| "containers": { |
| "cna": { |
| "providerMetadata": { |
| "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc" |
| }, |
| "title": "Arbitrary log line injection in github.com/gin-gonic/gin", |
| "descriptions": [ |
| { |
| "lang": "en", |
| "value": "Unsanitized input in the default logger in github.com/gin-gonic/gin before v1.6.0 allows remote attackers to inject arbitrary log lines." |
| } |
| ], |
| "affected": [ |
| { |
| "vendor": "github.com/gin-gonic/gin", |
| "product": "github.com/gin-gonic/gin", |
| "collectionURL": "https://pkg.go.dev", |
| "packageName": "github.com/gin-gonic/gin", |
| "versions": [ |
| { |
| "version": "0", |
| "lessThan": "1.6.0", |
| "status": "affected", |
| "versionType": "semver" |
| } |
| ], |
| "programRoutines": [ |
| { |
| "name": "LoggerWithConfig" |
| }, |
| { |
| "name": "Default" |
| }, |
| { |
| "name": "Logger" |
| }, |
| { |
| "name": "LoggerWithFormatter" |
| }, |
| { |
| "name": "LoggerWithWriter" |
| } |
| ], |
| "defaultStatus": "unaffected" |
| } |
| ], |
| "problemTypes": [ |
| { |
| "descriptions": [ |
| { |
| "lang": "en", |
| "description": "CWE-117 Improper Output Neutralization for Logs" |
| } |
| ] |
| } |
| ], |
| "references": [ |
| { |
| "url": "https://github.com/gin-gonic/gin/pull/2237" |
| }, |
| { |
| "url": "https://github.com/gin-gonic/gin/commit/a71af9c144f9579f6dbe945341c1df37aaf09c0d" |
| }, |
| { |
| "url": "https://pkg.go.dev/vuln/GO-2020-0001" |
| } |
| ], |
| "credits": [ |
| { |
| "lang": "en", |
| "value": "@thinkerou \u003cthinkerou@gmail.com\u003e" |
| } |
| ] |
| } |
| } |
| } |