EF Core provider: pipeline-form ExecuteUpdate evaluates a user string setter as a $-field reference
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MongoDB | Entity Framework Core Provider | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Mongodb | Entity Framework Core Provider |
|
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.150% probability within 30 days)
| Link | Providers |
|---|---|
| https://jira.mongodb.org/browse/EF-478 |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | The MongoDB Entity Framework Core provider does not neutralize special elements when it places a caller-supplied value into a bulk update that is expressed as a databasea result, a value supplied as plain data may be interpreted by the database as expression syntax. A part value through normal application input may causeunintended modification of fields in the records the application is updating, and may cause data already held in those records to be relocated into other fields of the same record. | The MongoDB Entity Framework Core provider does not neutralize special elements in values passed to SetProperty when an ExecuteUpdate call also contains a setter that reads the entity being updated. In that case the update is sent as an aggregation pipeline, and a caller-supplied string beginning with $ is evaluated as an expression rather than stored as data. A party who can influence such a value may modify or remove fields in the records being updated, or copy other fields of the same record into them. |
| Title | ExecuteUpdate may evaluate caller-supplied values as MongoDB expressions | EF Core provider: pipeline-form ExecuteUpdate evaluates a user string setter as a $-field reference |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Mongodb
Mongodb entity Framework Core Provider |
|
| Vendors & Products |
Mongodb
Mongodb entity Framework Core Provider |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | The MongoDB Entity Framework Core provider does not neutralize special elements when it places a caller-supplied value into a bulk update that is expressed as a databasea result, a value supplied as plain data may be interpreted by the database as expression syntax. A part value through normal application input may causeunintended modification of fields in the records the application is updating, and may cause data already held in those records to be relocated into other fields of the same record. | |
| Title | ExecuteUpdate may evaluate caller-supplied values as MongoDB expressions | |
| Weaknesses | CWE-943 | |
| References |
| |
| Metrics |
cvssV3_1
|