VDB
KO
MEDIUM 5.0

GHSA-434r-7c99-hwf3

Nanobot contains a server-side request forgery vulnerability in the web_fetch tool

Quick fix

GHSA-434r-7c99-hwf3 — nanobot-ai: upgrade to the fixed version with the command below.

pip install --upgrade 'nanobot-ai>=0.2.1'

Details

Nanobot prior to version 0.2.1 contains a server-side request forgery vulnerability in the web_fetch tool that allows remote attackers to reach internal or private network hosts by supplying a URL that redirects to a loopback or private address via a 3xx Location header. Attackers can exploit the automatic HTTP redirect following behavior in the httpx library to bypass initial URL validation and cause the runtime to send outbound requests to internal hosts before final resolved URL validation is applied.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / nanobot-ai
Introduced in: 0 Fixed in: 0.2.1
Fix pip install --upgrade 'nanobot-ai>=0.2.1'

References