Security Operations

A code review finds that an application calls a library function the vendor deprecated because of an unfixable security flaw. The vendor documents a supported replacement. What should the team do?

Show the answer

Correct answerC. Replace each call with the vendor's supported function

AWhy not this: Pinning freezes the version that still contains the deprecated function, so the flaw stays.

BWhy not this: Hiding the warning leaves the unfixable flaw in place and only removes the reminder.

CWhy this is right: The supported replacement is maintained and removes the flawed function from the code.

DWhy not this: Validation may reduce exposure, but the function's own flaw remains and is never patched.

A deprecated function is no longer maintained, so its flaw will never be fixed. Migrating to the supported replacement removes the flawed code path. Input validation is only a compensating control and leaves the unsafe function in use.