{"api_version":"1","generated_at":"2026-07-23T09:00:28+00:00","cve":"CVE-2020-4072","urls":{"html":"https://cve.report/CVE-2020-4072","api":"https://cve.report/api/cve/CVE-2020-4072.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-4072","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-4072"},"summary":{"title":"CVE-2020-4072","description":"In generator-jhipster-kotlin version 1.6.0 log entries are created for invalid password reset attempts. As the email is provided by a user and the api is public this can be used by an attacker to forge log entries. This is vulnerable to https://cwe.mitre.org/data/definitions/117.html This problem affects only application generated with jwt or session authentication. Applications using oauth are not vulnerable. This issue has been fixed in version 1.7.0.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2020-06-25 20:15:00","updated_at":"2020-07-10 21:20:00"},"problem_types":["CWE-117"],"metrics":[],"references":[{"url":"https://github.com/jhipster/jhipster-kotlin/commit/426ccab85e7e0da562643200637b99b6a2a99449","name":"https://github.com/jhipster/jhipster-kotlin/commit/426ccab85e7e0da562643200637b99b6a2a99449","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"prevent log forging when doing password reset init request · jhipster/jhipster-kotlin@426ccab · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://owasp.org/www-community/attacks/Log_Injection","name":"https://owasp.org/www-community/attacks/Log_Injection","refsource":"MISC","tags":["Technical Description"],"title":"Log Injection Software Attack | OWASP Foundation","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/jhipster/jhipster-kotlin/security/advisories/GHSA-pfxf-wh96-fvjc","name":"https://github.com/jhipster/jhipster-kotlin/security/advisories/GHSA-pfxf-wh96-fvjc","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"Log Forging Vulnerability · Advisory · jhipster/jhipster-kotlin · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.baeldung.com/jvm-log-forging","name":"https://www.baeldung.com/jvm-log-forging","refsource":"MISC","tags":["Technical Description"],"title":"JVM Log Forging | Baeldung","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-4072","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-4072","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"4072","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"jhipster","cpe5":"generator-jhipster-kotlin","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"4072","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"jhipster","cpe5":"generator-jhipster-kotlin","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-4072","qid":"983181","title":"Nodejs (npm) Security Update for generator-jhipster-kotlin (GHSA-pfxf-wh96-fvjc)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-4072","STATE":"PUBLIC","TITLE":"Log Forging in generator-jhipster-kotlin"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"jhipster-kotlin","version":{"version_data":[{"version_value":"= 1.6.0"}]}}]},"vendor_name":"jhipster"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"In generator-jhipster-kotlin version 1.6.0 log entries are created for invalid password reset attempts. As the email is provided by a user and the api is public this can be used by an attacker to forge log entries. This is vulnerable to https://cwe.mitre.org/data/definitions/117.html This problem affects only application generated with jwt or session authentication. Applications using oauth are not vulnerable. This issue has been fixed in version 1.7.0."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-117 Improper Output Neutralization for Logs"}]}]},"references":{"reference_data":[{"name":"https://github.com/jhipster/jhipster-kotlin/security/advisories/GHSA-pfxf-wh96-fvjc","refsource":"CONFIRM","url":"https://github.com/jhipster/jhipster-kotlin/security/advisories/GHSA-pfxf-wh96-fvjc"},{"name":"https://owasp.org/www-community/attacks/Log_Injection","refsource":"MISC","url":"https://owasp.org/www-community/attacks/Log_Injection"},{"name":"https://www.baeldung.com/jvm-log-forging","refsource":"MISC","url":"https://www.baeldung.com/jvm-log-forging"},{"name":"https://github.com/jhipster/jhipster-kotlin/commit/426ccab85e7e0da562643200637b99b6a2a99449","refsource":"MISC","url":"https://github.com/jhipster/jhipster-kotlin/commit/426ccab85e7e0da562643200637b99b6a2a99449"}]},"source":{"advisory":"GHSA-pfxf-wh96-fvjc","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2020-06-25 20:15:00","lastModifiedDate":"2020-07-10 21:20:00","problem_types":["CWE-117"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":3.9,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:jhipster:generator-jhipster-kotlin:*:*:*:*:*:*:*:*","versionEndExcluding":"1.7.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"4072","Ordinal":"164065","Title":"CVE-2020-4072","CVE":"CVE-2020-4072","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"4072","Ordinal":"1","NoteData":"In generator-jhipster-kotlin version 1.6.0 log entries are created for invalid password reset attempts. As the email is provided by a user and the api is public this can be used by an attacker to forge log entries. This is vulnerable to https://cwe.mitre.org/data/definitions/117.html This problem affects only application generated with jwt or session authentication. Applications using oauth are not vulnerable. This issue has been fixed in version 1.7.0.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"4072","Ordinal":"2","NoteData":"2020-06-25","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"4072","Ordinal":"3","NoteData":"2020-06-25","Type":"Other","Title":"Modified"}]}}}