Advisories

answer-me-with-html through 0.5.0 Symlink Following in Code Block src Embedding

Go Back
severity
low
date
Affecting
  • answer-me-with-html <= 0.5.0

CWE
  • CWE-59 Improper Link Resolution Before File Access ('Link Following')
CVSS
2.0
CVSS V4 Vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Credit
HaiND from the Post and Telecommunication Institute of Technology
Description
answer-me-with-html through 0.5.0 contains a link following vulnerability in the am CLI code block src= embedding, where localPath() checks only path text without resolving symlinks. Attackers can ship a repository with a symlink pointing outside the checkout so am render embeds readable external files into generated HTML, disclosing them when shared.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.