Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Upgrade axios to >= 1.13.5 to address DoS vulnerability (mergeConfig __proto__ handling) #107

Copy link
Copy link
@Kishan-Talaviya-TBS

Description

@Kishan-Talaviya-TBS
Issue body actions

Issue Description
Hello Authorize.Net,

We’ve identified that the SDK relies on a vulnerable version of axios (= 1.8.3), which is affected by a Denial of Service vulnerability related to improper handling of the proto key inside the mergeConfig function.

Vulnerability Summary
In axios versions <= 1.8.3, the mergeConfig implementation crashes with:
TypeError: merge is not a function

when processing configuration objects containing proto as an own enumerable property (e.g., objects created via JSON.parse()).

Impact
Any application using this SDK that:
Accepts user-controlled JSON
Parses it with JSON.parse()
Passes it into axios configuration
may crash due to this issue.
Because this results in process termination, it represents a Denial of Service risk.

Suggested Fix
Please update the axios dependency to:

"dependencies": {
"axios": "^1.13.5"
}

Thank you for maintaining the SDK and for reviewing this security-related dependency update. Please let us know if any additional details are required.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.