Skip to content

[BUG] [cpprestsdk] Security issue: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #10349

Open
@oneiric

Description

@oneiric

Hi Expert,

Our security check tool codacy (FlawFinder) reported 4 security issues for the code of cpprestsdk.
They are all caused by std::istream::read() function usage .

https://github.com/OpenAPITools/openapi-generator/blob/master/samples/client/petstore/cpp-restsdk/client/ModelBase.cpp#L519

image

image

Would you please fix the security issue in this repo?

Regards,
Alex

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions