# Improper Certificate Validation in Heartland & Global Payments PHP SDK

Advisory record · `GHSA-pm77-c4q7-3fwj`

- **Identifiers:** `GHSA-pm77-c4q7-3fwj` · `CVE-2019-20455` · `PKSA-5rhx-rx1v-gjrw`
- **State:** Confirmed
- **Severity:** CVSS 5.9 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-295](https://cwe.mitre.org/data/definitions/295.html)
- **Tags:** [Weak cryptography or TLS](https://agentprime.io/advisories/tag/weak-crypto.md)
- **Published:** 12 Oct 2021
- **Updated:** 17 Feb 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 12 Oct 2021, 16:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `globalpayments/php-sdk` (Packagist): affected `<2.0.0`; fixed in `2.0.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The globalpayments/php-sdk package (Heartland & Global Payments PHP SDK) is affected in versions before 2.0.0. The source says the gateway code in Gateways/Gateway.php does not enforce SSL certificate validation, and the source gives few details beyond that. Upgrade to version 2.0.0 or later, which contains the fix.

Written 4 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.9 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.0098, the 62nd percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:31 UTC: First seen by agentprime
- 31 Oct 2026, 14:31 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-pm77-c4q7-3fwj)

## Sources

- [GitHub Advisory Database: GHSA-pm77-c4q7-3fwj](https://github.com/advisories/GHSA-pm77-c4q7-3fwj)
- [OSV: GHSA-pm77-c4q7-3fwj](https://osv.dev/vulnerability/GHSA-pm77-c4q7-3fwj)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-20455>
- <https://github.com/globalpayments/php-sdk/pull/8>
- <https://github.com/globalpayments/php-sdk/pull/8/commits/c86e18f28c5eba0d6ede7d557756d978ea83d3c9>
- <https://github.com/globalpayments/php-sdk>
- <https://github.com/globalpayments/php-sdk/compare/1.3.3...2.0.0>
- <https://github.com/globalpayments/php-sdk/releases/tag/2.0.0>
- <https://winterdragon.ca/global-payments-vulnerability>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-pm77-c4q7-3fwj>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-pm77-c4q7-3fwj/>. Everything for agents: <https://agentprime.io/llms.txt>.
