Skip to content

Log4Shell (CVE-2021-44228) Secure Coding Case Study#94

Open
dhaanyaGarapati wants to merge 1 commit intomitre:mainfrom
dhaanyaGarapati:main
Open

Log4Shell (CVE-2021-44228) Secure Coding Case Study#94
dhaanyaGarapati wants to merge 1 commit intomitre:mainfrom
dhaanyaGarapati:main

Conversation

@dhaanyaGarapati
Copy link
Copy Markdown

@dhaanyaGarapati dhaanyaGarapati commented Apr 27, 2026

Closes #73

This pull request adds a new secure coding case study for CVE-2021-44228 (Log4Shell) affecting Apache Log4j 2.

The case study follows the MITRE Secure Coding Case Studies style guide and includes:

  • Overview of the vulnerability and its impact
  • Detailed explanation of how the vulnerability works
  • Root cause analysis linked to CWE-917
  • Vulnerable and secure code examples
  • Exploit scenario
  • Fixes introduced by the maintainers
  • A comprehensive Prevention section focused on systemic and practical secure coding practices

This vulnerability demonstrates how evaluating untrusted input in non-obvious components such as logging frameworks can lead to critical security issues.

All references are included and cited appropriately.

I am open to any feedback or suggestions for improvement.

This work has been done by Dhaanya Sai Garapati, under the guidance of Prof. David A. Wheeler, George Mason University.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposal: Case Study on Log4Shell (CVE-2021-44228)

1 participant