Bu açık internet üzerinden, uzaktan, oturum açmadan, kullanıcının bir şey yapmasına gerek kalmadan istismar edilebilir.
Etkisi sınırlı: verilerin değiştirilmesi.
Açık türü: Hatalı girdi doğrulama.
✨ Yapay zekâ yorumu
Kısa bir reklam izledikten sonra bu açığın sade bir dille yorumu gösterilir. Yapay zekâ hata yapabilir; kararlarınızı resmi kaynaklara göre verin.
Resmi açıklama (İngilizce)
When validating JSON data into a model allowing extra data, the keys of extra data aren't validated against the key type annotated on __pydantic_extra__, resulting in extra data not matching the declared type. This is the case if you define __pydantic_extra__ as e.g. dict[Annotated[str, Field(pattern=r'^x_')], int].
The validate_json_by_iteration() method (in pydantic-core/src/validators/model_fields.rs), used to validate JSON data into models, only validates the values of extra data, and stores the keys as is.
The issue was fixed in commit 4c65dbda9970a488e2ff21c8693fc6f6d70a3358.
Impact: validation bypass, as extra data returned by validation doesn't match the declared type. Affected are applications validating untrusted JSON data into models allowing extra data (with extra='allow'), with a key type annotated on __pydantic_extra__ (e.g. dict[Annotated[str, Field(pattern=...)], int]), using Pydantic from 2.13.0 up to (but excluding) 2.14.2.
Python mode validation isn't affected.
React Router is a router for React. From 7.0.0 until 7.18.5 and 8.5.1, React Router Framework mode contains a prototype pollution vulnerability in data deserialization. Processing attacker-controlled serialized data…
Axios 1.7.6 before 1.21.0 contains a prototype pollution gadget in the fetch adapter signal cleanup in lib/helpers/composeSignals.js that allows attackers to crash Node.js processes. Attackers who pollute…
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Restriction of XML External Entity Reference vulnerability. A low privileged local attacker could potentially exploit…
XML external entity injection (XXE) in the parser for requests to a REST interface. During testing with an authenticated session, the server resolved an external entity and made an HTTP request to an external resource.…
A flaw has been found in agent0ai agent-zero up to 2.16. Affected by this vulnerability is the function InfectionChecker.gate of the file plugins/_infection_check/helpers/checker.py. Executing a manipulation can lead…
A security flaw has been discovered in Aider-AI Aider up to 0.86.2. The impacted element is the function confirm_ask of the file aider/io.py of the component Shell Command Confirmation Handler. The manipulation results…