Unwinding CVE-2024-29650 - A tale of Javascript source-code review to unravel the mysterious prototype pollution amid of loose defenses!

Unwinding CVE-2024-29650 - A tale of Javascript source-code review to unravel the mysterious prototype pollution amid of loose defenses!

CVEs

9.8 Critical Severity

Screenshots from the blog posts

images/clv6ynlrwuxrt1imx33ejgt2i.jpgimages/clv6ynlrwuxrt1imx33ejgt2i.jpg

Summary

The `@thi.ng/paths` package versions <= `5.1.62` are vulnerable to prototype pollution via `mutIn` and `mutInManyUnsafe` functions. An attacker can manipulate the prototype of an object, potentially leading to the alteration of the behavior of all objects inheriting from the affected prototype by passing specially crafted input to these functions. In this post, we see the vulnerability in action and understand the underlying root cause and the fixes for this issue. In this explorative journey, we learn the skill of reading Javascript and some of its funky and weird expressions (syntactic sugar), giving us a taste of source-code review, in a more practical sense!

Description

@secatgourity

190 posts

Total vcoins

0

Social media links

Comments (0)