UBUNTU-CVE-2025-48938

Source
https://ubuntu.com/security/CVE-2025-48938
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48938.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-48938
Related
Published
2025-05-30T19:15:00Z
Modified
2025-06-05T17:10:37Z
Summary
[none]
Details

go-gh is a collection of Go modules to make authoring GitHub CLI extensions easier. A security vulnerability has been identified in versions prior to 2.12.1 where an attacker-controlled GitHub Enterprise Server could result in executing arbitrary commands on a user's machine by replacing HTTP URLs provided by GitHub with local file paths for browsing. In 2.12.1, Browser.Browse() has been enhanced to allow and disallow a variety of scenarios to avoid opening or executing files on the filesystem without unduly impacting HTTP URLs. No known workarounds are available other than upgrading.

References

Affected packages

Ubuntu:24.10 / golang-github-cli-go-gh

Package

Name
golang-github-cli-go-gh
Purl
pkg:deb/ubuntu/golang-github-cli-go-gh@1.2.1-1?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.2.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / golang-github-cli-go-gh-v2

Package

Name
golang-github-cli-go-gh-v2
Purl
pkg:deb/ubuntu/golang-github-cli-go-gh-v2@2.6.0-1ubuntu0.24.10.1?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.6.0-1
2.6.0-1ubuntu0.24.10.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / golang-github-cli-go-gh

Package

Name
golang-github-cli-go-gh
Purl
pkg:deb/ubuntu/golang-github-cli-go-gh@1.2.1-1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.2.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / golang-github-cli-go-gh-v2

Package

Name
golang-github-cli-go-gh-v2
Purl
pkg:deb/ubuntu/golang-github-cli-go-gh-v2@2.6.0-1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.0.0-2
2.3.0-1
2.4.0+git20231120.d32c104-1
2.5.0-1
2.6.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:25.04 / golang-github-cli-go-gh

Package

Name
golang-github-cli-go-gh
Purl
pkg:deb/ubuntu/golang-github-cli-go-gh@1.2.1-2?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.2.1-1
1.2.1-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:25.04 / golang-github-cli-go-gh-v2

Package

Name
golang-github-cli-go-gh-v2
Purl
pkg:deb/ubuntu/golang-github-cli-go-gh-v2@2.6.0-2?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.6.0-1
2.6.0-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}