{"id":3691624,"name":"byte_struct","ecosystem":"cargo","description":"Pack and unpack structure as raw bytes with packed or bit field layout.","homepage":null,"licenses":"MIT OR Apache-2.0","normalized_licenses":["MIT","Apache-2.0"],"repository_url":"https://github.com/wwylele/byte-struct-rs","keywords_array":["bitfield","struct","serialization"],"namespace":null,"versions_count":13,"first_release_published_at":"2019-03-02T02:27:38.143Z","latest_release_published_at":"2023-03-18T14:32:58.354Z","latest_release_number":"0.9.0","last_synced_at":"2026-04-25T21:13:50.796Z","created_at":"2022-04-11T11:31:47.056Z","updated_at":"2026-04-26T11:40:27.570Z","registry_url":"https://crates.io/crates/byte_struct/","install_command":"cargo install byte_struct","documentation_url":"https://docs.rs/byte_struct/","metadata":{"categories":["encoding"]},"repo_metadata":{"id":62438705,"uuid":"173392357","full_name":"wwylele/byte-struct-rs","owner":"wwylele","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-18T14:32:21.000Z","size":43,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-05T12:06:42.521Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wwylele.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-03-02T02:06:25.000Z","updated_at":"2024-07-23T15:39:18.000Z","dependencies_parsed_at":"2025-06-30T03:35:10.102Z","dependency_job_id":"e32c45e5-23db-43dc-b211-6aab8effee39","html_url":"https://github.com/wwylele/byte-struct-rs","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/wwylele/byte-struct-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wwylele","download_url":"https://codeload.github.com/wwylele/byte-struct-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30078442,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T08:01:56.766Z","status":"ssl_error","status_checked_at":"2026-03-04T08:00:42.919Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"wwylele","name":"Weiyi Wang","uuid":"4592895","kind":"user","description":"","email":"","website":null,"location":"Boston, MA","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/4592895?u=d3d1fdfd0bdcef6cb277905999f6a598562f802e\u0026v=4","repositories_count":50,"last_synced_at":"2023-07-31T18:15:19.195Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/wwylele","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-05T12:55:23.122Z","updated_at":"2023-07-31T18:15:19.493Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wwylele","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wwylele/repositories"},"tags":[{"name":"v0.8.0","sha":"4c2843e624901420633c57e9185a8ff5c0fcf600","kind":"commit","published_at":"2022-07-21T22:56:30.000Z","download_url":"https://codeload.github.com/wwylele/byte-struct-rs/tar.gz/v0.8.0","html_url":"https://github.com/wwylele/byte-struct-rs/releases/tag/v0.8.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/wwylele/byte-struct-rs@v0.8.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs/tags/v0.8.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs/tags/v0.8.0/manifests"},{"name":"v0.7.1","sha":"26d0b153ba0bd8c8c9b7757b303684b2b33c8ff7","kind":"commit","published_at":"2021-08-21T16:55:41.000Z","download_url":"https://codeload.github.com/wwylele/byte-struct-rs/tar.gz/v0.7.1","html_url":"https://github.com/wwylele/byte-struct-rs/releases/tag/v0.7.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/wwylele/byte-struct-rs@v0.7.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs/tags/v0.7.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs/tags/v0.7.1/manifests"},{"name":"v0.7.0","sha":"a3e362b0847ba076fbc945ea92127896de57eb69","kind":"commit","published_at":"2021-08-21T14:27:30.000Z","download_url":"https://codeload.github.com/wwylele/byte-struct-rs/tar.gz/v0.7.0","html_url":"https://github.com/wwylele/byte-struct-rs/releases/tag/v0.7.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/wwylele/byte-struct-rs@v0.7.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs/tags/v0.7.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs/tags/v0.7.0/manifests"},{"name":"v0.6.1","sha":"3017c0c464d235008d612a8b7bfbe449e4996fa3","kind":"commit","published_at":"2021-03-02T00:34:34.000Z","download_url":"https://codeload.github.com/wwylele/byte-struct-rs/tar.gz/v0.6.1","html_url":"https://github.com/wwylele/byte-struct-rs/releases/tag/v0.6.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/wwylele/byte-struct-rs@v0.6.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs/tags/v0.6.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs/tags/v0.6.1/manifests"},{"name":"v0.6.0","sha":"9c41996e55bc91557edd6fa6f6a1c07a48c55731","kind":"commit","published_at":"2019-08-24T13:21:36.000Z","download_url":"https://codeload.github.com/wwylele/byte-struct-rs/tar.gz/v0.6.0","html_url":"https://github.com/wwylele/byte-struct-rs/releases/tag/v0.6.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/wwylele/byte-struct-rs@v0.6.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs/tags/v0.6.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs/tags/v0.6.0/manifests"},{"name":"v0.5.0","sha":"d7841de0e90a60aa6e5ccc4dda80b56a31c0b2b8","kind":"commit","published_at":"2019-08-24T12:40:55.000Z","download_url":"https://codeload.github.com/wwylele/byte-struct-rs/tar.gz/v0.5.0","html_url":"https://github.com/wwylele/byte-struct-rs/releases/tag/v0.5.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/wwylele/byte-struct-rs@v0.5.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs/tags/v0.5.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs/tags/v0.5.0/manifests"},{"name":"v0.2","sha":"01b3f431017750c37e7ab8e09684a303120e9c61","kind":"commit","published_at":"2019-03-02T19:02:50.000Z","download_url":"https://codeload.github.com/wwylele/byte-struct-rs/tar.gz/v0.2","html_url":"https://github.com/wwylele/byte-struct-rs/releases/tag/v0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/wwylele/byte-struct-rs@v0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs/tags/v0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs/tags/v0.2/manifests"},{"name":"v0.1","sha":"296979c2983ddade00a06eb38b23fd9fc843964b","kind":"commit","published_at":"2019-03-02T02:24:52.000Z","download_url":"https://codeload.github.com/wwylele/byte-struct-rs/tar.gz/v0.1","html_url":"https://github.com/wwylele/byte-struct-rs/releases/tag/v0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/wwylele/byte-struct-rs@v0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs/tags/v0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs/tags/v0.1/manifests"}]},"repo_metadata_updated_at":"2026-04-25T21:14:06.790Z","dependent_packages_count":1,"downloads":68884,"downloads_period":"total","dependent_repos_count":5,"rankings":{"downloads":7.9722703639514725,"dependent_repos_count":9.842990597604736,"dependent_packages_count":18.1545636242505,"stargazers_count":38.817054521779944,"forks_count":26.352645484620684,"docker_downloads_count":null,"average":20.227904918441467},"purl":"pkg:cargo/byte_struct","advisories":[{"uuid":"MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLThmZ2ctNXY3OC02Zzc2","url":"https://github.com/advisories/GHSA-8fgg-5v78-6g76","title":"Deserializing an array can free uninitialized memory in byte_struct","description":"Byte_struct stack and unpack structure as raw bytes with packed or bit field layout. An issue was discovered in the byte_struct crate before 0.6.1 for Rust. There can be a drop of uninitialized memory if a certain deserialization method panics.","origin":"UNSPECIFIED","severity":"CRITICAL","published_at":"2021-08-25T20:52:03.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":9.8,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","references":["https://nvd.nist.gov/vuln/detail/CVE-2021-28033","https://github.com/wwylele/byte-struct-rs/issues/1","https://rustsec.org/advisories/RUSTSEC-2021-0032.html","https://github.com/wwylele/byte-struct-rs/commit/a535678377de12bc6bc22620c5f59bcc1369f76f","https://github.com/advisories/GHSA-8fgg-5v78-6g76"],"source_kind":"github","identifiers":["GHSA-8fgg-5v78-6g76","CVE-2021-28033"],"repository_url":"https://github.com/wwylele/byte-struct-rs","blast_radius":0.0,"created_at":"2022-12-21T16:12:55.742Z","updated_at":"2026-04-26T11:09:53.696Z","epss_percentage":0.00646,"epss_percentile":0.7051,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLThmZ2ctNXY3OC02Zzc2","html_url":"https://advisories.ecosyste.ms/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLThmZ2ctNXY3OC02Zzc2","packages":[{"ecosystem":"cargo","package_name":"byte_struct","versions":[{"first_patched_version":"0.6.1","vulnerable_version_range":"\u003c 0.6.1"}],"purl":"pkg:cargo/byte_struct","statistics":{"dependent_packages_count":1,"dependent_repos_count":5,"downloads":68884,"downloads_period":"total"},"affected_versions":["0.1.0","0.2.0","0.3.0","0.4.0","0.4.1","0.4.2","0.5.0","0.6.0"],"unaffected_versions":["0.6.1","0.7.0","0.7.1","0.8.0","0.9.0"]}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLThmZ2ctNXY3OC02Zzc2/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/cargo/byte_struct","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/cargo/byte_struct","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/cargo/byte_struct/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-18T01:26:41.431Z","issues_count":3,"pull_requests_count":1,"avg_time_to_close_issue":40335.5,"avg_time_to_close_pull_request":10921.0,"issues_closed_count":2,"pull_requests_closed_count":1,"pull_request_authors_count":1,"issue_authors_count":3,"avg_comments_per_issue":2.0,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":1,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwylele%2Fbyte-struct-rs/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/byte_struct/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/byte_struct/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/byte_struct/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/byte_struct/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/byte_struct/codemeta","maintainers":[{"uuid":"42262","login":"wwylele","name":"Weiyi Wang","email":null,"url":"https://github.com/wwylele","packages_count":3,"html_url":"https://crates.io/users/wwylele","role":null,"created_at":"2022-11-07T17:24:06.822Z","updated_at":"2022-11-07T17:24:06.822Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/maintainers/wwylele/packages"}]}