Question 380
At fictional Quartzfield Logistics, a software-security team is conducting a DevSecOps security control gate within a practical least-privilege design. The case observation is: A service deserializes signed-in users' cookie objects with a library capable of invoking arbitrary object constructors. The team must select a defensible control or assessment. Which repeatable engineering safeguard would most directly reduce recurrence?
Explanation
Writer-proposed answer: D (UNVERIFIED)
Preliminary individual option explanations — NOT expert validated
Correct Answer
Untrusted serialized data must not be interpreted as executable object graphs. Crafted object markers cannot instantiate arbitrary classes or execute callbacks during parsing.
Incorrect Answers
This response concerns command injection in media conversion. Here, a service deserializes signed-in users' cookie objects with a library capable of invoking arbitrary object constructors. The confirming evidence is: Crafted object markers cannot instantiate arbitrary classes or execute callbacks during parsing.
Mass assignment of protected fields concerns a different operational mechanism. Untrusted serialized data must not be interpreted as executable object graphs.
Focusing on parameterized database queries would leave this problem unresolved: A service deserializes signed-in users' cookie objects with a library capable of invoking arbitrary object constructors.