GHSA-j5fj-rfh6-qj85

Source
https://github.com/advisories/GHSA-j5fj-rfh6-qj85
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/05/GHSA-j5fj-rfh6-qj85/GHSA-j5fj-rfh6-qj85.json
Aliases
Published
2023-05-12T20:55:36Z
Modified
2024-02-16T08:13:26.522263Z
Details

Impact

The secret file stores the user's Planet API authentication information. It should only be accessible by the user, but its permissions allowed the user's group and non-group to read the file as well.

Validation

Check the permissions on the secret file with ls -l ~/.planet.json and ensure that they read as -rw-------

Patches

d71415a8

Workarounds

Set the secret file permissions to only user read/write by hand:

chmod 600 ~/.planet.json
References

Affected packages

PyPI / planet

Package

Name
planet

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
Fixed
2.0.1

Affected versions

0.*

0.0.1
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6

1.*

1.0.0
1.0.1
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
1.3.0
1.3.1
1.3.2
1.4.0
1.4.1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8
1.4.9
1.4.10
1.5.0
1.5.1
1.5.2

2.*

2.0a1
2.0a2
2.0a3
2.0a5.dev0
2.0a5
2.0a6
2.0.0b1
2.0.0rc1
2.0.0rc2
2.0.0